Package zombie.util
Class AbstractIntCollection
java.lang.Object
zombie.util.AbstractIntCollection
- All Implemented Interfaces:
IntCollection
- Direct Known Subclasses:
AbstractIntList
,AbstractIntSet
public abstract class AbstractIntCollection extends java.lang.Object implements IntCollection
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractIntCollection()
-
Method Summary
Modifier and Type Method Description boolean
add(int int1)
boolean
addAll(IntCollection intCollection)
void
clear()
boolean
contains(int int1)
boolean
containsAll(IntCollection intCollection)
boolean
isEmpty()
boolean
remove(int int1)
boolean
removeAll(IntCollection intCollection)
boolean
retainAll(IntCollection intCollection)
int
size()
int[]
toArray()
int[]
toArray(int[] intArray)
java.lang.String
toString()
void
trimToSize()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface zombie.util.IntCollection
equals, hashCode, iterator
-
Constructor Details
-
AbstractIntCollection
protected AbstractIntCollection()
-
-
Method Details
-
add
public boolean add(int int1)- Specified by:
add
in interfaceIntCollection
-
addAll
- Specified by:
addAll
in interfaceIntCollection
-
clear
public void clear()- Specified by:
clear
in interfaceIntCollection
-
contains
public boolean contains(int int1)- Specified by:
contains
in interfaceIntCollection
-
containsAll
- Specified by:
containsAll
in interfaceIntCollection
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceIntCollection
-
remove
public boolean remove(int int1)- Specified by:
remove
in interfaceIntCollection
-
removeAll
- Specified by:
removeAll
in interfaceIntCollection
-
retainAll
- Specified by:
retainAll
in interfaceIntCollection
-
size
public int size()- Specified by:
size
in interfaceIntCollection
-
toArray
public int[] toArray()- Specified by:
toArray
in interfaceIntCollection
-
toArray
public int[] toArray(int[] intArray)- Specified by:
toArray
in interfaceIntCollection
-
trimToSize
public void trimToSize()- Specified by:
trimToSize
in interfaceIntCollection
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-