forcefield
Class LJ14HashMap

java.lang.Object
  extended byforcefield.LJ14HashMap

public class LJ14HashMap
extends java.lang.Object

Purpose: The LJ14HashMap class
Description:
The LJ14HashMap class is a map for storing the LJ14 interactions of the particles (atoms) in the system.

Since:
0.1
Version:
0.1, November 2002
Author:
Mika Kastenholz

Field Summary
private  int length
           
private  boolean[] store
           
private  int types
           
 
Constructor Summary
LJ14HashMap()
           
LJ14HashMap(int i, int j)
           
 
Method Summary
 boolean get(int i, int j)
           
private  int index(int i, int j)
           
 void put(int i, int j, boolean status)
           
 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 boolean[] store

length

private final int length
Constructor Detail

LJ14HashMap

public LJ14HashMap()

LJ14HashMap

public LJ14HashMap(int i,
                   int j)
Method Detail

put

public final void put(int i,
                      int j,
                      boolean status)

get

public final boolean get(int i,
                         int j)

size

public final int size()

types

public final int types()

index

private final int index(int i,
                        int j)