org.apache.directory.mavibot.btree

## Class RevisionOffset

- java.lang.Object
- - org.apache.directory.mavibot.btree.RevisionOffset

-     public class RevisionOffset
      extends Object

  A class to hold name, revision, and copied page offsets of a B-Tree.
  Author:
    Apache Directory Project

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RevisionOffset(long revision, long[] offsets)` Creates a new instance of RevisionOffset.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `long[]` | `getOffsets()`
    `long` | `getRevision()`
    `int` | `hashCode()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### RevisionOffset

          public RevisionOffset(long revision,
                        long[] offsets)

      Creates a new instance of RevisionOffset.
      Parameters:
        `revision` - the revision number
        `offsets` - array of copied page offsets

  - ### Method Detail

    - #### getRevision

          public long getRevision()

    - #### getOffsets

          public long[] getOffsets()

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2012–2015 Apache Mavibot Project Parent. All rights reserved.