Package net.minecraft.util.collection
Class IdList<T>
java.lang.Object
net.minecraft.util.collection.IdList<T>
- All Implemented Interfaces:
Iterable<T>
,IndexedIterable<T>
public class IdList<T> extends Object implements IndexedIterable<T>
-
Field Details
-
nextId
private int nextId -
idMap
-
list
-
-
Constructor Details
-
IdList
public IdList() -
IdList
public IdList(int initialSize)
-
-
Method Details
-
set
-
add
-
getRawId
- Specified by:
getRawId
in interfaceIndexedIterable<T>
-
get
- Specified by:
get
in interfaceIndexedIterable<T>
-
iterator
-
size
public int size()
-