public abstract class ListBase<E extends OpenSimObject> extends OpenSimObject implements java.lang.Iterable<E>
Constructor and Description |
---|
ListBase() |
Modifier and Type | Method and Description |
---|---|
void |
add(E obj) |
ListBase<E> |
clone() |
E |
get(int idx) |
java.lang.String |
getPath()
Determine absolute paths of objects within the model hierarchy,
using URI rules for path resolution.
|
java.util.Iterator<E> |
iterator() |
java.util.ArrayList<E> |
objects() |
int |
size() |
getName, getParent, setName, setParent
public void add(E obj)
public int size()
public E get(int idx)
public java.util.ArrayList<E> objects()
public ListBase<E> clone()
clone
in interface Clonable
clone
in class OpenSimObject
public java.lang.String getPath()
OpenSimObject
getPath
in class OpenSimObject
public java.util.Iterator<E> iterator()
iterator
in interface java.lang.Iterable<E extends OpenSimObject>