Remove my author tag, add ASF author tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@830032 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2d31aaf4f0
commit
9e2d954177
|
@ -34,7 +34,7 @@ import org.apache.commons.lang.builder.ToStringStyle;
|
|||
* array input. However, an Object array that contains a <code>null</code>
|
||||
* element may throw an exception. Each method documents its behaviour.</p>
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @author Moritz Petersen
|
||||
* @author <a href="mailto:fredrik@westermarck.com">Fredrik Westermarck</a>
|
||||
* @author Nikolay Metchev
|
||||
|
|
|
@ -19,11 +19,11 @@ package org.apache.commons.lang;
|
|||
/**
|
||||
* <p>Operations on bit-mapped fields.</p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Apache Jakarta POI
|
||||
* @author Scott Sanders (sanders at apache dot org)
|
||||
* @author Marc Johnson (mjohnson at apache dot org)
|
||||
* @author Andrew C. Oliver (acoliver at apache dot org)
|
||||
* @author Stephen Colebourne
|
||||
* @author Pete Gieser
|
||||
* @author Gary Gregory
|
||||
* @since 2.0
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.apache.commons.lang.math.NumberUtils;
|
|||
* An exception will not be thrown for a <code>null</code> input.
|
||||
* Each method documents its behaviour in more detail.</p>
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @author Matthew Hawthorne
|
||||
* @author Gary Gregory
|
||||
* @since 2.0
|
||||
|
|
|
@ -23,7 +23,7 @@ import java.io.Serializable;
|
|||
*
|
||||
* <p>Instances are immutable.</p>
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @author Chris Feldhacker
|
||||
* @author Gary Gregory
|
||||
* @since 1.0
|
||||
|
|
|
@ -27,7 +27,7 @@ import java.util.Set;
|
|||
*
|
||||
* <p>Instances are immutable, but instances of subclasses may not be.</p>
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @author Phil Steitz
|
||||
* @author Pete Gieser
|
||||
* @author Gary Gregory
|
||||
|
|
|
@ -24,7 +24,7 @@ package org.apache.commons.lang;
|
|||
* Each method documents its behaviour in more detail.</p>
|
||||
*
|
||||
* @see CharSet
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @author Phil Steitz
|
||||
* @author Gary Gregory
|
||||
* @since 1.0
|
||||
|
|
|
@ -23,7 +23,7 @@ package org.apache.commons.lang;
|
|||
* An exception will not be thrown for a <code>null</code> input.
|
||||
* Each method documents its behaviour in more detail.</p>
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @since 2.1
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -37,7 +37,7 @@ import java.util.Map;
|
|||
* non-canonical method variants work with the JVM names, such as
|
||||
* <code>[I</code>. </p>
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @author Gary Gregory
|
||||
* @author Norm Deane
|
||||
* @author Alban Peignier
|
||||
|
|
|
@ -21,7 +21,9 @@ import java.util.LinkedHashMap;
|
|||
import java.util.EnumSet;
|
||||
|
||||
/**
|
||||
* Utility library to provide helper methods for Java enums.
|
||||
* Utility library to provide helper methods for Java enums.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
*/
|
||||
public class EnumUtils {
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ import java.util.Set;
|
|||
* An exception will not be thrown for a <code>null</code> input.
|
||||
* Each method documents its behaviour in more detail.</p>
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @since 2.2
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -25,10 +25,10 @@ import java.io.Serializable;
|
|||
* An exception will generally not be thrown for a <code>null</code> input.
|
||||
* Each method documents its behaviour in more detail.</p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author <a href="mailto:nissim@nksystems.com">Nissim Karpenstein</a>
|
||||
* @author <a href="mailto:janekdb@yahoo.co.uk">Janek Bogucki</a>
|
||||
* @author Daniel L. Rall
|
||||
* @author Stephen Colebourne
|
||||
* @author Gary Gregory
|
||||
* @author Mario Winterer
|
||||
* @author <a href="mailto:david@davidkarlsen.com">David J. M. Karlsen</a>
|
||||
|
|
|
@ -28,8 +28,8 @@ import java.util.Random;
|
|||
* 56320 (dc00) to 57343 (dfff) then it is placed after a randomly
|
||||
* chosen high surrogate. </p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author <a href="mailto:steven@caswell.name">Steven Caswell</a>
|
||||
* @author Stephen Colebourne
|
||||
* @author Gary Gregory
|
||||
* @author Phil Steitz
|
||||
* @since 1.0
|
||||
|
|
|
@ -21,7 +21,7 @@ package org.apache.commons.lang;
|
|||
*
|
||||
* <p>The original error is wrapped within this one.</p>
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @since 1.0
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -38,10 +38,10 @@ import java.io.Serializable;
|
|||
* <p>This class throws exceptions for invalid <code>null</code> inputs.
|
||||
* Each method documents its behaviour in more detail.</p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author <a href="mailto:nissim@nksystems.com">Nissim Karpenstein</a>
|
||||
* @author <a href="mailto:janekdb@yahoo.co.uk">Janek Bogucki</a>
|
||||
* @author Daniel L. Rall
|
||||
* @author Stephen Colebourne
|
||||
* @author Jeff Varszegi
|
||||
* @author Gary Gregory
|
||||
* @since 1.0
|
||||
|
|
|
@ -26,6 +26,7 @@ import org.apache.commons.lang.text.translate.UnescapeUtils;
|
|||
* <p>Escapes and unescapes <code>String</code>s for
|
||||
* Java, Java Script, HTML, XML, and SQL.</p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Apache Jakarta Turbine
|
||||
* @author Purple Technology
|
||||
* @author <a href="mailto:alex@purpletech.com">Alexander Day Chaffee</a>
|
||||
|
|
|
@ -99,13 +99,13 @@ import java.util.Locale;
|
|||
* The symbol <code>*</code> is used to indicate any input including <code>null</code>.</p>
|
||||
*
|
||||
* @see java.lang.String
|
||||
* @author Apache Software Foundation
|
||||
* @author <a href="http://jakarta.apache.org/turbine/">Apache Jakarta Turbine</a>
|
||||
* @author <a href="mailto:jon@latchkey.com">Jon S. Stevens</a>
|
||||
* @author Daniel L. Rall
|
||||
* @author <a href="mailto:gcoladonato@yahoo.com">Greg Coladonato</a>
|
||||
* @author <a href="mailto:ed@apache.org">Ed Korthof</a>
|
||||
* @author <a href="mailto:rand_mcneely@yahoo.com">Rand McNeely</a>
|
||||
* @author Stephen Colebourne
|
||||
* @author <a href="mailto:fredrik@westermarck.com">Fredrik Westermarck</a>
|
||||
* @author Holger Krauth
|
||||
* @author <a href="mailto:alex@purpletech.com">Alexander Day Chaffee</a>
|
||||
|
|
|
@ -25,9 +25,9 @@ import java.io.File;
|
|||
* the corresponding field in this class will be set to <code>null</code>
|
||||
* and a message will be written to <code>System.err</code>.</p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Based on code from Avalon Excalibur
|
||||
* @author Based on code from Lucene
|
||||
* @author Stephen Colebourne
|
||||
* @author <a href="mailto:sdowney@panix.com">Steve Downey</a>
|
||||
* @author Gary Gregory
|
||||
* @author Michael Becke
|
||||
|
|
|
@ -31,8 +31,8 @@ import java.util.Map;
|
|||
* Validate.notNull( surname, "The surname must not be null");
|
||||
* </pre>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author <a href="mailto:ola.berg@arkitema.se">Ola Berg</a>
|
||||
* @author Stephen Colebourne
|
||||
* @author Gary Gregory
|
||||
* @author Norm Deane
|
||||
* @since 2.0
|
||||
|
|
|
@ -23,8 +23,8 @@ package org.apache.commons.lang;
|
|||
* An exception will not be thrown for a <code>null</code> input.
|
||||
* Each method documents its behaviour in more detail.</p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Apache Jakarta Velocity
|
||||
* @author Stephen Colebourne
|
||||
* @author <a href="mailto:hps@intermeta.de">Henning P. Schmiedehausen</a>
|
||||
* @author Gary Gregory
|
||||
* @since 2.0
|
||||
|
|
|
@ -83,8 +83,8 @@ import java.util.List;
|
|||
* @see java.lang.Object#hashCode()
|
||||
* @see EqualsBuilder
|
||||
* @see HashCodeBuilder
|
||||
* @author Apache Software Foundation
|
||||
* @author <a href="mailto:steve.downey@netfolio.com">Steve Downey</a>
|
||||
* @author Stephen Colebourne
|
||||
* @author Gary Gregory
|
||||
* @author Pete Gieser
|
||||
* @since 1.0
|
||||
|
|
|
@ -75,8 +75,8 @@ import java.util.List;
|
|||
* }
|
||||
* </pre>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author <a href="mailto:steve.downey@netfolio.com">Steve Downey</a>
|
||||
* @author Stephen Colebourne
|
||||
* @author Gary Gregory
|
||||
* @author Pete Gieser
|
||||
* @author Arun Mammen Thomas
|
||||
|
|
|
@ -88,7 +88,7 @@ import java.util.Set;
|
|||
* }
|
||||
* </pre>
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @author Gary Gregory
|
||||
* @author Pete Gieser
|
||||
* @since 1.0
|
||||
|
|
|
@ -21,13 +21,14 @@ package org.apache.commons.lang.builder;
|
|||
// adapted from org.apache.axis.utils.IDKey
|
||||
|
||||
/**
|
||||
* Wrap an identity key (System.identityHashCode())
|
||||
* so that an object can only be equal() to itself.
|
||||
*
|
||||
* This is necessary to disambiguate the occasional duplicate
|
||||
* identityHashCodes that can occur.
|
||||
*
|
||||
*/
|
||||
* Wrap an identity key (System.identityHashCode())
|
||||
* so that an object can only be equal() to itself.
|
||||
*
|
||||
* This is necessary to disambiguate the occasional duplicate
|
||||
* identityHashCodes that can occur.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
*/
|
||||
final class IDKey {
|
||||
private final Object value;
|
||||
private final int id;
|
||||
|
|
|
@ -89,8 +89,8 @@ import org.apache.commons.lang.ClassUtils;
|
|||
* constructor.
|
||||
* </p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Gary Gregory
|
||||
* @author Stephen Colebourne
|
||||
* @author Pete Gieser
|
||||
* @since 2.0
|
||||
* @version $Id$
|
||||
|
|
|
@ -25,7 +25,7 @@ package org.apache.commons.lang.builder;
|
|||
* store the result in a public static final variable for the rest of the
|
||||
* program to access.</p>
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @author Pete Gieser
|
||||
* @author Gary Gregory
|
||||
* @since 1.0
|
||||
|
|
|
@ -83,7 +83,7 @@ import org.apache.commons.lang.ObjectUtils;
|
|||
* <p>The exact format of the <code>toString</code> is determined by
|
||||
* the {@link ToStringStyle} passed into the constructor.</p>
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @author Gary Gregory
|
||||
* @author Pete Gieser
|
||||
* @since 1.0
|
||||
|
|
|
@ -61,7 +61,7 @@ import org.apache.commons.lang.SystemUtils;
|
|||
* </pre>
|
||||
* </p>
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @author Gary Gregory
|
||||
* @author Pete Gieser
|
||||
* @author Masato Tezuka
|
||||
|
|
|
@ -29,6 +29,7 @@ package org.apache.commons.lang.concurrent;
|
|||
* exceptions are thrown directly.
|
||||
* </p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @version $Id$
|
||||
*/
|
||||
public class ConcurrentException extends Exception {
|
||||
|
|
|
@ -24,6 +24,7 @@ import java.util.concurrent.ExecutionException;
|
|||
* java.util.concurrent} package.
|
||||
* </p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @version $Id$
|
||||
*/
|
||||
public class ConcurrentUtils {
|
||||
|
|
|
@ -72,6 +72,7 @@ package org.apache.commons.lang.concurrent;
|
|||
* (only an access to a <b>volatile</b> member field).
|
||||
* </p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @version $Id$
|
||||
* @param <T> the type of the object managed by this initializer class
|
||||
*/
|
||||
|
|
|
@ -62,6 +62,7 @@ import java.util.Set;
|
|||
* </p>
|
||||
*
|
||||
* @see ContextedRuntimeException
|
||||
* @author Apache Software Foundation
|
||||
* @author D. Ashmore
|
||||
* @since 3.0
|
||||
*/
|
||||
|
|
|
@ -62,6 +62,7 @@ import java.util.Set;
|
|||
* </p>
|
||||
*
|
||||
* @see ContextedException
|
||||
* @author Apache Software Foundation
|
||||
* @author D. Ashmore
|
||||
* @author Jörg Schaible
|
||||
* @since 3.0
|
||||
|
|
|
@ -29,6 +29,7 @@ import org.apache.commons.lang.SystemUtils;
|
|||
* This implementation is serializable, however this is dependent on the values that
|
||||
* are added also being serializable.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author D. Ashmore
|
||||
* @since 3.0
|
||||
*/
|
||||
|
|
|
@ -24,6 +24,7 @@ import java.util.Set;
|
|||
*
|
||||
* @see ContextedException
|
||||
* @see ContextedRuntimeException
|
||||
* @author Apache Software Foundation
|
||||
* @author D. Ashmore
|
||||
* @since 3.0
|
||||
*/
|
||||
|
|
|
@ -37,9 +37,9 @@ import org.apache.commons.lang.SystemUtils;
|
|||
* <p>Provides utilities for manipulating and examining
|
||||
* <code>Throwable</code> objects.</p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Daniel L. Rall
|
||||
* @author Dmitri Plotnikov
|
||||
* @author Stephen Colebourne
|
||||
* @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
|
||||
* @author Pete Gieser
|
||||
* @since 1.0
|
||||
|
|
|
@ -21,7 +21,7 @@ import java.io.Serializable;
|
|||
/**
|
||||
* <p><code>DoubleRange</code> represents an inclusive range of <code>double</code>s.</p>
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @since 2.0
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -21,7 +21,7 @@ import java.io.Serializable;
|
|||
/**
|
||||
* <p><code>FloatRange</code> represents an inclusive range of <code>float</code>s.</p>
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @since 2.0
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -25,8 +25,8 @@ import java.math.BigInteger;
|
|||
* <p>This class is immutable, and interoperable with most methods that accept
|
||||
* a <code>Number</code>.</p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Travis Reeder
|
||||
* @author Stephen Colebourne
|
||||
* @author Tim O'Brien
|
||||
* @author Pete Gieser
|
||||
* @author C. Scott Ananian
|
||||
|
|
|
@ -22,6 +22,7 @@ package org.apache.commons.lang.math;
|
|||
* <p>See: <a href="http://en.wikipedia.org/wiki/IEEE_754r">http://en.wikipedia.org/wiki/IEEE_754r</a></p>
|
||||
*
|
||||
* @since 2.4
|
||||
* @author Apache Software Foundation
|
||||
* @version $Id$
|
||||
*/
|
||||
public class IEEE754rUtils {
|
||||
|
|
|
@ -21,7 +21,7 @@ import java.io.Serializable;
|
|||
/**
|
||||
* <p><code>IntRange</code> represents an inclusive range of <code>int</code>s.</p>
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @since 2.0
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -21,7 +21,7 @@ import java.io.Serializable;
|
|||
/**
|
||||
* <p><code>LongRange</code> represents an inclusive range of <code>long</code>s.</p>
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @since 2.0
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -22,8 +22,8 @@ import java.io.Serializable;
|
|||
* <p><code>NumberRange</code> represents an inclusive range of
|
||||
* {@link java.lang.Number} objects of the same type.</p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author <a href="mailto:chrise@esha.com">Christopher Elkins</a>
|
||||
* @author Stephen Colebourne
|
||||
* @since 2.0 (previously in org.apache.commons.lang)
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -24,8 +24,8 @@ import org.apache.commons.lang.StringUtils;
|
|||
/**
|
||||
* <p>Provides extra functionality for Java Number classes.</p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author <a href="mailto:rand_mcneely@yahoo.com">Rand McNeely</a>
|
||||
* @author Stephen Colebourne
|
||||
* @author <a href="mailto:steve.downey@netfolio.com">Steve Downey</a>
|
||||
* @author Eric Pugh
|
||||
* @author Phil Steitz
|
||||
|
|
|
@ -23,7 +23,7 @@ package org.apache.commons.lang.math;
|
|||
* subclass should be immutable and {@link java.io.Serializable Serializable}
|
||||
* if possible.</p>
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @since 2.0
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -26,6 +26,7 @@ package org.apache.commons.lang.mutable;
|
|||
* effectively change the value of the primitive/string. Another use case is to store a frequently changing primitive in
|
||||
* a collection (for example a total in a map) without needing to create new Integer/Long wrapper objects.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Matthew Hawthorne
|
||||
* @since 2.1
|
||||
* @version $Id$
|
||||
|
|
|
@ -21,6 +21,7 @@ package org.apache.commons.lang.mutable;
|
|||
*
|
||||
* @see Byte
|
||||
* @since 2.1
|
||||
* @author Apache Software Foundation
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MutableByte extends Number implements Comparable<MutableByte>, Mutable<Number> {
|
||||
|
|
|
@ -21,6 +21,7 @@ package org.apache.commons.lang.mutable;
|
|||
*
|
||||
* @see Double
|
||||
* @since 2.1
|
||||
* @author Apache Software Foundation
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MutableDouble extends Number implements Comparable<MutableDouble>, Mutable<Number> {
|
||||
|
|
|
@ -21,6 +21,7 @@ package org.apache.commons.lang.mutable;
|
|||
*
|
||||
* @see Float
|
||||
* @since 2.1
|
||||
* @author Apache Software Foundation
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MutableFloat extends Number implements Comparable<MutableFloat>, Mutable<Number> {
|
||||
|
|
|
@ -21,6 +21,7 @@ package org.apache.commons.lang.mutable;
|
|||
*
|
||||
* @see Integer
|
||||
* @since 2.1
|
||||
* @author Apache Software Foundation
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MutableInt extends Number implements Comparable<MutableInt>, Mutable<Number> {
|
||||
|
|
|
@ -21,6 +21,7 @@ package org.apache.commons.lang.mutable;
|
|||
*
|
||||
* @see Long
|
||||
* @since 2.1
|
||||
* @author Apache Software Foundation
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MutableLong extends Number implements Comparable<MutableLong>, Mutable<Number> {
|
||||
|
|
|
@ -23,6 +23,7 @@ import java.io.Serializable;
|
|||
* A mutable <code>Object</code> wrapper.
|
||||
*
|
||||
* @since 2.1
|
||||
* @author Apache Software Foundation
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MutableObject<T> implements Mutable<T>, Serializable {
|
||||
|
|
|
@ -21,6 +21,7 @@ package org.apache.commons.lang.mutable;
|
|||
*
|
||||
* @see Short
|
||||
* @since 2.1
|
||||
* @author Apache Software Foundation
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MutableShort extends Number implements Comparable<MutableShort>, Mutable<Number> {
|
||||
|
|
|
@ -38,6 +38,7 @@ import org.apache.commons.lang.ClassUtils;
|
|||
* This call will only succeed when the application has sufficient security privilages.
|
||||
* If this call fails then a warning will be logged and the method may fail.</p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Craig R. McClanahan
|
||||
* @author Ralph Schaer
|
||||
* @author Chris Audley
|
||||
|
|
|
@ -30,7 +30,7 @@ import org.apache.commons.lang.ClassUtils;
|
|||
* programmer. This can allow fields to be changed that shouldn't be. This
|
||||
* facility should be used with care.
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @author Matt Benson
|
||||
* @since 3.0
|
||||
* @version $Id$
|
||||
|
|
|
@ -29,6 +29,7 @@ import org.apache.commons.lang.SystemUtils;
|
|||
* Contains common code for working with Methods/Constructors, extracted and
|
||||
* refactored from <code>MethodUtils</code> when it was imported from Commons BeanUtils.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Steve Cohen
|
||||
* @author Matt Benson
|
||||
* @since 3.0
|
||||
|
|
|
@ -41,6 +41,7 @@ import org.apache.commons.lang.ClassUtils;
|
|||
* This call will only succeed when the application has sufficient security privileges.
|
||||
* If this call fails then the method may fail.</p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Craig R. McClanahan
|
||||
* @author Ralph Schaer
|
||||
* @author Chris Audley
|
||||
|
|
|
@ -26,6 +26,7 @@ import java.text.ParsePosition;
|
|||
* example of use for this would be a webapp where data is taken in one way and
|
||||
* stored in a database another way.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Archimedes Trajano
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -62,6 +62,7 @@ import org.apache.commons.lang.Validate;
|
|||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Matt Benson
|
||||
* @author Niall Pemberton
|
||||
* @since 2.4
|
||||
|
|
|
@ -21,8 +21,10 @@ import java.util.Locale;
|
|||
|
||||
/**
|
||||
* Format factory.
|
||||
* @since 2.4
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Niall Pemberton
|
||||
* @since 2.4
|
||||
* @version $Id$
|
||||
*/
|
||||
public interface FormatFactory {
|
||||
|
|
|
@ -67,7 +67,7 @@ import org.apache.commons.lang.SystemUtils;
|
|||
* clone method so could not be used. From 3.0 onwards it no longer implements
|
||||
* the interface.
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @author Robert Scholte
|
||||
* @since 2.2
|
||||
* @version $Id$
|
||||
|
|
|
@ -31,7 +31,7 @@ import java.util.Map;
|
|||
* For example, it would be possible to implement a lookup that used the
|
||||
* key as a primary key, and looked up the value on demand from the database
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @since 2.2
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -25,7 +25,7 @@ import java.util.Arrays;
|
|||
* This class comes complete with various factory methods.
|
||||
* If these do not suffice, you can subclass and implement your own matcher.
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @since 2.2
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -84,8 +84,8 @@ import java.util.Map;
|
|||
* The variable $${${name}} must be used.
|
||||
* </pre>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Oliver Heger
|
||||
* @author Stephen Colebourne
|
||||
* @version $Id$
|
||||
* @since 2.2
|
||||
*/
|
||||
|
|
|
@ -81,8 +81,8 @@ import org.apache.commons.lang.ArrayUtils;
|
|||
* </tr>
|
||||
* </table>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Matthew Inger
|
||||
* @author Stephen Colebourne
|
||||
* @author Gary D. Gregory
|
||||
* @since 2.2
|
||||
* @version $Id$
|
||||
|
|
|
@ -21,7 +21,9 @@ import java.io.Writer;
|
|||
|
||||
/**
|
||||
* Executes a sequence of translators one after the other. Execution ends whenever
|
||||
* the first translator consumes codepoints from the input.
|
||||
* the first translator consumes codepoints from the input.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @since 3.0
|
||||
*/
|
||||
public class AggregateTranslator extends CharSequenceTranslator {
|
||||
|
|
|
@ -24,7 +24,9 @@ import java.util.Locale;
|
|||
/**
|
||||
* An API for translating text.
|
||||
* Its core use is to escape and unescape text. Because escaping and unescaping
|
||||
* is completely contextual, the API does not present two separate signatures.
|
||||
* is completely contextual, the API does not present two separate signatures.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @since 3.0
|
||||
*/
|
||||
public abstract class CharSequenceTranslator {
|
||||
|
|
|
@ -22,6 +22,8 @@ import java.io.Writer;
|
|||
/**
|
||||
* Helper subclass to CharSequenceTranslator to allow for translations that
|
||||
* will replace up to one character at a time.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @since 3.0
|
||||
*/
|
||||
public abstract class CodePointTranslator extends CharSequenceTranslator {
|
||||
|
|
|
@ -21,6 +21,7 @@ package org.apache.commons.lang.text.translate;
|
|||
* the LookupTranslator.
|
||||
* All arrays are of length [*][2].
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @since 3.0
|
||||
*/
|
||||
public class EntityArrays {
|
||||
|
|
|
@ -24,7 +24,9 @@ import org.apache.commons.lang.StringUtils;
|
|||
import org.apache.commons.lang.CharUtils;
|
||||
|
||||
/**
|
||||
* Helper class defining various standard language escape functions.
|
||||
* Helper class defining various standard language escape functions.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @since 3.0
|
||||
*/
|
||||
public class EscapeUtils {
|
||||
|
|
|
@ -21,7 +21,9 @@ import java.io.Writer;
|
|||
import java.util.HashMap;
|
||||
|
||||
/**
|
||||
* Translates a value using a lookup table.
|
||||
* Translates a value using a lookup table.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @since 3.0
|
||||
*/
|
||||
// TODO: Replace with a RegexLookup? Performance test.
|
||||
|
|
|
@ -20,7 +20,9 @@ import java.io.IOException;
|
|||
import java.io.Writer;
|
||||
|
||||
/**
|
||||
* Translates codepoints to their XML numeric entity escaped value.
|
||||
* Translates codepoints to their XML numeric entity escaped value.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @since 3.0
|
||||
*/
|
||||
public class NumericEntityEscaper extends CodePointTranslator {
|
||||
|
|
|
@ -21,7 +21,9 @@ import java.io.Writer;
|
|||
|
||||
/**
|
||||
* Translate XML numeric entities of the form &#[xX]?\d+; to
|
||||
* the specific codepoint.
|
||||
* the specific codepoint.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @since 3.0
|
||||
*/
|
||||
public class NumericEntityUnescaper extends CharSequenceTranslator {
|
||||
|
|
|
@ -24,7 +24,9 @@ import org.apache.commons.lang.StringUtils;
|
|||
import org.apache.commons.lang.CharUtils;
|
||||
|
||||
/**
|
||||
* Helper class defining various standard language unescape functions.
|
||||
* Helper class defining various standard language unescape functions.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @since 3.0
|
||||
*/
|
||||
public class UnescapeUtils {
|
||||
|
|
|
@ -20,7 +20,9 @@ import java.io.IOException;
|
|||
import java.io.Writer;
|
||||
|
||||
/**
|
||||
* Translates codepoints to their unicode escaped value.
|
||||
* Translates codepoints to their unicode escaped value.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @since 3.0
|
||||
*/
|
||||
public class UnicodeEscaper extends CodePointTranslator {
|
||||
|
|
|
@ -25,6 +25,8 @@ import java.util.Arrays;
|
|||
/**
|
||||
* Translates escaped unicode values of the form \\u+\d\d\d\d back to
|
||||
* unicode.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @since 3.0
|
||||
*/
|
||||
public class UnicodeUnescaper extends CharSequenceTranslator {
|
||||
|
|
|
@ -27,10 +27,10 @@ import java.util.TimeZone;
|
|||
* <p>Formatting is performed using the
|
||||
* {@link org.apache.commons.lang.time.FastDateFormat} class.</p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Apache Ant - DateUtils
|
||||
* @author <a href="mailto:sbailliez@apache.org">Stephane Bailliez</a>
|
||||
* @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
|
||||
* @author Stephen Colebourne
|
||||
* @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
|
||||
* @since 2.0
|
||||
* @version $Id$
|
||||
|
|
|
@ -42,8 +42,8 @@ import java.util.TimeZone;
|
|||
*
|
||||
*
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author <a href="mailto:sergek@lokitech.com">Serge Knystautas</a>
|
||||
* @author Stephen Colebourne
|
||||
* @author Janek Bogucki
|
||||
* @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
|
||||
* @author Phil Steitz
|
||||
|
|
|
@ -38,10 +38,10 @@ import org.apache.commons.lang.StringUtils;
|
|||
* <tr><td>S</td><td>milliseconds</td></tr>
|
||||
* </table>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Apache Ant - DateUtils
|
||||
* @author <a href="mailto:sbailliez@apache.org">Stephane Bailliez</a>
|
||||
* @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
|
||||
* @author Stephen Colebourne
|
||||
* @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
|
||||
* @since 2.1
|
||||
* @version $Id$
|
||||
|
|
|
@ -59,11 +59,11 @@ import org.apache.commons.lang.Validate;
|
|||
* This introduces a minor incompatibility with Java 1.4, but at a gain of
|
||||
* useful functionality.</p>
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author TeaTrove project
|
||||
* @author Brian S O'Neill
|
||||
* @author Sean Schofield
|
||||
* @author Gary Gregory
|
||||
* @author Stephen Colebourne
|
||||
* @author Nikolay Metchev
|
||||
* @since 2.0
|
||||
* @version $Id$
|
||||
|
|
|
@ -50,7 +50,7 @@ package org.apache.commons.lang.time;
|
|||
* 4. start() cannot be called twice without calling reset()
|
||||
* </p>
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @since 2.0
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -30,7 +30,7 @@ import junit.textui.TestRunner;
|
|||
/**
|
||||
* Unit tests {@link org.apache.commons.lang.ArrayUtils}.
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @author Moritz Petersen
|
||||
* @author Nikolay Metchev
|
||||
* @author Matthew Hawthorne
|
||||
|
|
|
@ -27,7 +27,7 @@ import junit.textui.TestRunner;
|
|||
/**
|
||||
* Unit tests {@link org.apache.commons.lang.BooleanUtils}.
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @author Matthew Hawthorne
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -28,7 +28,7 @@ import junit.textui.TestRunner;
|
|||
/**
|
||||
* Unit tests {@link org.apache.commons.lang.CharRange}.
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @version $Id$
|
||||
*/
|
||||
public class CharRangeTest extends TestCase {
|
||||
|
|
|
@ -28,7 +28,7 @@ import junit.textui.TestRunner;
|
|||
/**
|
||||
* Unit tests {@link org.apache.commons.lang.CharSet}.
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @author Phil Steitz
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -27,8 +27,8 @@ import junit.textui.TestRunner;
|
|||
/**
|
||||
* Unit tests {@link org.apache.commons.lang.CharSetUtils}.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author <a href="mailto:ridesmet@users.sourceforge.net">Ringo De Smet</a>
|
||||
* @author Stephen Colebourne
|
||||
* @author Gary D. Gregory
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -27,7 +27,7 @@ import junit.textui.TestRunner;
|
|||
/**
|
||||
* Unit tests {@link org.apache.commons.lang.CharUtils}.
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @version $Id$
|
||||
*/
|
||||
public class CharUtilsTest extends TestCase {
|
||||
|
|
|
@ -36,7 +36,7 @@ import junit.textui.TestRunner;
|
|||
/**
|
||||
* Unit tests {@link org.apache.commons.lang.ClassUtils}.
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @author Gary D. Gregory
|
||||
* @author Tomasz Blachowicz
|
||||
* @version $Id$
|
||||
|
|
|
@ -34,8 +34,8 @@ import junit.textui.TestRunner;
|
|||
/**
|
||||
* Unit tests for {@link LocaleUtils}.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Chris Hyzer
|
||||
* @author Stephen Colebourne
|
||||
* @version $Id$
|
||||
*/
|
||||
public class LocaleUtilsTest extends TestCase {
|
||||
|
|
|
@ -29,8 +29,8 @@ import junit.textui.TestRunner;
|
|||
/**
|
||||
* Unit tests {@link org.apache.commons.lang.ObjectUtils}.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author <a href="mailto:jmcnally@collab.net">John McNally</a>
|
||||
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
||||
* @author <a href="mailto:ridesmet@users.sourceforge.net">Ringo De Smet</a>
|
||||
* @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
|
||||
* @version $Id$
|
||||
|
|
|
@ -36,7 +36,7 @@ import junit.textui.TestRunner;
|
|||
/**
|
||||
* Unit tests {@link org.apache.commons.lang.SerializationUtils}.
|
||||
*
|
||||
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
||||
* @author Apache Software Foundation
|
||||
* @author <a href="mailto:ridesmet@users.sourceforge.net">Ringo De Smet</a>
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@ import junit.textui.TestRunner;
|
|||
/**
|
||||
* Unit tests {@link org.apache.commons.lang.StringUtils} - Substring methods
|
||||
*
|
||||
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
||||
* @author Apache Software Foundation
|
||||
* @author <a href="mailto:ridesmet@users.sourceforge.net">Ringo De Smet</a>
|
||||
* @author Phil Steitz
|
||||
* @version $Id$
|
||||
|
|
|
@ -24,7 +24,7 @@ import junit.textui.TestRunner;
|
|||
/**
|
||||
* Unit tests {@link org.apache.commons.lang.StringUtils} - Substring methods
|
||||
*
|
||||
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
||||
* @author Apache Software Foundation
|
||||
* @author Michael Davey
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -24,7 +24,7 @@ import junit.textui.TestRunner;
|
|||
/**
|
||||
* Unit tests {@link org.apache.commons.lang.StringUtils} - Substring methods
|
||||
*
|
||||
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
||||
* @author Apache Software Foundation
|
||||
* @author <a href="mailto:ridesmet@users.sourceforge.net">Ringo De Smet</a>
|
||||
* @author Phil Steitz
|
||||
* @version $Id$
|
||||
|
|
|
@ -32,8 +32,8 @@ import junit.textui.TestRunner;
|
|||
/**
|
||||
* Unit tests {@link org.apache.commons.lang.StringUtils}.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author Daniel L. Rall
|
||||
* @author Stephen Colebourne
|
||||
* @author <a href="mailto:ridesmet@users.sourceforge.net">Ringo De Smet</a>
|
||||
* @author <a href="mailto:fredrik@westermarck.com>Fredrik Westermarck</a>
|
||||
* @author Holger Krauth
|
||||
|
|
|
@ -24,7 +24,7 @@ import junit.textui.TestRunner;
|
|||
/**
|
||||
* Unit tests {@link org.apache.commons.lang.StringUtils} - Trim/Empty methods
|
||||
*
|
||||
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
||||
* @author Apache Software Foundation
|
||||
* @author <a href="mailto:ridesmet@users.sourceforge.net">Ringo De Smet</a>
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -35,7 +35,7 @@ import junit.textui.TestRunner;
|
|||
*
|
||||
* Only limited testing can be performed.
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @author Tetsuya Kaneuchi
|
||||
* @author Gary D. Gregory
|
||||
* @version $Id$
|
||||
|
|
|
@ -33,7 +33,7 @@ import junit.textui.TestRunner;
|
|||
/**
|
||||
* Unit tests {@link org.apache.commons.lang.Validate}.
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @author Apache Software Foundation
|
||||
* @author Norm Deane
|
||||
* @version $Id$
|
||||
*/
|
||||
|
|
|
@ -26,8 +26,8 @@ import junit.framework.TestSuite;
|
|||
/**
|
||||
* Unit tests for WordUtils class.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author <a href="mailto:ridesmet@users.sourceforge.net">Ringo De Smet</a>
|
||||
* @author Stephen Colebourne
|
||||
* @version $Id$
|
||||
*/
|
||||
public class WordUtilsTest extends TestCase {
|
||||
|
|
|
@ -26,8 +26,8 @@ import junit.textui.TestRunner;
|
|||
/**
|
||||
* Unit tests {@link org.apache.commons.lang.builder.CompareToBuilder}.
|
||||
*
|
||||
* @author Apache Software Foundation
|
||||
* @author <a href="mailto:sdowney@panix.com">Steve Downey</a>
|
||||
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
||||
* @version $Id$
|
||||
*/
|
||||
public class CompareToBuilderTest extends TestCase {
|
||||
|
|
|
@ -29,7 +29,7 @@ import junit.textui.TestRunner;
|
|||
/**
|
||||
* Unit tests {@link org.apache.commons.lang.builder.DefaultToStringStyleTest}.
|
||||
*
|
||||
* @author <a href="mailto:scolebourne@joda.org">Stephen Colebourne</a>
|
||||
* @author Apache Software Foundation
|
||||
* @version $Id$
|
||||
*/
|
||||
public class DefaultToStringStyleTest extends TestCase {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue