com.hammurapi.store

## Interface OrderedIndex<ST,T extends ST,PK,V,S extends Store<ST,PK,S>>

- Type Parameters:
    `T` -
    `PK` -
  All Superinterfaces:
    Index<ST,T,PK,V,S>, Iterable<T>
  All Known Implementing Classes:
    AbstractIndex

      public interface OrderedIndex<ST,T extends ST,PK,V,S extends Store<ST,PK,S>>
      extends Index<ST,T,PK,V,S>

  Ordered index.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface com.hammurapi.store.Index

      `Index.Type`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Iterable<T>` | `find(V from, V to, boolean fromInclusive, boolean toInclusive)` Finds objects by index range.

    - ### Methods inherited from interface com.hammurapi.store.Index

      `getComparator, getExtractor, getPredicate, getStore, isOrdered, isUnique`

    - ### Methods inherited from interface java.lang.Iterable

      `iterator`

- - ### Method Detail

    - #### find

          Iterable<T> find(V from,
                         V to,
                         boolean fromInclusive,
                         boolean toInclusive)

      Finds objects by index range.
      Parameters:
        `from` - Low index range value.
        `to` - High index range value.
        `fromInclusive` - If true, `from` is included to the range.
        `toInclusive` - If true, `to` is included to the range.
      Returns: