forcefield
Class LJTypeHashMap

java.lang.Object
  extended byforcefield.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

Field Summary
private  int length
           
private  LJType[] store
           
private  int types
           
 
Constructor Summary
LJTypeHashMap(int i, int j)
           
 
Method Summary
 LJType get(int i, int j)
           
private  int index(int i, int j)
           
 void put(int i, int j, LJType lj)
           
 int size()
           
 int types()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

types

private final int types

store

private LJType[] store

length

private final int length
Constructor Detail

LJTypeHashMap

public LJTypeHashMap(int i,
                     int j)
Method Detail

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)