public final class Attributes extends KeyedValues
Represents the 'attributes' element in the metadata. Allows usage specific customization.
ANONYMOUS, HASH_LOAD_FACTOR, MAP_ENTRY_COMPARATOR
Constructor and Description |
---|
Attributes(String usage)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
Attributes |
copy()
Creates a copy of this.
|
boolean |
equals(Object other) |
Attributes |
freeze()
Freezes this.
|
String |
getUsage()
Gets the usage.
|
int |
hashCode() |
String |
toString() |
add, addAll, addObject, areValuesHidden, checkNotFrozen, clear, containsValueKey, frozen, getBoolean, getBoolean, getBoolean, getClassDef, getClassDef, getClassDefs, getDouble, getElapsed, getInt, getInteger, getLong, getLong, getObject, getObjects, getPassword, getString, getString, getStrings, getThisLogger, getType, getValues, getValuesEntries, getValuesKeys, getValuesSize, hashCapacity, isEmpty, isFrozen, isHidden, isMultiple, removeValue, setHidden, setObjects, setValue, setValuesHidden, substitute, thawed
public Attributes(@Nonnull String usage)
usage
- The attributes usage.public Attributes copy()
copy
in class KeyedValues
public boolean equals(Object other)
equals
in class KeyedValues
public Attributes freeze()
freeze
in class KeyedValues
@Nonnull @CheckReturnValue public String getUsage()
public int hashCode()
hashCode
in class KeyedValues
public String toString()
toString
in class KeyedValues
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.