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 Stephen Colebourne
|
||||||
* @author Chris Feldhacker
|
* @author Chris Feldhacker
|
||||||
* @since 1.0
|
* @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 {
|
public final class CharRange implements Serializable {
|
||||||
|
|
||||||
/** Serialization lock, Lang version 2.0 */
|
/** Serialization lock, Lang version 2.0. */
|
||||||
private static final long serialVersionUID = 8270183163158333422L;
|
private static final long serialVersionUID = 8270183163158333422L;
|
||||||
|
|
||||||
/** The first character, inclusive, in the range */
|
/** The first character, inclusive, in the range. */
|
||||||
private final char start;
|
private final char start;
|
||||||
/** The last character, inclusive, in the range */
|
/** The last character, inclusive, in the range. */
|
||||||
private final char end;
|
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;
|
private final boolean negated;
|
||||||
|
|
||||||
/** Cached toString */
|
/** Cached toString. */
|
||||||
private transient String iToString;
|
private transient String iToString;
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
|
|
|
@ -69,22 +69,22 @@ import java.util.Set;
|
||||||
* @author Stephen Colebourne
|
* @author Stephen Colebourne
|
||||||
* @author Phil Steitz
|
* @author Phil Steitz
|
||||||
* @since 1.0
|
* @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 {
|
public class CharSet implements Serializable {
|
||||||
|
|
||||||
/** Serialization lock, Lang version 2.0 */
|
/** Serialization lock, Lang version 2.0. */
|
||||||
private static final long serialVersionUID = 5947847346149275958L;
|
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);
|
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");
|
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");
|
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");
|
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");
|
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);
|
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('-');
|
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('^');
|
private static final CharRange NEGATE = new CharRange('^');
|
||||||
|
|
||||||
/** The set of CharRange objects */
|
/** The set of CharRange objects. */
|
||||||
private Set set = new HashSet();
|
private Set set = new HashSet();
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
|
|
|
@ -64,7 +64,7 @@ package org.apache.commons.lang;
|
||||||
* @author Stephen Colebourne
|
* @author Stephen Colebourne
|
||||||
* @author Phil Steitz
|
* @author Phil Steitz
|
||||||
* @since 1.0
|
* @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 {
|
public class CharSetUtils {
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@ public class CharSetUtils {
|
||||||
* CharSetUtils.evaluateSet("abe-g") = CharSet matching a,b,e,f,g
|
* CharSetUtils.evaluateSet("abe-g") = CharSet matching a,b,e,f,g
|
||||||
* </pre>
|
* </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
|
* @return a CharSet instance, <code>null</code> if null input
|
||||||
* @deprecated Use {@link CharSet#getInstance(String)}.
|
* @deprecated Use {@link CharSet#getInstance(String)}.
|
||||||
* Method will be removed in Commons Lang 3.0.
|
* Method will be removed in Commons Lang 3.0.
|
||||||
|
|
|
@ -60,7 +60,7 @@ import java.io.Serializable;
|
||||||
*
|
*
|
||||||
* @author Stephen Colebourne
|
* @author Stephen Colebourne
|
||||||
* @since 2.0
|
* @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 {
|
public final class IntRange extends Range implements Serializable {
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ public final class IntRange extends Range implements Serializable {
|
||||||
private final int max;
|
private final int max;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cached output minObject (class is immutable)
|
* Cached output minObject (class is immutable).
|
||||||
*/
|
*/
|
||||||
private transient Integer minObject = null;
|
private transient Integer minObject = null;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -98,7 +98,7 @@ import java.util.TimeZone;
|
||||||
* @author Gary Gregory
|
* @author Gary Gregory
|
||||||
* @author Stephen Colebourne
|
* @author Stephen Colebourne
|
||||||
* @since 2.0
|
* @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 {
|
public class FastDateFormat extends Format {
|
||||||
// A lot of the speed in this class comes from caching, but some comes
|
// 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;
|
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;
|
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;
|
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;
|
public static final int SHORT = DateFormat.SHORT;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue