public interface Taggable
Modifier and Type | Method and Description |
---|---|
Collection<Tag> |
getTags()
|
<T extends Tag> |
getTags(Class<T> classTag)
Returns the collection of the given class of this
Taggable . |
boolean |
isTaggedAs(Collection<Tag> tags)
Checks if all the given tags are contained in this
Taggable . |
boolean |
isTaggedAs(Tag... tags)
Checks if all the given tags are contained in this
Taggable . |
boolean |
isTaggedAs(Tag tag)
Checks if the given tag are contained in this
Taggable . |
Collection<Tag> getTags()
Tag
s<T extends Tag> Collection<T> getTags(Class<T> classTag)
Taggable
.T
- the Tag
typeclassTag
- the class for the search.boolean isTaggedAs(Collection<Tag> tags)
Taggable
.tags
- the tags of interestTaggable
, false othwerwiseboolean isTaggedAs(Tag... tags)
Taggable
.tags
- the tags of interestTaggable
, false othwerwiseCopyright © 2016–2021. All rights reserved.