[Pocketgames-devel] SF.net SVN: pocketgames: [227] libraries/unsigned/src/org/pocketgames/ unsigned
Status: Beta
Brought to you by:
idominguez
|
From: <ido...@us...> - 2008-01-12 12:58:47
|
Revision: 227
http://pocketgames.svn.sourceforge.net/pocketgames/?rev=227&view=rev
Author: idominguez
Date: 2008-01-12 04:58:50 -0800 (Sat, 12 Jan 2008)
Log Message:
-----------
Style changes
Modified Paths:
--------------
libraries/unsigned/src/org/pocketgames/unsigned/UnsignedByte.java
Modified: libraries/unsigned/src/org/pocketgames/unsigned/UnsignedByte.java
===================================================================
--- libraries/unsigned/src/org/pocketgames/unsigned/UnsignedByte.java 2008-01-12 12:58:27 UTC (rev 226)
+++ libraries/unsigned/src/org/pocketgames/unsigned/UnsignedByte.java 2008-01-12 12:58:50 UTC (rev 227)
@@ -31,12 +31,14 @@
implements Comparable<UnsignedByte>
{
/**
- * A constant holding the maximum value an <code>unsigned byte</code> can have, 2^8.
+ * A constant holding the maximum value an <code>unsigned byte</code> can
+ * have, 2^8.
*/
public static int MAX_VALUE = 256;
/**
- * A constant holding the minimum value an <code>unsigned byte</code> can have, 0.
+ * A constant holding the minimum value an <code>unsigned byte</code> can
+ * have, 0.
*/
public static int MIN_VALUE = 0;
@@ -53,8 +55,9 @@
/**
* Creates an unsigned byte from a <code>byte</code>.
- * Note that negative values are treated as positive values (ie., if <code>b</code> is negative,
- * then the real value stored is <code>UnsignedByte.MAX_VALUE + b</code>).
+ * Note that negative values are treated as positive values (if
+ * <code>b</code> is negative, then the real value stored is
+ * <code>UnsignedByte.MAX_VALUE + b</code>).
* @param b the value to be stored, in signed format.
*/
public UnsignedByte (byte b)
@@ -98,8 +101,10 @@
}
/**
- * Returns the value of this <code>UnsignedByte</code> as a <code>double</code>.
- * @return the numeric value represented by this object after conversion to type <code>double</code>.
+ * Returns the value of this <code>UnsignedByte</code> as a
+ * <code>double</code>.
+ * @return the numeric value represented by this object after conversion to
+ * type <code>double</code>.
*/
public double doubleValue ()
{
@@ -107,8 +112,10 @@
}
/**
- * Returns the value of this <code>UnsignedByte</code> as a <code>float</code>.
- * @return the numeric value represented by this object after conversion to type <code>float</code>.
+ * Returns the value of this <code>UnsignedByte</code> as a
+ * <code>float</code>.
+ * @return the numeric value represented by this object after conversion to
+ * type <code>float</code>.
*/
public float floatValue ()
{
@@ -116,8 +123,10 @@
}
/**
- * Returns the value of this <code>UnsignedByte</code> as a <code>long</code>.
- * @return the numeric value represented by this object after conversion to type <code>long</code>.
+ * Returns the value of this <code>UnsignedByte</code> as a
+ * <code>long</code>.
+ * @return the numeric value represented by this object after conversion to
+ * type <code>long</code>.
*/
public long longValue ()
{
@@ -125,8 +134,10 @@
}
/**
- * Returns the value of this <code>UnsignedByte</code> as a <code>int</code>.
- * @return the numeric value represented by this object after conversion to type <code>int</code>.
+ * Returns the value of this <code>UnsignedByte</code> as a
+ * <code>int</code>.
+ * @return the numeric value represented by this object after conversion to
+ * type <code>int</code>.
*/
public int intValue ()
{
@@ -135,7 +146,8 @@
/**
* Returns the value of this <code>UnsignedByte</code> as a <code>byte</code>.
- * @return the numeric value represented by this object after conversion to type <code>byte</code>.
+ * @return the numeric value represented by this object after conversion to
+ * type <code>byte</code>.
*/
public byte byteValue ()
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|