Method compareTo(Long anotherLong)
Return type: int
Member of: java.lang.Long
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 if (now.compareTo(expireTime) > 0) {
2 if (bestId.compareTo(id) > 0)
3 if (min.compareTo(value) > 0) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.