org.infinispan.schematic.internal.document

## Class BasicArray.BasicEntry

- java.lang.Object
- - org.infinispan.schematic.internal.document.BasicArray.BasicEntry

- All Implemented Interfaces:
    Comparable<Array.Entry>, Array.Entry
  Enclosing class:
    BasicArray

      @Immutable
      public static final class BasicArray.BasicEntry
      extends Object
      implements Array.Entry

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BasicArray.BasicEntry(int index, Object value)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(Array.Entry o)`
    `int` | `getIndex()` Get the index for this entry.
    `Object` | `getValue()` Get the value for this entry.

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BasicArray.BasicEntry

          public BasicArray.BasicEntry(int index,
                               Object value)

  - ### Method Detail

    - #### getIndex

          public int getIndex()

      Description copied from interface: `Array.Entry`
      Get the index for this entry.
      Specified by:
        `getIndex` in interface `Array.Entry`
      Returns:
        the index

    - #### getValue

          public Object getValue()

      Description copied from interface: `Array.Entry`
      Get the value for this entry.
      Specified by:
        `getValue` in interface `Array.Entry`
      Returns:
        the value

    - #### compareTo

          public int compareTo(Array.Entry o)

      Specified by:
        `compareTo` in interface `Comparable<Array.Entry>`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.