Class KdNode.KdValueFetcherY
- java.lang.Object
- 
- jadex.extension.envsupport.environment.space2d.KdNode.KdValueFetcherY
 
- 
- All Implemented Interfaces:
- KdNode.IKdValueFetcher
 - Enclosing class:
- KdNode
 
 protected static class KdNode.KdValueFetcherY extends java.lang.Object implements KdNode.IKdValueFetcher Fetcher for the x-axis values.
- 
- 
Field SummaryFields Modifier and Type Field Description protected static java.util.ComparatorCOMPARATORStatic comparator to avoid instantiation overheadstatic KdNode.KdValueFetcherYFETCHERStatic fetcher to avoid instantiation overhead
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedKdValueFetcherY()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Comparator<ISpaceObject>getComparator()Returns a comparator for sorting within the current hyperplane.doublegetValue(IVector2 point)Returns the coordinate value of the current hyperplane.KdNode.IKdValueFetchernextFetcher()Returns the fetcher for the next hyperplane in the tree.
 
- 
- 
- 
Field Detail- 
FETCHERpublic static final KdNode.KdValueFetcherY FETCHER Static fetcher to avoid instantiation overhead
 - 
COMPARATORprotected static final java.util.Comparator COMPARATOR Static comparator to avoid instantiation overhead
 
- 
 - 
Method Detail- 
getValuepublic double getValue(IVector2 point) Returns the coordinate value of the current hyperplane.- Specified by:
- getValuein interface- KdNode.IKdValueFetcher
- Parameters:
- point- The input value.
- Returns:
- Coordinate value of the current hyperplane.
 
 - 
nextFetcherpublic KdNode.IKdValueFetcher nextFetcher() Returns the fetcher for the next hyperplane in the tree.- Specified by:
- nextFetcherin interface- KdNode.IKdValueFetcher
- Returns:
- Fetcher for the next hyperplane in the tree.
 
 - 
getComparatorpublic java.util.Comparator<ISpaceObject> getComparator() Returns a comparator for sorting within the current hyperplane.- Specified by:
- getComparatorin interface- KdNode.IKdValueFetcher
- Returns:
- Comparator for sorting within the current hyperplane.
 
 
- 
 
-