@Immutable public static final class BasicArray.BasicEntry extends Object implements Array.Entry
Constructor and Description |
---|
BasicEntry(int index,
Object value) |
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.
|
public BasicEntry(int index, Object value)
public int getIndex()
Array.Entry
getIndex
in interface Array.Entry
public Object getValue()
Array.Entry
getValue
in interface Array.Entry
public int compareTo(Array.Entry o)
compareTo
in interface Comparable<Array.Entry>
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.