Adding note on thread safety and fixing a piece of javadoc that still talked about numbers

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1077822 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2011-03-04 06:09:14 +00:00
parent ff0b834cf4
commit 0c0a145ea2
1 changed files with 2 additions and 2 deletions

View File

@ -20,11 +20,11 @@
import java.util.Comparator; import java.util.Comparator;
/** /**
* <p><code>Range</code> represents an immutable range of numbers of the same type.</p> * <p><code>Range</code> represents an immutable range of comparables of the same type.</p>
* <p>The objects need to either be implementations of <code>java.lang.Comparable</code> * <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> * or you need to supply a <code>java.util.Comparator</code>. </p>
* *
* <p>#ThreadSafe#</p> * <p>#ThreadSafe# if the comparables are thread-safe</p>
* @author Apache Software Foundation * @author Apache Software Foundation
* @since 3.0 * @since 3.0
* @version $Id$ * @version $Id$