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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicArray.BasicEntry
public BasicArray.BasicEntry(int index,
Object value)
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-2012 JBoss, a division of Red Hat. All Rights Reserved.