com.thinkaurelius.titan.diskstorage

## Interface IDBlock

-     public interface IDBlock

  Represents a block of ids. `numIds()` return how many ids are in this block and `getId(long)` retrieves the id at the given position, where the position must be smaller than the number of ids in this block (similar to array access). Any IDBlock implementation must be completely thread-safe.
  Author:
    Matthias Broecheler (me@matthiasb.com)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getId(long index)` Returns the id at the given index.
    `long` | `numIds()` Number of ids in this block.

- - ### Method Detail

    - #### numIds

          long numIds()

      Number of ids in this block.
      Returns:

    - #### getId

          long getId(long index)

      Returns the id at the given index. Index must be non-negative and smaller than `numIds()`.
      Parameters:
        `index` -
      Returns:

Copyright © 2012–2014. All rights reserved.