Adding note on requiring Comparator for non-Comparable. LANG-620
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@946897 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9a9da72d00
commit
85d065031b
|
@ -21,6 +21,8 @@ import java.util.Comparator;
|
|||
|
||||
/**
|
||||
* <p><code>Range</code> represents an immutable range of numbers of the same type.</p>
|
||||
* <p>The objects need to either be implementations of <code>java.lang.Comparable</code>
|
||||
* or you need to supply a <code>java.util.Comparator</code>. </p>
|
||||
*
|
||||
* <p>#ThreadSafe#</p>
|
||||
* @author Apache Software Foundation
|
||||
|
|
Loading…
Reference in New Issue