You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2003/08/16 13:14:01 UTC
cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/math package.html Fraction.java
scolebourne 2003/08/16 04:14:01
Modified: lang/src/java/org/apache/commons/lang/math package.html
Fraction.java
Log:
Javadoc changes
bug 22480, from Pete Gieser
Revision Changes Path
1.3 +1 -0 jakarta-commons/lang/src/java/org/apache/commons/lang/math/package.html
Index: package.html
===================================================================
RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/math/package.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- package.html 31 May 2003 17:16:11 -0000 1.2
+++ package.html 16 Aug 2003 11:14:01 -0000 1.3
@@ -2,5 +2,6 @@
<body>
Extends <code>java.math</code> for business mathematical classes. This package is intended for business
mathematical classes, not scientific ones.
+@since 2.0
</body>
</html>
1.10 +38 -5 jakarta-commons/lang/src/java/org/apache/commons/lang/math/Fraction.java
Index: Fraction.java
===================================================================
RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/math/Fraction.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Fraction.java 13 Aug 2003 23:42:17 -0000 1.9
+++ Fraction.java 16 Aug 2003 11:14:01 -0000 1.10
@@ -65,6 +65,7 @@
* @author Travis Reeder
* @author Stephen Colebourne
* @author Tim O'Brien
+ * @author Pete Gieser
* @since 2.0
* @version $Id$
*/
@@ -73,21 +74,53 @@
/** Serialization lock, Lang version 2.0 */
private static final long serialVersionUID = 65382027393090L;
+ /**
+ * <code>Fraction</code> representation of 0.
+ */
public static final Fraction ZERO = new Fraction(0, 1);
+ /**
+ * <code>Fraction</code> representation of 1.
+ */
public static final Fraction ONE = new Fraction(1, 1);
-
+ /**
+ * <code>Fraction</code> representation of 1/2.
+ */
public static final Fraction ONE_HALF = new Fraction(1, 2);
-
+ /**
+ * <code>Fraction</code> representation of 1/3.
+ */
public static final Fraction ONE_THIRD = new Fraction(1, 3);
+ /**
+ * <code>Fraction</code> representation of 2/3.
+ */
public static final Fraction TWO_THIRDS = new Fraction(2, 3);
-
+ /**
+ * <code>Fraction</code> representation of 1/4.
+ */
public static final Fraction ONE_QUARTER = new Fraction(1, 4);
+ /**
+ * <code>Fraction</code> representation of 2/4.
+ */
public static final Fraction TWO_QUARTERS = new Fraction(2, 4);
+ /**
+ * <code>Fraction</code> representation of 3/4.
+ */
public static final Fraction THREE_QUARTERS = new Fraction(3, 4);
-
+ /**
+ * <code>Fraction</code> representation of 1/5.
+ */
public static final Fraction ONE_FIFTH = new Fraction(1, 5);
+ /**
+ * <code>Fraction</code> representation of 2/5.
+ */
public static final Fraction TWO_FIFTHS = new Fraction(2, 5);
+ /**
+ * <code>Fraction</code> representation of 3/5.
+ */
public static final Fraction THREE_FIFTHS = new Fraction(3, 5);
+ /**
+ * <code>Fraction</code> representation of 4/5.
+ */
public static final Fraction FOUR_FIFTHS = new Fraction(4, 5);
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org