All pastes #255207 Raw Edit

Untitled

public text v1 · immutable
#255207 ·published 2006-11-22 19:17 UTC
rendered paste body
public class X{
   Vector<Integer> collection = new Vector<Integer>();
   public void Add(int number){
      collection.add(number);
   }
}

public class X{
   Vector<Integer> x = new Vector<Integer>();
   public static void Add(X x, int number){
      x.collection.add(number);
   }
}