Package com.mayam.wf.attributes.shared
Class AttributeSet
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<Attribute>
,Collection<Attribute>
,Set<Attribute>
Convenient implementation of Set which itself, given that it is
stripped of generics, can be used as a value class for
Attribute
.- Author:
- Markus MÃ¥rtensson
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeSet
Convenience factory method for producing an AttributeSet based on a variable length argument list ofAttribute
objects.toString()
static AttributeSet
union
(Collection<Attribute>... attributes) Convenience factory method for producing an AttributeSet based on a variable length argument list of collections ofAttribute
objects.Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size, spliterator, toArray, toArray
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
AttributeSet
public AttributeSet()
-
-
Method Details
-
union
Convenience factory method for producing an AttributeSet based on a variable length argument list of collections ofAttribute
objects. -
toString
- Overrides:
toString
in classAbstractCollection<Attribute>