NASA - Jet Propulsion Laboratory
    + View the NASA Portal
Search JPL
Jet Propulsion Laboratory Home Earth Solar System Stars & Galaxies Technology
Introduction Background Software Links


healpix.core.base.set
Interface LongRangeIterator


public interface LongRangeIterator

An iterator over ranges which does not require object creation

!!Implementation must return sorted ranges in iterator!!


Method Summary
 long first()
           
 long last()
           
 boolean moveToNext()
          move to next Range in iterator
 

Method Detail

moveToNext

boolean moveToNext()
move to next Range in iterator

Returns:
true if more ranges are in iterator, false if iterator reached end

first

long first()
Returns:
first item in current range (inclusive)
Throws:
NoSuchElementException - if no more elements are found

last

long last()
Returns:
last item in current range (inclusive)
Throws:
NoSuchElementException - if no more elements are found

"Built from revision exported"

Privacy / Copyright
FIRST GOV Contact: NASA Home Page Site Manager:
Webmaster:

CL 03-2650