fiftyone.mobile.detection.entities
Class Node.NodeNumericIndexIterator

java.lang.Object
  extended by fiftyone.mobile.detection.entities.Node.NodeNumericIndexIterator
Enclosing class:
Node

 class Node.NodeNumericIndexIterator
extends Object


Field Summary
private  NodeNumericIndex[] array
           
private  int highIndex
           
private  boolean highInRange
           
private  int lowIndex
           
private  boolean lowInRange
           
private  Range range
           
private  int target
           
 
Constructor Summary
Node.NodeNumericIndexIterator(Range range, NodeNumericIndex[] array, int target, int startIndex)
           
 
Method Summary
(package private)  boolean hasNext()
           
(package private)  NodeNumericIndex next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

array

private final NodeNumericIndex[] array

target

private final int target

range

private final Range range

lowIndex

private int lowIndex

highIndex

private int highIndex

lowInRange

private boolean lowInRange

highInRange

private boolean highInRange
Constructor Detail

Node.NodeNumericIndexIterator

Node.NodeNumericIndexIterator(Range range,
                              NodeNumericIndex[] array,
                              int target,
                              int startIndex)
Parameters:
range - the range of values the iterator can return
array - array of items that could be returned
target - the target value
startIndex - start index in the array
Method Detail

hasNext

boolean hasNext()

next

NodeNumericIndex next()