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

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

- ## Uses of NumberRangePrefixTree.UnitNRShape in org.apache.lucene.spatial.prefix

  Fields in org.apache.lucene.spatial.prefix with type parameters of type NumberRangePrefixTree.UnitNRShape
  Modifier and Type
  Field
  Description
  `final SortedMap<NumberRangePrefixTree.UnitNRShape,NumberRangePrefixTreeStrategy.Facets.FacetParentVal>`
  NumberRangePrefixTreeStrategy.Facets.`parents`
  Holds all the `NumberRangePrefixTreeStrategy.Facets.FacetParentVal` instances in order of the key.
  Methods in org.apache.lucene.spatial.prefix with parameters of type NumberRangePrefixTree.UnitNRShape
  Modifier and Type
  Method
  Description
  `NumberRangePrefixTreeStrategy.Facets`
  NumberRangePrefixTreeStrategy.`calcFacets(IndexReaderContext context, Bits topAcceptDocs, NumberRangePrefixTree.UnitNRShape start, NumberRangePrefixTree.UnitNRShape end)`
  Calculates facets between `start` and `end` to a detail level one greater than that provided by the arguments.

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

  Classes in org.apache.lucene.spatial.prefix.tree that implement NumberRangePrefixTree.UnitNRShape
  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.
  Methods in org.apache.lucene.spatial.prefix.tree that return NumberRangePrefixTree.UnitNRShape
  Modifier and Type
  Method
  Description
  `NumberRangePrefixTree.UnitNRShape`
  NumberRangePrefixTree.NRCell.`clone()`
  `NumberRangePrefixTree.UnitNRShape`
  NumberRangePrefixTree.UnitNRShape.`clone()`
  Deep clone
  `NumberRangePrefixTree.UnitNRShape`
  NumberRangePrefixTree.SpanUnitsNRShape.`getMaxUnit()`
  `NumberRangePrefixTree.UnitNRShape`
  NumberRangePrefixTree.SpanUnitsNRShape.`getMinUnit()`
  `NumberRangePrefixTree.UnitNRShape`
  NumberRangePrefixTree.NRCell.`getShape()`
  `NumberRangePrefixTree.UnitNRShape`
  NumberRangePrefixTree.UnitNRShape.`getShapeAtLevel(int level)`
  Gets an ancestor at the specified level.
  `protected NumberRangePrefixTree.UnitNRShape`
  DateRangePrefixTree.`parseUnitShape(String str)`
  `protected abstract NumberRangePrefixTree.UnitNRShape`
  NumberRangePrefixTree.`parseUnitShape(String str)`
  Parse a String to a UnitNRShape.
  `NumberRangePrefixTree.UnitNRShape`
  NumberRangePrefixTree.NRCell.`roundToLevel(int targetLevel)`
  `NumberRangePrefixTree.UnitNRShape`
  NumberRangePrefixTree.UnitNRShape.`roundToLevel(int targetLevel)`
  `NumberRangePrefixTree.UnitNRShape`
  DateRangePrefixTree.`toShape(Calendar cal)`
  Converts the Calendar into a Shape.
  `protected NumberRangePrefixTree.UnitNRShape`
  NumberRangePrefixTree.`toShape(int[] valStack, int len)`
  `NumberRangePrefixTree.UnitNRShape`
  DateRangePrefixTree.`toUnitShape(Object value)`
  Converts `value` from a `Calendar` or `Date` to a `Shape`.
  `abstract NumberRangePrefixTree.UnitNRShape`
  NumberRangePrefixTree.`toUnitShape(Object value)`
  Converts the value to a unit shape.
  Methods in org.apache.lucene.spatial.prefix.tree with parameters of type NumberRangePrefixTree.UnitNRShape
  Modifier and Type
  Method
  Description
  `protected static int`
  NumberRangePrefixTree.`comparePrefix(NumberRangePrefixTree.UnitNRShape a, NumberRangePrefixTree.UnitNRShape b)`
  Compares a to b, returning less than 0, 0, or greater than 0, if a is less than, equal to, or greater than b, respectively, up to their common prefix (i.e.
  `int`
  NumberRangePrefixTree.NRCell.`compareTo(NumberRangePrefixTree.UnitNRShape o)`
  `int`
  DateRangePrefixTree.`getNumSubCells(NumberRangePrefixTree.UnitNRShape lv)`
  `int`
  NumberRangePrefixTree.`getNumSubCells(NumberRangePrefixTree.UnitNRShape lv)`
  Returns the number of sub-cells beneath the given UnitNRShape.
  `org.locationtech.spatial4j.shape.SpatialRelation`
  NumberRangePrefixTree.NRCell.`relate(NumberRangePrefixTree.UnitNRShape lv)`
  `Calendar`
  DateRangePrefixTree.`toCalendar(NumberRangePrefixTree.UnitNRShape lv)`
  Converts the `NumberRangePrefixTree.UnitNRShape` shape to a corresponding Calendar that is cleared below its level.
  `Object`
  DateRangePrefixTree.`toObject(NumberRangePrefixTree.UnitNRShape shape)`
  Calls `DateRangePrefixTree.toCalendar(org.apache.lucene.spatial.prefix.tree.NumberRangePrefixTree.UnitNRShape)`.
  `abstract Object`
  NumberRangePrefixTree.`toObject(NumberRangePrefixTree.UnitNRShape shape)`
  Converts a UnitNRShape shape to the corresponding type supported by this class, such as a Calendar/BigDecimal.
  `NumberRangePrefixTree.NRShape`
  NumberRangePrefixTree.`toRangeShape(NumberRangePrefixTree.UnitNRShape startUnit, NumberRangePrefixTree.UnitNRShape endUnit)`
  Returns a shape that represents the continuous range between `start` and `end`.
  `protected String`
  DateRangePrefixTree.`toString(NumberRangePrefixTree.UnitNRShape lv)`
  `protected abstract String`
  NumberRangePrefixTree.`toString(NumberRangePrefixTree.UnitNRShape lv)`
  A string representation of the UnitNRShape that is parse-able by `NumberRangePrefixTree.parseUnitShape(String)`.
  `protected static String`
  NumberRangePrefixTree.`toStringUnitRaw(NumberRangePrefixTree.UnitNRShape lv)`