Interface Taggable
- All Known Subinterfaces:
BabelSynset, Sense, Synset<S,E, T, G, X>
- All Known Implementing Classes:
BabelSense, WordNetSense
public interface Taggable
A general interface for a taggable.
- Author:
- natavio
-
Method Summary
Modifier and TypeMethodDescriptiongetTags()<T extends Tag>
Collection<T> Returns the collection of the given class of thisTaggable.booleanisTaggedAs(Tag tag) Checks if the given tag are contained in thisTaggable.booleanisTaggedAs(Tag... tags) Checks if all the given tags are contained in thisTaggable.booleanisTaggedAs(Collection<Tag> tags) Checks if all the given tags are contained in thisTaggable.
-
Method Details
-
getTags
Collection<Tag> getTags()- Returns:
- the collection of
Tags
-
getTags
-
isTaggedAs
-
isTaggedAs
-
isTaggedAs
-