Constructor | Description |
---|---|
AtomSetSinglet() |
|
AtomSetSinglet(IAtom atom) |
Modifier and Type | Method | Description |
---|---|---|
void |
add(int i,
IAtom iAtom) |
|
boolean |
add(IAtom iAtom) |
|
boolean |
addAll(int i,
java.util.Collection<? extends IAtom> collection) |
|
boolean |
addAll(java.util.Collection<? extends IAtom> collection) |
|
void |
clear() |
|
boolean |
contains(java.lang.Object o) |
|
IAtom |
get(int i) |
Returns the i-th atom, with numbering beginning from 0.
|
int |
indexOf(java.lang.Object o) |
|
boolean |
isEmpty() |
|
java.util.Iterator<IAtom> |
iterator() |
|
int |
lastIndexOf(java.lang.Object o) |
|
IAtom |
remove(int i) |
|
boolean |
remove(java.lang.Object o) |
|
boolean |
removeAll(java.util.Collection<?> collection) |
|
boolean |
retainAll(java.util.Collection<?> collection) |
|
IAtom |
set(int i,
IAtom iAtom) |
|
int |
size() |
|
IAtom[] |
toArray() |
|
java.lang.String |
toString() |
equals, hashCode, listIterator, listIterator, removeRange, subList
public IAtom atom
public AtomSetSinglet()
public AtomSetSinglet(IAtom atom)
public IAtom get(int i)
IAtomList
get
in interface IAtomList
get
in interface java.util.List<IAtom>
get
in class java.util.AbstractList<IAtom>
i
- the index of the desired atom in the list
if i is greater than count-1, throws an IllegalArgumentException.public void add(int i, IAtom iAtom)
public IAtom remove(int i)
public int indexOf(java.lang.Object o)
public int lastIndexOf(java.lang.Object o)
public int size()
public boolean isEmpty()
public boolean contains(java.lang.Object o)
public java.util.Iterator<IAtom> iterator()
public IAtom[] toArray()
public boolean add(IAtom iAtom)
public boolean remove(java.lang.Object o)
public boolean addAll(java.util.Collection<? extends IAtom> collection)
public boolean addAll(int i, java.util.Collection<? extends IAtom> collection)
public boolean removeAll(java.util.Collection<?> collection)
public boolean retainAll(java.util.Collection<?> collection)
public void clear()
public java.lang.String toString()
toString
in class java.util.AbstractCollection<IAtom>