Class ICUResourceBundleReader.Table
java.lang.Object
com.ibm.icu.impl.ICUResourceBundleReader.Container
com.ibm.icu.impl.ICUResourceBundleReader.Table
- All Implemented Interfaces:
UResource.Table
- Direct Known Subclasses:
ICUResourceBundleReader.Table16, ICUResourceBundleReader.Table1632, ICUResourceBundleReader.Table32
- Enclosing class:
ICUResourceBundleReader
static class ICUResourceBundleReader.Table
extends ICUResourceBundleReader.Container
implements UResource.Table
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int[]protected char[]private static final intFields inherited from class ICUResourceBundleReader.Container
itemsOffset, size -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) intfindTableItem(ICUResourceBundleReader reader, CharSequence key) booleanfindValue(CharSequence key, UResource.Value value) (package private) StringgetKey(ICUResourceBundleReader reader, int index) booleangetKeyAndValue(int i, UResource.Key key, UResource.Value value) (package private) intgetResource(ICUResourceBundleReader reader, String resKey) Methods inherited from class ICUResourceBundleReader.Container
getContainer16Resource, getContainer32Resource, getContainerResource, getSizeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface UResource.Table
getSize
-
Field Details
-
keyOffsets
protected char[] keyOffsets -
key32Offsets
protected int[] key32Offsets -
URESDATA_ITEM_NOT_FOUND
private static final int URESDATA_ITEM_NOT_FOUND- See Also:
-
-
Constructor Details
-
Table
Table()
-
-
Method Details
-
getKey
-
findTableItem
-
getResource
- Overrides:
getResourcein classICUResourceBundleReader.Container
-
getKeyAndValue
- Specified by:
getKeyAndValuein interfaceUResource.Table- Parameters:
i- Table item index.key- Output-only, receives the key of the i'th item.value- Output-only, receives the value of the i'th item.- Returns:
- true if i is non-negative and less than getSize().
-
findValue
- Specified by:
findValuein interfaceUResource.Table- Parameters:
key- Key string to find in the table.value- Output-only, receives the value of the item with that key.- Returns:
- true if the table contains the key.
-