Class Category (2.0.0)

public final class Category implements Serializable, Comparable<Category>

A tag, ie a descriptive word or phrase. Entities may be tagged by users, and later returned by a queries for that tag. Tags can also be used for ranking results (frequency), photo captions, clustering, activity, etc. See Also: Jeffrey Zeldmans blog post on tag clouds for a more in-depth description.

Inheritance

java.lang.Object > Category

Static Fields

serialVersionUID

public static final long serialVersionUID
Field Value
Type Description
long

Constructors

Category(String category)

public Category(String category)
Parameter
Name Description
category String

Methods

compareTo(Category o)

public int compareTo(Category o)
Parameter
Name Description
o Category
Returns
Type Description
int

equals(@Nullable Object o)

public boolean equals(@Nullable Object o)
Parameter
Name Description
o @org.checkerframework.checker.nullness.qual.Nullable java.lang.Object
Returns
Type Description
boolean
Overrides

getCategory()

public String getCategory()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides