Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
jerome.beresford
jerome.beresford's Profile
1
Posts
1
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
Arrays within Classes
[3 Replies]
26-May-2012 11:00 AM
Forum:
Programming Questions
Hi everyone,
I'm trying to pass/parse an array within a class as an argument in another class,
So ideally i'd be able to write (within a class);
void run(Array objectlist){
}
but this doesn't work as "Array" or "array" never seems to be used to specify an array is being created, that being done with;
Object[] objectlist = new Object[10];
If i use the object that holds the array, how can i direct processing to look for the array within the object? eg
void run(ObjectHoldingArray.objectlist myObjectList){
Or alternatively, how can i join two ArrayLists together?
Please let me know if i haven't made myself clear and thanks for any help in advance!
j
«Prev
Next »
Moderate user : jerome.beresford
Forum