org.ujmp.core.collections
Class AbstractList<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<T>
org.ujmp.core.collections.AbstractList<T>
- All Implemented Interfaces:
- Serializable, Iterable<T>, Collection<T>, List<T>
public abstract class AbstractList<T>
- extends AbstractList<T>
- implements Serializable
- See Also:
- Serialized Form
Method Summary |
abstract void |
add(int index,
T element)
|
abstract boolean |
add(T t)
|
abstract T |
get(int index)
|
abstract T |
remove(int index)
|
abstract T |
set(int index,
T element)
|
Methods inherited from class java.util.AbstractList |
addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList |
Methods inherited from class java.util.AbstractCollection |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString |
AbstractList
public AbstractList()
get
public abstract T get(int index)
- Specified by:
get
in interface List<T>
- Specified by:
get
in class AbstractList<T>
add
public abstract boolean add(T t)
- Specified by:
add
in interface Collection<T>
- Specified by:
add
in interface List<T>
- Overrides:
add
in class AbstractList<T>
add
public abstract void add(int index,
T element)
- Specified by:
add
in interface List<T>
- Overrides:
add
in class AbstractList<T>
remove
public abstract T remove(int index)
- Specified by:
remove
in interface List<T>
- Overrides:
remove
in class AbstractList<T>
set
public abstract T set(int index,
T element)
- Specified by:
set
in interface List<T>
- Overrides:
set
in class AbstractList<T>
Copyright © 2010. All Rights Reserved.