anl.aida.data
Class CompatibilityChecker

java.lang.Object
  extended by anl.aida.data.CompatibilityChecker

public class CompatibilityChecker
extends java.lang.Object

Checks the compatibility of Axes.


Nested Class Summary
static class CompatibilityChecker.Result
           
 
Field Summary
private  java.util.List<Axes<? extends CoordAxis>> axesList
           
 
Constructor Summary
CompatibilityChecker()
           
 
Method Summary
 void addAxes(Axes<? extends CoordAxis> axes)
           
 int axesCount()
          Gets the number of axes currently added for checking.
 CompatibilityChecker.Result check()
          Checks the compatibilty of the added Axes and returns the result.
private  boolean isCompatible(CoordAxis axis1, CoordAxis axis2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

axesList

private java.util.List<Axes<? extends CoordAxis>> axesList
Constructor Detail

CompatibilityChecker

public CompatibilityChecker()
Method Detail

addAxes

public void addAxes(Axes<? extends CoordAxis> axes)

isCompatible

private boolean isCompatible(CoordAxis axis1,
                             CoordAxis axis2)

axesCount

public int axesCount()
Gets the number of axes currently added for checking.

Returns:
the number of axes currently added for checking.

check

public CompatibilityChecker.Result check()
Checks the compatibilty of the added Axes and returns the result.

Returns:
the result of the compatibilty check.