Minor JavaDoc changes in Range.java. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935369 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -22,6 +22,7 @@ package org.ofbiz.base.lang;
|
||||
public interface Range<T> {
|
||||
/** Returns <code>true</code> if the lowest value in this range
|
||||
* occurs after the greatest value in <code>range</code>.
|
||||
*
|
||||
* @param range The range to test
|
||||
* @return <code>true</code> if the lowest value in this range
|
||||
* occurs after the greatest value in <code>range</code>
|
||||
@@ -29,6 +30,7 @@ public interface Range<T> {
|
||||
boolean after(Range<T> range);
|
||||
|
||||
/** Returns <code>true</code> if this range occurs after <code>value</code>.
|
||||
*
|
||||
* @param value The value to test
|
||||
* @return <code>true</code> if this range occurs after <code>value</code>
|
||||
*/
|
||||
@@ -36,6 +38,7 @@ public interface Range<T> {
|
||||
|
||||
/** Returns <code>true</code> if the greatest value in this range
|
||||
* occurs before the lowest value in <code>range</code>.
|
||||
*
|
||||
* @param range The range to test
|
||||
* @return <code>true</code> if the greatest value in this range
|
||||
* occurs before the lowest value in <code>range</code>
|
||||
@@ -43,40 +46,47 @@ public interface Range<T> {
|
||||
boolean before(Range<T> range);
|
||||
|
||||
/** Returns <code>true</code> if this range occurs before <code>value</code>.
|
||||
*
|
||||
* @param value The value to test
|
||||
* @return <code>true</code> if this range occurs before <code>value</code>
|
||||
*/
|
||||
boolean before(T value);
|
||||
|
||||
/** Returns the ending value of this range.
|
||||
*
|
||||
* @return Ending value
|
||||
*/
|
||||
T end();
|
||||
|
||||
/** Returns <code>true</code> if this range includes <code>range</code>.
|
||||
*
|
||||
* @param range The range to test
|
||||
* @return <code>true</code> if this range includes <code>range</code>
|
||||
*/
|
||||
boolean includes(Range<T> range);
|
||||
|
||||
/** Returns <code>true</code> if <code>date</code> occurs within this range.
|
||||
/** Returns <code>true</code> if <code>value</code> occurs within this range.
|
||||
*
|
||||
* @param value The value to test
|
||||
* @return <code>true</code> if <code>value</code> occurs within this range
|
||||
*/
|
||||
boolean includes(T value);
|
||||
|
||||
/** Returns <code>true</code> if the starting and ending values are equal.
|
||||
*
|
||||
* @return <code>true</code> if the starting and ending values are equal
|
||||
*/
|
||||
boolean isPoint();
|
||||
|
||||
/** Returns <code>true</code> if this range overlaps <code>range</code>.
|
||||
*
|
||||
* @param range The range to test
|
||||
* @return <code>true</code> if this range overlaps <code>range</code>
|
||||
*/
|
||||
boolean overlaps(Range<T> range);
|
||||
|
||||
/** Returns the starting value of this range.
|
||||
*
|
||||
* @return Starting value
|
||||
*/
|
||||
T start();
|
||||
|
||||
Reference in New Issue
Block a user