Modifier and Type | Field and Description |
---|---|
protected T |
value |
Modifier and Type | Method and Description |
---|---|
Attributes |
append(Attribute attribute)
Constructs a new
Attributes containing these Attribute s with the given Attribute appended. |
static Attributes |
attributes(Attribute... attributes)
Factory method for making
Attributes . |
static Attributes |
attributes(java.lang.Iterable<Attribute> attributes)
Factory method for making
Attributes . |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.util.Iterator<Attribute> |
iterator() |
java.lang.String |
toString() |
public static Attributes attributes(Attribute... attributes)
Attributes
.attributes
- the Attribute
s that will populate the collection.Attributes
containing the given Attribute
spublic static Attributes attributes(java.lang.Iterable<Attribute> attributes)
Attributes
.attributes
- the Attribute
s that will populate the collection.Attributes
containing the given Attribute
spublic Attributes append(Attribute attribute)
Attributes
containing these Attribute
s with the given Attribute
appended.attribute
- the Attribute
to append.Attributes
containing these Attribute
s with the given Attribute
appended.public java.util.Iterator<Attribute> iterator()
iterator
in interface java.lang.Iterable<Attribute>
public final boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public final java.lang.String toString()
toString
in class java.lang.Object