Package org.apache.calcite.util
Class NameMultimap<V>
java.lang.Object
org.apache.calcite.util.NameMultimap<V>
- Type Parameters:
- V- Value type
Multimap whose keys are names and can be accessed with and without case
 sensitivity.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancontainsKey(String name, boolean caseSensitive) Returns whether this map contains a given key, with a given case-sensitivity.booleaninthashCode()map()Returns the underlying map.voidAdds an entry to this multimap.Returns a map containing all the entries in this multimap that match the given name.booleanRemoves all entries that have the given case-sensitive key.toString()
- 
Constructor Details- 
NameMultimappublic NameMultimap()Creates a NameMultimap, initially empty.
 
- 
- 
Method Details- 
toString
- 
hashCodepublic int hashCode()
- 
equals
- 
putAdds an entry to this multimap.
- 
removeRemoves all entries that have the given case-sensitive key.- Returns:
- Whether a value was removed
 
- 
rangeReturns a map containing all the entries in this multimap that match the given name.
- 
containsKeyReturns whether this map contains a given key, with a given case-sensitivity.
- 
mapReturns the underlying map. Its size is the number of keys, not the number of values.
 
-