public abstract class SetBase<E extends OpenSimObject> extends OpenSimObject implements java.lang.Iterable<E>
Constructor and Description |
---|
SetBase() |
Modifier and Type | Method and Description |
---|---|
void |
add(E obj) |
void |
addGroup(ObjectGroup group) |
SetBase<E> |
clone() |
E |
get(int idx) |
ObjectGroup |
getGroup(int idx) |
java.util.ArrayList<ObjectGroup> |
groups() |
java.util.Iterator<E> |
iterator() |
int |
numGroups() |
java.util.ArrayList<E> |
objects() |
int |
size() |
getName, getParent, getPath, setName, setParent
public void add(E obj)
public int size()
public E get(int idx)
public java.util.ArrayList<E> objects()
public void addGroup(ObjectGroup group)
public java.util.ArrayList<ObjectGroup> groups()
public int numGroups()
public ObjectGroup getGroup(int idx)
public SetBase<E> clone()
clone
in interface Clonable
clone
in class OpenSimObject
public java.util.Iterator<E> iterator()
iterator
in interface java.lang.Iterable<E extends OpenSimObject>