| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the entry can be content merged,
false otherwiseTest if the given attributes implies to handle the related entry as a binary file (i.e. if the entry has an -merge or a merge=binary attribute) or if it can be content merged. |
| public boolean | Returns: true if theorg.
contains this keykey of an attribute key)Whether there is an attribute with this key |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public Attribute | Returns: the attribute or nulla key)java. object.Get the attribute with the given key |
| public Collection | |
| public Attribute. | |
| public String | |
| public int | |
| public boolean | Returns: true if the key isorg., false
in all other cases see getValue(String) for the value of
the keya key)java. object.Is this a custom attribute |
| public boolean | Returns: true if the set does not contain any attributesWhether the set of attributes is empty |
| public boolean | Returns: true if the key isorg., false in
all other casesa key)java. object.Whether the attribute is set |
| public boolean | Returns: true if the key isorg., false
in all other casesa key)java. object.Whether the attribute is unset |
| public boolean | Returns: true if the key isorg.,
false in all other casesa key)java. object.Whether the attribute with the given key is unspecified |
| public void | |
| public void | |
| public String |
| map | back to summary |
|---|---|
| private final Map<String, Attribute> map | |
| Attributes | back to summary |
|---|---|
| public Attributes(Attribute... attributes) Creates a new instance
| |
| canBeContentMerged | back to summary |
|---|---|
| public boolean canBeContentMerged() Test if the given attributes implies to handle the related entry as a binary file (i.e. if the entry has an -merge or a merge=binary attribute) or if it can be content merged.
| |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(String key) Whether there is an attribute with this key
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| get | back to summary |
|---|---|
| public Attribute get(String key) Get the attribute with the given key
| |
| getAll | back to summary |
|---|---|
| public Collection Get all attributes
| |
| getState | back to summary |
|---|---|
| public Attribute. Return the state. | |
| getValue | back to summary |
|---|---|
| public String getValue(String key) Get attribute value | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isCustom | back to summary |
|---|---|
| public boolean isCustom(String key) Is this a custom attribute
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Whether the set of attributes is empty
| |
| isSet | back to summary |
|---|---|
| public boolean isSet(String key) Whether the attribute is set
| |
| isUnset | back to summary |
|---|---|
| public boolean isUnset(String key) Whether the attribute is unset
| |
| isUnspecified | back to summary |
|---|---|
| public boolean isUnspecified(String key) Whether the attribute with the given key is unspecified
| |
| put | back to summary |
|---|---|
| public void put(Attribute a) Put an attribute
| |
| remove | back to summary |
|---|---|
| public void remove(String key) Remove attribute with given key
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |