Package cds.healpix
Interface HealpixNestedBMOC.CurrentValueAccessor
-
- Enclosing class:
- HealpixNestedBMOC
public static interface HealpixNestedBMOC.CurrentValueAccessorProvides informations on the current element of the BMOC while iterating over it.- Author:
- F.-X. Pineau
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetDepth()Returns the depth of the BMOC element this cursor is pointing at.longgetHash()Returns then hash value of the BMOC element this cursor is pointing at.longgetRawValue()booleanisFull()Returnstrueif the status the BMOC element this cursor is pointing at isHealpixNestedBMOC.Status.FULL.
-
-
-
Method Detail
-
getRawValue
long getRawValue()
- Returns:
- the current BMOC value, encoded in a specific way
-
getDepth
int getDepth()
Returns the depth of the BMOC element this cursor is pointing at.- Returns:
- the depth of the BMOC element this cursor is pointing at.
-
getHash
long getHash()
Returns then hash value of the BMOC element this cursor is pointing at.- Returns:
- then hash value of the BMOC element this cursor is pointing at.
-
isFull
boolean isFull()
Returnstrueif the status the BMOC element this cursor is pointing at isHealpixNestedBMOC.Status.FULL.- Returns:
trueif the status the BMOCtrueif the status the BMOC element this cursor is pointing at isHealpixNestedBMOC.Status.FULLelement this cursor is pointing at isHealpixNestedBMOC.Status.FULL.
-
-