Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Something x = new Something();
- Something y = doSomething(x);
- Something r = x ;
- Something z = r ;
- Something t = doSomething(z); //Got it ;)
- ArrayList<Bohahahaha> arr = new ArrayList<Bohahahaha>();
- arr.add(new Bohahahaha());
- arr.remove(0);
- arr.add(new Bohahahaha());
- arr.add(new Bohahahaha());
- arr.add(new Bohahahaha());
- arr.add(new Bohahahaha());
- arr.add(new Bohahahaha());
- arr.add(new Bohahahaha());
- arr.add(new Bohahahaha());
- ArrayList<Bohahahaha> arrTemp = arr;
- while(!arr.isEmpty())
- {
- arr.remove(0);
- arrTemp.remove(0); //WHY :|
- }
- Something x1 = new Something();
- Something y1 = doSomething(x1);
- Something r1 = x1 ;
- Something z1 = r1 ;
- Something t1 = doSomething(z1); //Got it This Time ;)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement