public final class LargePrefixedNameSet extends PrefixedNameSet
PrefixedNameSet
suitable for storing large number
of entries; basically anything above trivially small sets (4 or less).
Notes about usage:
PrefixedName
instances are assumed
interned, so that equality comparison can be done (both for values
stored and keys used)
Constructor and Description |
---|
LargePrefixedNameSet(boolean nsAware,
PrefixedName[] names) |
Modifier and Type | Method and Description |
---|---|
void |
appendNames(StringBuilder sb,
String sep)
Method called by debug/error handling code, to get a list of
all names contained.
|
boolean |
contains(PrefixedName name) |
boolean |
hasMultiple() |
toString, toString
public LargePrefixedNameSet(boolean nsAware, PrefixedName[] names)
public boolean hasMultiple()
hasMultiple
in class PrefixedNameSet
public boolean contains(PrefixedName name)
contains
in class PrefixedNameSet
public void appendNames(StringBuilder sb, String sep)
appendNames
in class PrefixedNameSet
Copyright © 2018 FasterXML. All rights reserved.