java.lang.Object
java.util.Dictionary
java.util.Hashtable
org.openscience.miniJmol.AtomTypeSet
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class AtomTypeSet
- extends java.util.Hashtable
Collection of AtomTypes. No duplicates are allowed. This class is
implemented with Hashtable to allow compatability with Java 1.1.
| Nested classes inherited from class java.util.Hashtable |
|
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Fields inherited from class java.util.Hashtable |
|
|
Method Summary |
(package private) boolean |
add(BaseAtomType at)
Adds the specified AtomType to this set if it is not already
present. |
void |
load(java.io.InputStream input)
Loads AtomTypes from a Reader. |
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
AtomTypeSet
public AtomTypeSet()
add
boolean add(BaseAtomType at)
- Adds the specified AtomType to this set if it is not already
present.
load
public void load(java.io.InputStream input)
throws java.io.IOException
- Loads AtomTypes from a Reader.