Package one.xingyi.core.client
Class JsonResourceList<J,T>
- java.lang.Object
-
- one.xingyi.core.client.JsonResourceList<J,T>
-
- All Implemented Interfaces:
java.lang.Iterable<T>,IResourceList<T>
public class JsonResourceList<J,T> extends java.lang.Object implements IResourceList<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IResourceList<T>append(T t)Tget(int n)java.util.Iterator<T>iterator()intsize()IResourceList<T>withItem(int n, T t)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface one.xingyi.core.client.IResourceList
toList
-
-
-
-
Field Detail
-
mirror
public final J mirror
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfaceIResourceList<J>
-
get
public T get(int n)
- Specified by:
getin interfaceIResourceList<J>
-
withItem
public IResourceList<T> withItem(int n, T t)
- Specified by:
withItemin interfaceIResourceList<J>
-
append
public IResourceList<T> append(T t)
- Specified by:
appendin interfaceIResourceList<J>
-
-