applied Javadoc corrections
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137573 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f491166adb
commit
8b2c1cf865
|
@ -64,21 +64,21 @@ import java.io.Serializable;
|
|||
* @author Stephen Colebourne
|
||||
* @author Chris Feldhacker
|
||||
* @since 1.0
|
||||
* @version $Id: CharRange.java,v 1.12 2003/08/04 01:20:47 scolebourne Exp $
|
||||
* @version $Id: CharRange.java,v 1.13 2003/08/06 00:04:37 stevencaswell Exp $
|
||||
*/
|
||||
public final class CharRange implements Serializable {
|
||||
|
||||
/** Serialization lock, Lang version 2.0 */
|
||||
/** Serialization lock, Lang version 2.0. */
|
||||
private static final long serialVersionUID = 8270183163158333422L;
|
||||
|
||||
/** The first character, inclusive, in the range */
|
||||
/** The first character, inclusive, in the range. */
|
||||
private final char start;
|
||||
/** The last character, inclusive, in the range */
|
||||
/** The last character, inclusive, in the range. */
|
||||
private final char end;
|
||||
/** True if the range is everything except the characters specified */
|
||||
/** True if the range is everything except the characters specified. */
|
||||
private final boolean negated;
|
||||
|
||||
/** Cached toString */
|
||||
/** Cached toString. */
|
||||
private transient String iToString;
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
|
|
|
@ -69,22 +69,22 @@ import java.util.Set;
|
|||
* @author Stephen Colebourne
|
||||
* @author Phil Steitz
|
||||
* @since 1.0
|
||||
* @version $Id: CharSet.java,v 1.12 2003/08/04 01:20:47 scolebourne Exp $
|
||||
* @version $Id: CharSet.java,v 1.13 2003/08/06 00:02:15 stevencaswell Exp $
|
||||
*/
|
||||
public class CharSet implements Serializable {
|
||||
|
||||
/** Serialization lock, Lang version 2.0 */
|
||||
/** Serialization lock, Lang version 2.0. */
|
||||
private static final long serialVersionUID = 5947847346149275958L;
|
||||
|
||||
/** A CharSet defining no characters */
|
||||
/** A CharSet defining no characters. */
|
||||
public static final CharSet EMPTY = new CharSet((String) null);
|
||||
/** A CharSet defining ASCII alphabetic characters "a-zA-Z" */
|
||||
/** A CharSet defining ASCII alphabetic characters "a-zA-Z". */
|
||||
public static final CharSet ASCII_ALPHA = new CharSet("a-zA-Z");
|
||||
/** A CharSet defining ASCII alphabetic characters "a-z" */
|
||||
/** A CharSet defining ASCII alphabetic characters "a-z". */
|
||||
public static final CharSet ASCII_ALPHA_LOWER = new CharSet("a-z");
|
||||
/** A CharSet defining ASCII alphabetic characters "A-Z" */
|
||||
/** A CharSet defining ASCII alphabetic characters "A-Z". */
|
||||
public static final CharSet ASCII_ALPHA_UPPER = new CharSet("A-Z");
|
||||
/** A CharSet defining ASCII alphabetic characters "0-9" */
|
||||
/** A CharSet defining ASCII alphabetic characters "0-9". */
|
||||
public static final CharSet ASCII_NUMERIC = new CharSet("0-9");
|
||||
|
||||
/**
|
||||
|
@ -102,12 +102,12 @@ public class CharSet implements Serializable {
|
|||
COMMON.put("0-9", ASCII_NUMERIC);
|
||||
}
|
||||
|
||||
/** Shared range for the dash character */
|
||||
/** Shared range for the dash character. */
|
||||
private static final CharRange DASH = new CharRange('-');
|
||||
/** Shared range for the negate character */
|
||||
/** Shared range for the negate character. */
|
||||
private static final CharRange NEGATE = new CharRange('^');
|
||||
|
||||
/** The set of CharRange objects */
|
||||
/** The set of CharRange objects. */
|
||||
private Set set = new HashSet();
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
|
|
|
@ -64,7 +64,7 @@ package org.apache.commons.lang;
|
|||
* @author Stephen Colebourne
|
||||
* @author Phil Steitz
|
||||
* @since 1.0
|
||||
* @version $Id: CharSetUtils.java,v 1.21 2003/08/04 00:50:14 scolebourne Exp $
|
||||
* @version $Id: CharSetUtils.java,v 1.22 2003/08/06 00:02:15 stevencaswell Exp $
|
||||
*/
|
||||
public class CharSetUtils {
|
||||
|
||||
|
@ -97,7 +97,7 @@ public class CharSetUtils {
|
|||
* CharSetUtils.evaluateSet("abe-g") = CharSet matching a,b,e,f,g
|
||||
* </pre>
|
||||
*
|
||||
* @param set the set, may be null
|
||||
* @param setStr the set, may be null
|
||||
* @return a CharSet instance, <code>null</code> if null input
|
||||
* @deprecated Use {@link CharSet#getInstance(String)}.
|
||||
* Method will be removed in Commons Lang 3.0.
|
||||
|
|
|
@ -60,7 +60,7 @@ import java.io.Serializable;
|
|||
*
|
||||
* @author Stephen Colebourne
|
||||
* @since 2.0
|
||||
* @version $Id: IntRange.java,v 1.4 2003/08/04 01:14:01 scolebourne Exp $
|
||||
* @version $Id: IntRange.java,v 1.5 2003/08/06 00:02:15 stevencaswell Exp $
|
||||
*/
|
||||
public final class IntRange extends Range implements Serializable {
|
||||
|
||||
|
@ -76,7 +76,7 @@ public final class IntRange extends Range implements Serializable {
|
|||
private final int max;
|
||||
|
||||
/**
|
||||
* Cached output minObject (class is immutable)
|
||||
* Cached output minObject (class is immutable).
|
||||
*/
|
||||
private transient Integer minObject = null;
|
||||
/**
|
||||
|
|
|
@ -98,7 +98,7 @@ import java.util.TimeZone;
|
|||
* @author Gary Gregory
|
||||
* @author Stephen Colebourne
|
||||
* @since 2.0
|
||||
* @version $Id: FastDateFormat.java,v 1.12 2003/07/25 22:53:49 scolebourne Exp $
|
||||
* @version $Id: FastDateFormat.java,v 1.13 2003/08/06 00:02:15 stevencaswell Exp $
|
||||
*/
|
||||
public class FastDateFormat extends Format {
|
||||
// A lot of the speed in this class comes from caching, but some comes
|
||||
|
@ -118,15 +118,15 @@ public class FastDateFormat extends Format {
|
|||
*/
|
||||
public static final int FULL = DateFormat.FULL;
|
||||
/**
|
||||
* LONG locale dependent date or time style
|
||||
* LONG locale dependent date or time style.
|
||||
*/
|
||||
public static final int LONG = DateFormat.LONG;
|
||||
/**
|
||||
* MEDIUM locale dependent date or time style
|
||||
* MEDIUM locale dependent date or time style.
|
||||
*/
|
||||
public static final int MEDIUM = DateFormat.MEDIUM;
|
||||
/**
|
||||
* SHORT locale dependent date or time style
|
||||
* SHORT locale dependent date or time style.
|
||||
*/
|
||||
public static final int SHORT = DateFormat.SHORT;
|
||||
|
||||
|
@ -906,7 +906,7 @@ public class FastDateFormat extends Format {
|
|||
return 1;
|
||||
}
|
||||
|
||||
public void appendTo(StringBuffer buffer, Calendar calendar) {
|
||||
public void appendTo(StringBuffer buffer, Calendar calendar) {
|
||||
buffer.append(mValue);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue