Home
last modified time | relevance | path

Searched refs:intToValue (Results 1 – 3 of 3) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DIntMap.java50 private final T[] intToValue; field in IntMap.BasicIntMap
52 private BasicIntMap(T[] intToValue) { in BasicIntMap() argument
53 this.intToValue = intToValue; in BasicIntMap()
57 return intToValue[index]; in get()
61 for (int i = 0; i < intToValue.length; ++i) { in getValueMap()
62 output.put(intToValue[i], i); in getValueMap()
69 for (T item : intToValue) { in approximateStorage()
93 private final int[] intToValue; field in IntMap.CompactStringIntMap
95 private CompactStringIntMap(String data, int[] intToValue) { in CompactStringIntMap() argument
97 this.intToValue = intToValue; in CompactStringIntMap()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTrieMap.java42 protected final V[] intToValue; field in TrieMap
45 protected TrieMap(V[] intToValue, int size) { in TrieMap() argument
46 this.intToValue = intToValue; in TrieMap()
119 private BytesTrieMap(BytesTrie bytesTrie, V[] intToValue, int size) { in BytesTrieMap() argument
120 super(intToValue, size); in BytesTrieMap()
128 return bytesTrie.current().hasValue() ? intToValue[bytesTrie.getValue()] : null; in get()
139 return result.hasValue() ? intToValue[bytesTrie.getValue()] : null; in get()
206 return intToValue[bytesEntry.value]; in getValue()
248 value = intToValue[bytesTrie.getValue()]; in next()
337 private CharsTrieMap(CharsTrie charsTrie, V[] intToValue, int size) { in CharsTrieMap() argument
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieMap.java41 protected final V[] intToValue; field in TrieMap
44 protected TrieMap(V[] intToValue, int size) { in TrieMap() argument
45 this.intToValue = intToValue; in TrieMap()
118 private BytesTrieMap(BytesTrie bytesTrie, V[] intToValue, int size) { in BytesTrieMap() argument
119 super(intToValue, size); in BytesTrieMap()
127 return bytesTrie.current().hasValue() ? intToValue[bytesTrie.getValue()] : null; in get()
138 return result.hasValue() ? intToValue[bytesTrie.getValue()] : null; in get()
205 return intToValue[bytesEntry.value]; in getValue()
247 value = intToValue[bytesTrie.getValue()]; in next()
336 private CharsTrieMap(CharsTrie charsTrie, V[] intToValue, int size) { in CharsTrieMap() argument
[all …]