Package com.ibm.icu.text
Class AlphabeticIndex.Record<V>
- java.lang.Object
-
- com.ibm.icu.text.AlphabeticIndex.Record<V>
-
- Enclosing class:
- AlphabeticIndex<V>
public static class AlphabeticIndex.Record<V> extends java.lang.Object
A (name, data) pair, to be sorted by name into one of the index buckets. The user data is not used by the index implementation.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
getData()
Get the datajava.lang.CharSequence
getName()
Get the namejava.lang.String
toString()
Standard toString()
-
-
-
Field Detail
-
name
private final java.lang.CharSequence name
-
data
private final V data
-
-
Constructor Detail
-
Record
private Record(java.lang.CharSequence name, V data)
-
-
Method Detail
-
getName
public java.lang.CharSequence getName()
Get the name- Returns:
- the name
-
getData
public V getData()
Get the data- Returns:
- the data
-
toString
public java.lang.String toString()
Standard toString()- Overrides:
toString
in classjava.lang.Object
-
-