Package zombie.util
Class AbstractIntCollection
java.lang.Object
zombie.util.AbstractIntCollection
- All Implemented Interfaces:
IntCollection
- Direct Known Subclasses:
AbstractIntList,AbstractIntSet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(int int1) booleanaddAll(IntCollection intCollection) voidclear()booleancontains(int int1) booleancontainsAll(IntCollection intCollection) booleanisEmpty()booleanremove(int int1) booleanremoveAll(IntCollection intCollection) booleanretainAll(IntCollection intCollection) intsize()int[]toArray()int[]toArray(int[] intArray) toString()voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface zombie.util.IntCollection
equals, hashCode, iterator
-
Constructor Details
-
AbstractIntCollection
protected AbstractIntCollection()
-
-
Method Details
-
add
public boolean add(int int1) - Specified by:
addin interfaceIntCollection
-
addAll
- Specified by:
addAllin interfaceIntCollection
-
clear
public void clear()- Specified by:
clearin interfaceIntCollection
-
contains
public boolean contains(int int1) - Specified by:
containsin interfaceIntCollection
-
containsAll
- Specified by:
containsAllin interfaceIntCollection
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceIntCollection
-
remove
public boolean remove(int int1) - Specified by:
removein interfaceIntCollection
-
removeAll
- Specified by:
removeAllin interfaceIntCollection
-
retainAll
- Specified by:
retainAllin interfaceIntCollection
-
size
public int size()- Specified by:
sizein interfaceIntCollection
-
toArray
public int[] toArray()- Specified by:
toArrayin interfaceIntCollection
-
toArray
public int[] toArray(int[] intArray) - Specified by:
toArrayin interfaceIntCollection
-
trimToSize
public void trimToSize()- Specified by:
trimToSizein interfaceIntCollection
-
toString
-