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 intgetMaxStrength()intgetMinStrength()List<Tag>getStrongTagsAlphabetically(int numberOfTags)List<Tag>getTagsAlphabetically()List<Tag>getTagsByStrength()booleanisOld()intmaxSize()Maximum number of tags in this collection.voidsetMaxStrength(int maxStrength)voidsetMinStrength(int minStrength)intsize()StringtoString()voidtouch()
-
-
-
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)
-
-