Class TrniPoint

java.lang.Object
  extended by TrniPoint
All Implemented Interfaces:
java.lang.Comparable

public class TrniPoint
extends java.lang.Object
implements java.lang.Comparable

This class allows to sort trni file data.


Constructor Summary
TrniPoint(double cj, double cenerg, int[] ctic)
          Construct a new TrniPoint.
 
Method Summary
 int compareTo(java.lang.Object ctpt)
          Compare J then ENERG.
 double getEnerg()
          Return ENERG.
 double getJ()
          Return J.
 int[] getTic()
          Return ICENT array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrniPoint

public TrniPoint(double cj,
                 double cenerg,
                 int[] ctic)
Construct a new TrniPoint.

Parameters:
cj - J
cenerg - ENERG
ctic - ICENT array
Method Detail

getJ

public double getJ()
Return J.


getEnerg

public double getEnerg()
Return ENERG.


getTic

public int[] getTic()
Return ICENT array.


compareTo

public int compareTo(java.lang.Object ctpt)
Compare J then ENERG.

Specified by:
compareTo in interface java.lang.Comparable
Parameters:
ctpt - the TrniPoint to compare to