org.apache.ace.range
Class RangeIterator

java.lang.Object
  extended by org.apache.ace.range.RangeIterator

public class RangeIterator
extends Object

Iterates over a SortedRangeSet. Does not exactly implement the Iterator interface because we have long primitives in our collection instead of full-blown objects. This iterator is not thread-safe and results are unpredictable if the underlying set is modified.


Method Summary
 boolean hasNext()
           
 long next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasNext

public boolean hasNext()

next

public long next()


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.