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 v)voidadd(int index, int v)booleanaddAll(int index, IntCollection c)booleanequals(java.lang.Object obj)inthashCode()intindexOf(int c)intindexOf(int index, int c)IntIteratoriterator()intlastIndexOf(int c)intlastIndexOf(int index, int c)IntListIteratorlistIterator()IntListIteratorlistIterator(int index)intremoveElementAt(int index)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 v)- Specified by:
addin interfaceIntCollection- Overrides:
addin classAbstractIntCollection
-
add
public void add(int index, int v) -
addAll
-
indexOf
public int indexOf(int c) -
indexOf
public int indexOf(int index, int c) -
iterator
- Specified by:
iteratorin interfaceIntCollection
-
lastIndexOf
public int lastIndexOf(int c)- Specified by:
lastIndexOfin interfaceIntList
-
lastIndexOf
public int lastIndexOf(int index, int c)- Specified by:
lastIndexOfin interfaceIntList
-
listIterator
- Specified by:
listIteratorin interfaceIntList
-
listIterator
- Specified by:
listIteratorin interfaceIntList
-
removeElementAt
public int removeElementAt(int index)- Specified by:
removeElementAtin interfaceIntList
-
equals
public boolean equals(java.lang.Object obj)- Specified by:
equalsin interfaceIntCollection- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceIntCollection- Overrides:
hashCodein classjava.lang.Object
-