public interface MocBuilder
You make multiple calls to addTile(int, long), then a call to
 endTiles(), then the MOC is ready to interrogate.
 
In general instances of this interface are not expected to be thread-safe.
| Modifier and Type | Method and Description | 
|---|---|
void | 
addTile(int order,
       long ipix)
Add a numbered tile at a given order. 
 | 
PrimitiveIterator.OfLong | 
createOrderedUniqIterator()
Returns an iterator over the UNIQ values represented by this MOC
 in sequence. 
 | 
void | 
endTiles()
Signal that no further tiles will be added. 
 | 
long[] | 
getOrderCounts()
Returns an array of the number of tiles present at each order
 of the normalised MOC. 
 | 
void addTile(int order,
             long ipix)
order - HEALPix order, in the range 0..29ipix - tile index within the given order,
                in the range 0..12*4^ordervoid endTiles()
long[] getOrderCounts()
createOrderedUniqIterator().
 Should only be called after endTiles() has been called.
PrimitiveIterator.OfLong createOrderedUniqIterator()
Should only be called after endTiles() has been called.
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.