Class CaseInsensitiveTrieMap<V>
java.lang.Object
net.mtrop.doom.struct.trie.AbstractTrie<Map.Entry<String,V>, Character>
 
net.mtrop.doom.struct.trie.AbstractTrieMap<String, V, Character>
net.mtrop.doom.struct.trie.StringTrieMap<V>
net.mtrop.doom.struct.trie.CaseInsensitiveTrieMap<V>
- Type Parameters:
- V- the value type.
An implementation of a Trie that stores strings, case-insensitively.
- Author:
- Matthew Tropiano
- 
Nested Class SummaryNested classes/interfaces inherited from class net.mtrop.doom.struct.trie.AbstractTrieAbstractTrie.Node<V,S>, AbstractTrie.Result<V, S>, AbstractTrie.TrieIterator<V, S> 
- 
Field SummaryFields inherited from class net.mtrop.doom.struct.trie.AbstractTrieroot
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanequalityMethodForKey(String object1, String object2) Determines if two keys are equal.protected Character[]getSegmentsForKey(String value) Creates the segments necessary to find/store values with keys.Methods inherited from class net.mtrop.doom.struct.trie.AbstractTrieMapcontainsKey, equalityMethod, get, getAfterKey, getAfterKey, getBeforeKey, getBeforeKey, getKeysAfterKey, getKeysAfterKey, getKeysBeforeKey, getKeysBeforeKey, getKeyWithRemainderByKey, getKeyWithRemainderByKey, getSegments, getWithRemainderByKey, getWithRemainderByKey, put, removeEntry, searchByKey, toArrayKeys, toArrayValuesMethods inherited from class net.mtrop.doom.struct.trie.AbstractTrieadd, clear, contains, getAfter, getAfter, getBefore, getBefore, getWithRemainder, getWithRemainder, isEmpty, iterator, remove, search, size, toArrayMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Constructor Details- 
CaseInsensitiveTrieMappublic CaseInsensitiveTrieMap()
 
- 
- 
Method Details- 
getSegmentsForKeyDescription copied from class:AbstractTrieMapCreates the segments necessary to find/store values with keys. This should always create the same segments for the same key.- Overrides:
- getSegmentsForKeyin class- StringTrieMap<V>
- Parameters:
- value- the key to generate significant segments for.
- Returns:
- the list of segments for the key.
 
- 
equalityMethodForKeyDescription copied from class:AbstractTrieMapDetermines if two keys are equal. This can be implemented differently in case a map has a different concept of what keys are considered equal.- Overrides:
- equalityMethodForKeyin class- AbstractTrieMap<String, V, Character>
- Parameters:
- object1- the first key.
- object2- the second key.
- Returns:
- true if the keys are considered equal, false otherwise.
 
 
-