DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR C
compareto method java
public int compareTo(Jedi jedi){ return this.age > jedi.age ? 1 : this.age < jedi.age ? -1 : 0; }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#compareto
#method
#java
ADD COMMENT
Topic
COMMENT
Name
4+3 =
Submit