|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Bag is an interface for Collections that are just simple Collections.
| Field Summary | |
static Bag |
EMPTY
|
| Method Summary | |
int |
countObjects(java.lang.Object inBag)
Returns the count of objects in the bag. |
boolean |
sameContentsAs(Bag bag)
Returns true if this contains the same numbers of the same objects as bag. |
| Methods inherited from interface java.util.Collection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| Methods inherited from interface net.walend.collection.HasState |
getPrincipleInterface, sameStateAs |
| Field Detail |
public static final Bag EMPTY
| Method Detail |
public int countObjects(java.lang.Object inBag)
public boolean sameContentsAs(Bag bag)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||