public interface GridPoint<String,V>
Cube
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String k,
V v)
add one element in properties
|
java.util.Set<Atom> |
getAtomsInTwoClosestMolecules()
get atoms of two closest molecules of a grid point
|
Coord |
getCoordinate()
get the value of coordinate
|
int |
getIndexInCube()
get the index of a grid point in cube
|
java.util.Map<String,V> |
getProperties()
get the value of properties
|
V |
getProperty(String k)
get one element's value in properties by key K
|
java.util.Set<Atom> |
getTwoClosestAtoms()
get two closest atoms in properties
|
java.util.Set<Molecule> |
getTwoClosestMolecules()
get two closest molecules in properties
|
void |
setCoordinate(Coord coordinate)
set the coordinate of a grid point
|
void |
setIndexInCube(int indexInCube)
set the index of a grid point in cube
|
void |
setProperties(java.util.Map<String,V> properties)
set the value of properties
|
void addProperty(String k, V v)
k
- :String , the key(name) of propertyv
- :Object, the value of propertyV getProperty(String k)
k
- String
void setCoordinate(Coord coordinate)
coordinate
- Coord
java.util.Map<String,V> getProperties()
Map
, the key is a Stringvoid setProperties(java.util.Map<String,V> properties)
properties
- : Map
, the key is a Stringint getIndexInCube()
void setIndexInCube(int indexInCube)
indexInCube
- , Integer
java.util.Set<Atom> getTwoClosestAtoms()
Set
of Atoms
Atom
java.util.Set<Molecule> getTwoClosestMolecules()
Set
of Molecules
Molecule