# Uses of Interface
org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.NRShape

Packages that use NumberRangePrefixTree.NRShape
Package
Description
org.apache.lucene.spatial.prefix.tree
This package is about SpatialPrefixTree and any supporting classes.

## Uses of NumberRangePrefixTree.NRShape in org.apache.lucene.spatial.prefix.tree

Subinterfaces of NumberRangePrefixTree.NRShape in org.apache.lucene.spatial.prefix.tree
Modifier and Type
Interface
Description
`static interface`
`NumberRangePrefixTree.UnitNRShape`
A unit value Shape implemented as a stack of numbers, one for each level in the prefix tree.
Classes in org.apache.lucene.spatial.prefix.tree that implement NumberRangePrefixTree.NRShape
Modifier and Type
Class
Description
`protected class`
`NumberRangePrefixTree.NRCell`
Most of the PrefixTree implementation is in this one class, which is both the Cell, the CellIterator, and the Shape to reduce object allocation.
`class`
`NumberRangePrefixTree.SpanUnitsNRShape`
A range Shape; based on a pair of `NumberRangePrefixTree.UnitNRShape`.
Methods in org.apache.lucene.spatial.prefix.tree that return NumberRangePrefixTree.NRShape
Modifier and Type
Method
Description
`NumberRangePrefixTree.NRShape`
NumberRangePrefixTree.`parseShape(String str)`
Detects a range pattern and parses it, otherwise it's parsed as one shape via `NumberRangePrefixTree.parseUnitShape(String)`.
`NumberRangePrefixTree.NRShape`
NumberRangePrefixTree.NRShape.`roundToLevel(int targetLevel)`
Returns this shape rounded to the target level.
`NumberRangePrefixTree.NRShape`
NumberRangePrefixTree.SpanUnitsNRShape.`roundToLevel(int targetLevel)`
`NumberRangePrefixTree.NRShape`
NumberRangePrefixTree.`toRangeShape(NumberRangePrefixTree.UnitNRShape startUnit, NumberRangePrefixTree.UnitNRShape endUnit)`
Returns a shape that represents the continuous range between `start` and `end`.