Constructor and Description |
---|
Tags() |
Modifier and Type | Method and Description |
---|---|
Iterator<String> |
iterator()
Returns an iterator over this set of tags.
|
static Tags |
of(Iterable<String> tags)
Constructs a new tag collection containing the given tags.
|
static Tags |
of(String... tags)
Constructs a new tag collection containing the given tags.
|
abstract Set<String> |
tags()
A set representation of this collection of tags.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
@Nonnull public abstract Set<String> tags()
@Nonnull public static final Tags of(Iterable<String> tags)
tags
- tags to place in the tag set@Nonnull public static final Tags of(String... tags)
tags
- tags to place in the tag setCopyright © 2016–2019 CLX Communications. All rights reserved.