Package de.schmizzolin.yogi
Class IntSet
java.lang.Object
de.schmizzolin.yogi.IntSet
TODO: not a set yet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int i) voidaddAll(Collection<Integer> collection) voidclear()booleancontains(int i) createRetained(IntSet set) booleanisEmpty()iterator()intstatic IntSetstatic IntSetbooleanremove(int remove) voidvoidretain(int count) voidintsize()toString()static IntSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
IntSet
public IntSet() -
IntSet
-
IntSet
-
-
Method Details
-
parseArg
-
parse
-
addAll
-
add
public void add(int i) -
clear
public void clear() -
contains
public boolean contains(int i) -
size
public int size() -
isEmpty
public boolean isEmpty() -
toString
-
union
-
iterator
-
next
-
retain
public void retain(int count) -
retain
-
createRetained
-
removeAll
-
remove
public boolean remove(int remove)
-