org.nlogo.api
Class LogoList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList
org.nlogo.api.LogoList
- All Implemented Interfaces:
- Serializable, Iterable, Collection, List
public final class LogoList
- extends AbstractSequentialList
- implements Serializable
- See Also:
- Serialized Form
LogoList
public LogoList()
LogoList
public LogoList(int capacity)
LogoList
public LogoList(Collection collection)
iterator
public Iterator iterator()
- Specified by:
iterator
in interface Iterable
- Specified by:
iterator
in interface Collection
- Specified by:
iterator
in interface List
- Overrides:
iterator
in class AbstractSequentialList
listIterator
public ListIterator listIterator(int index)
- Specified by:
listIterator
in interface List
- Specified by:
listIterator
in class AbstractSequentialList
size
public int size()
- Specified by:
size
in interface Collection
- Specified by:
size
in interface List
- Specified by:
size
in class AbstractCollection
add
public void add(int index,
Object obj)
- Specified by:
add
in interface List
- Overrides:
add
in class AbstractSequentialList
first
public Object first()
fput
public LogoList fput(Object obj)
lput
public LogoList lput(Object obj)
reverse
public LogoList reverse()
replaceItem
public LogoList replaceItem(int index,
Object obj)
logoSublist
public LogoList logoSublist(int start,
int stop)
butFirst
public LogoList butFirst()
butLast
public LogoList butLast()
removeItem
public LogoList removeItem(int index)