Class ResStringTable

java.lang.Object
icyllis.modernui.resources.ResStringTable

public class ResStringTable extends Object
Use an open-addressing and linear probing hash table to represent a set of strings, for deduplication and mapping from string to index (not dense) and vice versa. Although the index is not dense, the hash lookup is faster than binary search, because string comparisons are not that fast.