Package com.tagtraum.beatunes.library
Class TagCollection
- java.lang.Object
-
- com.tagtraum.beatunes.library.TagCollection
-
public class TagCollection extends Object
Collection of tags.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description TagCollection()
TagCollection(int maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxStrength()
int
getMinStrength()
List<Tag>
getStrongTagsAlphabetically(int numberOfTags)
List<Tag>
getTagsAlphabetically()
List<Tag>
getTagsByStrength()
boolean
isOld()
int
maxSize()
Maximum number of tags in this collection.void
setMaxStrength(int maxStrength)
void
setMinStrength(int minStrength)
int
size()
String
toString()
void
touch()
-
-
-
Constructor Detail
-
TagCollection
public TagCollection()
-
TagCollection
public TagCollection(int maxSize)
- Parameters:
maxSize
- max number of tags- See Also:
maxSize()
-
-
Method Detail
-
size
public int size()
-
maxSize
public int maxSize()
Maximum number of tags in this collection. Negative values indicate no limit.- Returns:
- max number of tags
-
isOld
public boolean isOld()
-
touch
public void touch()
-
getMaxStrength
public int getMaxStrength()
-
getMinStrength
public int getMinStrength()
-
setMaxStrength
public void setMaxStrength(int maxStrength)
-
setMinStrength
public void setMinStrength(int minStrength)
-
-