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