Class AbstractList.SimpleArrayList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- net.minecraft.client.gui.widget.list.AbstractList.SimpleArrayList
-
- All Implemented Interfaces:
java.lang.Iterable<E>
,java.util.Collection<E>
,java.util.List<E>
- Enclosing class:
- AbstractList<E extends AbstractList.AbstractListEntry<E>>
class AbstractList.SimpleArrayList extends java.util.AbstractList<E>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
SimpleArrayList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int p_add_1_, E p_add_2_)
E
get(int p_get_1_)
E
remove(int p_remove_1_)
E
set(int p_set_1_, E p_set_2_)
int
size()
-
Methods inherited from class java.util.AbstractList
add, 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, toArray, toArray, toString
-
-
-
-
Field Detail
-
delegate
private final java.util.List<E extends AbstractList.AbstractListEntry<E>> delegate
-
-
Method Detail
-
get
public E get(int p_get_1_)
- Specified by:
get
in interfacejava.util.List<E extends AbstractList.AbstractListEntry<E>>
- Specified by:
get
in classjava.util.AbstractList<E extends AbstractList.AbstractListEntry<E>>
-
size
public int size()
- Specified by:
size
in interfacejava.util.Collection<E extends AbstractList.AbstractListEntry<E>>
- Specified by:
size
in interfacejava.util.List<E extends AbstractList.AbstractListEntry<E>>
- Specified by:
size
in classjava.util.AbstractCollection<E extends AbstractList.AbstractListEntry<E>>
-
set
public E set(int p_set_1_, E p_set_2_)
- Specified by:
set
in interfacejava.util.List<E extends AbstractList.AbstractListEntry<E>>
- Overrides:
set
in classjava.util.AbstractList<E extends AbstractList.AbstractListEntry<E>>
-
add
public void add(int p_add_1_, E p_add_2_)
- Specified by:
add
in interfacejava.util.List<E extends AbstractList.AbstractListEntry<E>>
- Overrides:
add
in classjava.util.AbstractList<E extends AbstractList.AbstractListEntry<E>>
-
remove
public E remove(int p_remove_1_)
- Specified by:
remove
in interfacejava.util.List<E extends AbstractList.AbstractListEntry<E>>
- Overrides:
remove
in classjava.util.AbstractList<E extends AbstractList.AbstractListEntry<E>>
-
-