SHARE
TWEET

Untitled

a guest Jan 20th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. List<Item> items = new LinkedList<Item>();
  2.         for (Item i : Inventory.getItems()) {
  3.             if (items.contains(i))
  4.                 continue;
  5.             else
  6.                 items.add(i);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top