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 | Description |
|---|---|
LargePrefixedNameSet(boolean nsAware,
PrefixedName[] names) |
| Modifier and Type | Method | 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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoString, toStringpublic LargePrefixedNameSet(boolean nsAware,
PrefixedName[] names)
public boolean hasMultiple()
hasMultiple in class PrefixedNameSetpublic boolean contains(PrefixedName name)
contains in class PrefixedNameSetpublic void appendNames(StringBuilder sb, String sep)
appendNames in class PrefixedNameSetCopyright © 2019 FasterXML. All rights reserved.