|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.anidb.VoteType
public class VoteType
The type of a vote.
Field Summary | |
---|---|
static VoteType |
ANIME
Anime. |
static VoteType |
ANIME_TMPVOTE
Anime temporary vote. |
static VoteType |
GROUP
Group. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
static VoteType |
getInstance(int value)
Returns an instance of the class for the given value. |
long |
getValue()
Returns the value. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final VoteType ANIME
public static final VoteType ANIME_TMPVOTE
public static final VoteType GROUP
Method Detail |
---|
public static VoteType getInstance(int value)
value
- The value.
null
, if there is no instance for
the given value.public long getValue()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |