public class StringSetMap
extends LinkedHashMap
Map from string keys to lazily created sets of strings.
| Constructor and description |
|---|
StringSetMap()Creates an empty map. |
StringSetMap(StringSetMap other)Creates a copy of another string-set map. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Set<String> |
get(Object o)Returns the set for the supplied key, creating it if necessary. |
|
public void |
makeTransitiveHull()Expands the relation represented by this map to its transitive closure. |
| Methods inherited from class | Name |
|---|---|
class LinkedHashMap |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getClass, getOrDefault, hashCode, isEmpty, keySet, merge, notify, notifyAll, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, toString, values, wait, wait, wait |
Creates an empty map.
Creates a copy of another string-set map.
other - the map to copyReturns the set for the supplied key, creating it if necessary.
o - the key whose set should be returnedExpands the relation represented by this map to its transitive closure.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.