Search:

Type: Posts; User: steel55677

Search: Search took 0.11 seconds.

  1. Replies
    8
    Views
    2,615

    Re: ArrayList question

    Because my teacher wants us to code our own code which means we can't use java's api other than arraylist. we had to make our own arraylist class from array. and i get that, i'm just making a simple...
  2. Replies
    8
    Views
    2,615

    Re: ArrayList question

    I'll go ahead and try that. I think I should be able to implement/extend ArrayList class. Thanks
  3. Replies
    8
    Views
    2,615

    Re: ArrayList question

    Yes, that code is exactly what I want. I want an arraylist of arraylist. But, I don't know how to generate generic arraylist so that the names aren't predefined. The name of the arraylist is whatever...
  4. Replies
    8
    Views
    2,615

    Re: ArrayList question

    Thanks, I tried to do it last night. This is my map currently.

    public class OwnMap<Key,Value>{

    static private Object Key, Value;

    public OwnMap(Object Key, Object Value){
    ...
  5. Replies
    8
    Views
    2,615

    ArrayList question

    Hi,

    How do you create ArrayList for individual items like this:

    Object str = "A"
    ArrayList<Objects> str = new ArrayList<Objects>();

    I'm making my own Hashmap but I don't know how to create...
Results 1 to 5 of 5