Java.lang.Comparable: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html =Internal= * Java 8 Lambda Expressions =Overview=...")
 
Line 10: Line 10:


<syntaxhighlight lang='java'>
<syntaxhighlight lang='java'>
public interface Comparable<T> {


    int compareTo(T o)
}
</syntaxhighlight>
</syntaxhighlight>

Revision as of 19:11, 29 March 2018

External

Internal

Overview

public interface Comparable<T> {

    int compareTo(T o)

}