forcefield
Class LJTypeHashMap
java.lang.Object
forcefield.LJTypeHashMap
- public class LJTypeHashMap
- extends java.lang.Object
- Purpose: The LJTypeHashMap class
-
- Description:
- The LJTypeHashMap class is a map for storing the Lennard-Jones parameters
of the particles (atoms) in the system.
- Since:
- 0.1
- Version:
- 0.1, November 2002
- Author:
- Mika Kastenholz
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
types
private final int types
store
private LJType[] store
length
private final int length
LJTypeHashMap
public LJTypeHashMap(int i,
int j)
put
public final void put(int i,
int j,
LJType lj)
get
public final LJType get(int i,
int j)
size
public final int size()
types
public final int types()
index
private final int index(int i,
int j)