Created
November 24, 2013 15:13
-
-
Save Jezza/7628266 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private ArrayList<InventoryInstance> tempInv = new ArrayList<InventoryInstance>(); | |
private ArrayList<InventoryInstance> requestedList = new ArrayList<InventoryInstance>(); | |
tempInv.add(new InventoryInstance(stuff blah boring things)); | |
tempInv.removeAll(requestedList); | |
for(InventoryInstance i : tempInv){ | |
System.out.println("Temp: " + i); | |
} | |
for(InventoryInstance i : requestedList){ | |
System.out.println("Temp: " + i); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment