Tagged Questions

Instances of a class share the same set of attributes, yet will typically differ in what those attributes contain. For example, a class "Employee" would describe the attributes common to all instances of the Employee class. For the purposes of the task being solved Employee objects may be generally ...

learn more… | top users | synonyms

0
votes
0answers
5 views

Add instances from an array to another movieclip

I do ActionScript 3.0 programming and I know that very well. I have a project with ActionScript 2.0 and I got a simple problem for adding instances to the stage. In ActionScript 3.0 when I want to add ...
1
vote
1answer
37 views

Implementing >>= in newtype

Let me start from the task I want solve, probably I'm going wrong way. I use Snap framework for toy project, and the main is that it's functions under Snap monad. I need to add my state above it. I ...
0
votes
1answer
19 views

Mongoose instance method is undefined

I defined an instance method with Mongoose to authenticate a rep (user): RepSchema.methods.authenticate = function(password){ return this.encryptPassword(password) === this.hashed_password; }; In ...
1
vote
1answer
34 views

EC2 server, Would a Micro Instance be enough?

I've been developing a website that will import ~12million lines of code per hour (~1GB/Data) into a mySQL database. After looking at different VPS' and then amazon ec2 I was thinking of going with ...
2
votes
6answers
86 views

Instance Vs Object

When we have base and sub class in java, and we instantiate the sub class, we get one instance or two instances? If we get two objects, how many instances we get? Does one instance holds the two ...
1
vote
3answers
55 views

How can i call generic method unknowing instance object type

with this code: World w = new World(); var data = GetData<World>(w); if i get w with reflection and this can be of type World, Ambient, Domention, etc. How can i get GetData ??? I only have ...
0
votes
1answer
22 views

Specifying a named SQL Server instance for nhibernate

I've been making a first attempt to use fluent nHibernate on an ASP.NET MVC 3 application. Because I have multiple instances of SQL Server Express, I've been trying to specify a named instance along ...
0
votes
1answer
33 views

AS3 Flash: How to update custom class instance?

I'm using AS3.0 with Flash (not Flex). I have created a custom class called drawBarChart and have created an instance called BarChart1. var BarChart1 = new drawBarChart(barChartX, barChartY, ...
0
votes
2answers
126 views

Haskell: Num instance of non-concrete type

data Vector a = Vector a a a deriving (Eq, Show) instance Functor Vector where fmap f (Vector x y z) = Vector (f x) (f y) (f z) So far so good. instance Num ((Num a) => Vector a) where ...
2
votes
1answer
23 views

Instance of OWL-class with unionOf (n3)

Suppose i have an OWL-class as following: :picture rdf:type owl:Class ; owl:unionOf(:creator :theme :title :date) . With :creator, :theme, :title and :date either an ...
0
votes
0answers
19 views

WordPress Widget is not saving new instance

I have a very strange issue with the wordpress widget. I am editing an existed wordpress widget form Phomedia theme, and I am trying to add one more instance so I can use it to filter posts. In the ...
0
votes
1answer
22 views

Actionscript 3: Accessing an Instance via String?

This is not necessarily specific to ActionScript 3 but I could not think off the top of my head how you would access an instance via string or even if that is possible. What I have going on is a ...
1
vote
2answers
41 views

Java Outer Class Instance Lifetime

I am lacking understanding of the following: if I create an instance of an inner class using "shorthand," is it a bad idea to access the outer class even though I created no explicit instance of it? ...
0
votes
2answers
64 views

Going to the same “instance” of an Intent/Activity in Android

I have a menu in an Android application, and when I click one of the buttons to start a new activity I want the instance variables to keep their values even if I go back to the menu and start it ...
-3
votes
3answers
45 views

Accessing Instance Variables from Another Class

If you want to get straight to the problem, skip this paragraph. As practice, I am trying to write a Java program that simulates an economy, and to that end wrote a company class. The idea was to ...

1 2 3 4 5 55
15 30 50 per page