org.nlogo.api
Class LogoList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.AbstractSequentialList
              extended by org.nlogo.api.LogoList
All Implemented Interfaces:
Serializable, Iterable, Collection, List

public final class LogoList
extends AbstractSequentialList
implements Serializable

See Also:
Serialized Form

Constructor Summary
LogoList()
           
LogoList(Collection collection)
           
LogoList(int capacity)
           
 
Method Summary
 void add(int index, Object obj)
           
 LogoList butFirst()
           
 LogoList butLast()
           
 Object first()
           
 LogoList fput(Object obj)
           
 Iterator iterator()
           
 ListIterator listIterator(int index)
           
 LogoList logoSublist(int start, int stop)
           
 LogoList lput(Object obj)
           
 LogoList removeItem(int index)
           
 LogoList replaceItem(int index, Object obj)
           
 LogoList reverse()
           
 int size()
           
 
Methods inherited from class java.util.AbstractSequentialList
addAll, get, remove, set
 
Methods inherited from class java.util.AbstractList
add, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

LogoList

public LogoList()

LogoList

public LogoList(int capacity)

LogoList

public LogoList(Collection collection)
Method Detail

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)