Package com.google.inject.internal.aop
Class ImmutableStringTrie.Overflow
- java.lang.Object
-
- com.google.inject.internal.aop.ImmutableStringTrie.Overflow
-
- All Implemented Interfaces:
java.util.function.ToIntFunction<java.lang.String>
- Enclosing class:
- ImmutableStringTrie
private static final class ImmutableStringTrie.Overflow extends java.lang.Object implements java.util.function.ToIntFunction<java.lang.String>
Immutable trie that delegates searches that lie outside its range to an overflow trie.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.function.ToIntFunction<java.lang.String>
next
private java.lang.String
overflowKey
private ImmutableStringTrie
trie
-
Constructor Summary
Constructors Constructor Description Overflow(char[] data, java.lang.String overflowKey, java.util.function.ToIntFunction<java.lang.String> next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
applyAsInt(java.lang.String key)
-
-
-
Field Detail
-
trie
private final ImmutableStringTrie trie
-
overflowKey
private final java.lang.String overflowKey
-
next
private final java.util.function.ToIntFunction<java.lang.String> next
-
-