ModeShape Distribution 3.2.0.Final

org.infinispan.schematic.internal.document
Class BasicArray.BasicEntry

java.lang.Object
  extended by 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
BasicArray.BasicEntry(int index, Object value)
           
 
Method Summary
 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>

ModeShape Distribution 3.2.0.Final

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