Added in API level 24

AlphabeticIndex.Record


public static class AlphabeticIndex.Record
extends Object

java.lang.Object
   ↳ android.icu.text.AlphabeticIndex.Record<V>


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.

Summary

Public methods

V getData()

Get the data

CharSequence getName()

Get the name

String toString()

Standard toString()

Inherited methods

Public methods

getData

Added in API level 24
public V getData ()

Get the data

Returns
V the data

getName

Added in API level 24
public CharSequence getName ()

Get the name

Returns
CharSequence the name

toString

Added in API level 24
public String toString ()

Standard toString()

Returns
String a string representation of the object.