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 protectedAbstractIntList() -
Method Summary
Modifier and Type Method Description booleanadd(int int1)voidadd(int int1, int int2)booleanaddAll(int int1, IntCollection intCollection)booleanequals(java.lang.Object object)inthashCode()intindexOf(int int1)intindexOf(int int1, int int2)IntIteratoriterator()intlastIndexOf(int int1)intlastIndexOf(int int1, int int2)IntListIteratorlistIterator()IntListIteratorlistIterator(int int1)intremoveElementAt(int int1)Methods inherited from class zombie.util.AbstractIntCollection
addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString, trimToSizeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
addin interfaceIntCollection- Overrides:
addin 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:
iteratorin interfaceIntCollection
-
lastIndexOf
public int lastIndexOf(int int1)- Specified by:
lastIndexOfin interfaceIntList
-
lastIndexOf
public int lastIndexOf(int int1, int int2)- Specified by:
lastIndexOfin interfaceIntList
-
listIterator
- Specified by:
listIteratorin interfaceIntList
-
listIterator
- Specified by:
listIteratorin interfaceIntList
-
removeElementAt
public int removeElementAt(int int1)- Specified by:
removeElementAtin interfaceIntList
-
equals
public boolean equals(java.lang.Object object)- Specified by:
equalsin interfaceIntCollection- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceIntCollection- Overrides:
hashCodein classjava.lang.Object
-