T
- public interface IAtomsCollection<T extends java.lang.Comparable<T>>
Modifier and Type | Method and Description |
---|---|
void |
addRate(T atom) |
void |
clear()
Used to recompute the collection.
|
double |
getTotalRate(byte process) |
void |
insert(T atom) |
boolean |
isEmpty() |
java.util.Iterator<T> |
iterator() |
void |
populate() |
T |
randomElement()
Chooses a random atom or island.
|
void |
recomputeTotalRate(byte process) |
void |
remove(T atom) |
void |
removeAtomRate(T atom)
Removes atom's rate, with its old desorption rate and sets to zero.
|
void |
reset()
Used to empty the collection.
|
T |
search(T atom) |
int |
size() |
void |
updateRate(T atom,
double diff) |
void insert(T atom)
void addRate(T atom)
void remove(T atom)
void removeAtomRate(T atom)
atom
- void updateRate(T atom, double diff)
void populate()
double getTotalRate(byte process)
void recomputeTotalRate(byte process)
void clear()
void reset()
T randomElement()
java.util.Iterator<T> iterator()
int size()
boolean isEmpty()