Author: adrianc
Date: Sun Apr 18 17:30:10 2010 New Revision: 935369 URL: http://svn.apache.org/viewvc?rev=935369&view=rev Log: Minor JavaDoc changes in Range.java. No functional change. Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/Range.java Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/Range.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/Range.java?rev=935369&r1=935368&r2=935369&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/Range.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/lang/Range.java Sun Apr 18 17:30:10 2010 @@ -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(); |
Free forum by Nabble | Edit this page |