T - public class Bundle<T extends Good> extends TreeSet<T>
World| Constructor and Description |
|---|
Bundle() |
Bundle(Collection<T> allGoods) |
Bundle(T... goods) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T obj) |
boolean |
addAll(Collection<? extends T> c) |
boolean |
equals(Object o)
Returns true if the object to which it is compared to is a Bundle, contains the equals number
of goods, and all goods are equal to a good in this bundle
|
World |
getWorld() |
int |
hashCode() |
String |
itemIds(String deliminator) |
ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, size, spliterator, subSet, subSet, tailSet, tailSetremoveAllcontainsAll, retainAll, toArray, toArray, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitparallelStream, removeIf, streamprotected World world
public Bundle(Collection<T> allGoods)
@SafeVarargs public Bundle(T... goods)
public Bundle()
public int hashCode()
public boolean add(T obj)
public boolean addAll(Collection<? extends T> c)
public World getWorld()
public boolean equals(Object o)
Copyright © 2017. All rights reserved.