Package com.ibm.icu.impl
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 int
Fields inherited from class com.ibm.icu.impl.ICUResourceBundleReader.Container
itemsOffset, size
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) int
findTableItem
(ICUResourceBundleReader reader, CharSequence key) boolean
findValue
(CharSequence key, UResource.Value value) (package private) String
getKey
(ICUResourceBundleReader reader, int index) boolean
getKeyAndValue
(int i, UResource.Key key, UResource.Value value) (package private) int
getResource
(ICUResourceBundleReader reader, String resKey) Methods inherited from class com.ibm.icu.impl.ICUResourceBundleReader.Container
getContainer16Resource, getContainer32Resource, getContainerResource, getSize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.ibm.icu.impl.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:
getResource
in classICUResourceBundleReader.Container
-
getKeyAndValue
- Specified by:
getKeyAndValue
in 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:
findValue
in 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.
-