|
|||||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |
awt.toolkit
System Property.
int[]
) and
primitive wrapper arrays (like Integer[]
).Field
.
CharSet
.
Throwable
objects.
IllegalArgumentException
if the argument collection is null
or has elements that
are not of type clazz
or a subclass.
IllegalArgumentException
if the argument collection is
null
or has elements that are not of type clazz
or a subclass.
builder
the comparison of
two Object
s.
builder
the comparison of
two Object
s.
builder
the comparison of
two long
s.
builder
the comparison of
two int
s.
builder
the comparison of
two short
s.
builder
the comparison of
two char
s.
builder
the comparison of
two byte
s.
builder
the comparison of
two double
s.
builder
the comparison of
two float
s.
builder
the comparison of
two booleans
s.
builder
the deep comparison of
two Object
arrays.
builder
the deep comparison of
two Object
arrays.
builder
the deep comparison of
two long
arrays.
builder
the deep comparison of
two int
arrays.
builder
the deep comparison of
two short
arrays.
builder
the deep comparison of
two char
arrays.
builder
the deep comparison of
two byte
arrays.
builder
the deep comparison of
two double
arrays.
builder
the deep comparison of
two float
arrays.
builder
the deep comparison of
two boolean
arrays.
Object
s are equal using their
equals
method.
long
s are equal.
int
s are equal.
short
s are equal.
char
s are equal.
byte
s are equal.
double
s are equal by testing that the
pattern of bits returned by doubleToLong
are equal.
float
s are equal byt testing that the
pattern of bits returned by doubleToLong are equal.
booleans
s are equal.
Object
arrays.
long
.
int
.
short
.
char
.
byte
.
double
.
float
.
boolean
.
hashCode
for an Object
.
hashCode
for a long
.
hashCode
for an int
.
hashCode
for a short
.
hashCode
for a char
.
hashCode
for a byte
.
hashCode
for a double
.
hashCode
for a float
.
hashCode
for a boolean
.
hashCode
for an Object
array.
hashCode
for a long
array.
hashCode
for an int
array.
hashCode
for a short
array.
hashCode
for a char
array.
hashCode
for a byte
array.
hashCode
for a double
array.
hashCode
for a float
array.
hashCode
for a boolean
array.
toString
a boolean
value.
toString
a boolean
array.
toString
a byte
value.
toString
a byte
array.
toString
a char
value.
toString
a char
array.
toString
a double
value.
toString
a double
array.
toString
a float
value.
toString
a float
array.
toString
an int
value.
toString
an int
array.
toString
a long
value.
toString
a long
array.
toString
an Object
value.
toString
an Object
array.
toString
a short
value.
toString
a short
array.
toString
a boolean
value.
toString
a boolean
array.
toString
a boolean
array.
toString
an byte
value.
toString
a byte
array.
toString
a byte
array.
toString
a char
value.
toString
a char
array.
toString
a char
array.
toString
a double
value.
toString
a double
array.
toString
a double
array.
toString
an float
value.
toString
a float
array.
toString
a float
array.
toString
an int
value.
toString
an int
array.
toString
an int
array.
toString
a long
value.
toString
a long
array.
toString
a long
array.
toString
an Object
value.
toString
an Object
value.
toString
an Object
array.
toString
an Object
array.
toString
an short
value.
toString
a short
array.
toString
a short
array.
toString
an Object
value, printing the full toString
of the
Object
passed in.
toString
a long
value.
toString
an int
value.
toString
a short
value.
toString
a byte
value.
toString
a char
value.
toString
a double
value.
toString
a float
value.
toString
a boolean
value.
toString
an Object
array.
toString
a long
array.
toString
an int
array.
toString
a short
array.
toString
a byte
array.
toString
a char
array.
toString
a double
array.
toString
a float
array.
toString
a boolean
array.
Object toString()
method.
toString
the class name.
toString
the content end.
toString
the content start.
toString
an Object
value, printing the full detail of the Object
.
toString
a Collection
.
toString
a Map.
appendDetail(StringBuffer, String, long) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
a long
value.
appendDetail(StringBuffer, String, int) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
an int
value.
appendDetail(StringBuffer, String, short) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
a short
value.
appendDetail(StringBuffer, String, byte) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
a byte
value.
appendDetail(StringBuffer, String, char) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
a char
value.
appendDetail(StringBuffer, String, double) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
a double
value.
appendDetail(StringBuffer, String, float) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
a float
value.
appendDetail(StringBuffer, String, boolean) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
a boolean
value.
appendDetail(StringBuffer, String, Object[]) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
the detail of an
Object
array.
appendDetail(StringBuffer, String, long[]) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
the detail of a
long
array.
appendDetail(StringBuffer, String, int[]) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
the detail of an
int
array.
appendDetail(StringBuffer, String, short[]) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
the detail of a
short
array.
appendDetail(StringBuffer, String, byte[]) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
the detail of a
byte
array.
appendDetail(StringBuffer, String, char[]) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
the detail of a
char
array.
appendDetail(StringBuffer, String, double[]) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
the detail of a
double
array.
appendDetail(StringBuffer, String, float[]) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
the detail of a
float
array.
appendDetail(StringBuffer, String, boolean[]) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
the detail of a
boolean
array.
appendEnd(StringBuffer, Object) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
the end of data indicator.
appendFieldEnd(StringBuffer, String) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString the field end.
appendFieldSeparator(StringBuffer) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
the field separator.
appendFieldStart(StringBuffer, String) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
the field start.
appendFieldsIn(Class) -
Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder
Appends the fields and values defined by the given object of the given
Class.
appendIdentityHashCode(StringBuffer, Object) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append the System.identityHashCode(java.lang.Object)
.
appendIdentityToString(StringBuffer, Object) -
Static method in class org.apache.commons.lang.ObjectUtils
Appends the toString that would be produced by Object
if a class did not override toString itself.
appendInternal(StringBuffer, String, Object, boolean) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
an Object
,
correctly interpreting its type.
appendNullText(StringBuffer, String) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
an indicator for null
.
appendStart(StringBuffer, Object) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
the start of data indicator.
appendSummary(StringBuffer, String, Object) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
an Object
value, printing a summary of the Object
.
appendSummary(StringBuffer, String, Object[]) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
a summary of an
Object
array.
appendSummary(StringBuffer, String, long[]) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
a summary of a
long
array.
appendSummary(StringBuffer, String, int[]) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
a summary of an
int
array.
appendSummary(StringBuffer, String, short[]) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
a summary of a
short
array.
appendSummary(StringBuffer, String, byte[]) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
a summary of a
byte
array.
appendSummary(StringBuffer, String, char[]) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
a summary of a
char
array.
appendSummary(StringBuffer, String, double[]) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
a summary of a
double
array.
appendSummary(StringBuffer, String, float[]) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
a summary of a
float
array.
appendSummary(StringBuffer, String, boolean[]) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
a summary of a
boolean
array.
appendSummarySize(StringBuffer, String, int) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
a size summary.
appendSuper(int) -
Method in class org.apache.commons.lang.builder.CompareToBuilder
Appends to the builder
the compareTo(Object)
result of the superclass.
appendSuper(boolean) -
Method in class org.apache.commons.lang.builder.EqualsBuilder
Adds the result of super.equals()
to this builder.
appendSuper(int) -
Method in class org.apache.commons.lang.builder.HashCodeBuilder
Adds the result of super.hashCode() to this builder.
appendSuper(String) -
Method in class org.apache.commons.lang.builder.ToStringBuilder
Append the toString
from the superclass.
appendSuper(StringBuffer, String) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
the superclass toString.
appendToString(String) -
Method in class org.apache.commons.lang.builder.ToStringBuilder
Append the toString
from another object.
appendToString(StringBuffer, String) -
Method in class org.apache.commons.lang.builder.ToStringStyle
Append to the toString
another toString.
applyRules(Calendar, StringBuffer) -
Method in class org.apache.commons.lang.time.FastDateFormat
Performs the formatting by applying the rules to the
specified calendar.
B
- BYTE_MINUS_ONE -
Static variable in class org.apache.commons.lang.math.NumberUtils
- Reusable Byte constant for minus one.
- BYTE_ONE -
Static variable in class org.apache.commons.lang.math.NumberUtils
- Reusable Byte constant for one.
- BYTE_ZERO -
Static variable in class org.apache.commons.lang.math.NumberUtils
- Reusable Byte constant for zero.
- BitField - class org.apache.commons.lang.BitField.
- Operations on bit-mapped fields.
- BitField(int) -
Constructor for class org.apache.commons.lang.BitField
- Creates a BitField instance.
- BooleanUtils - class org.apache.commons.lang.BooleanUtils.
- Operations on boolean primitives and Boolean objects.
- BooleanUtils() -
Constructor for class org.apache.commons.lang.BooleanUtils
BooleanUtils
instances should NOT be constructed in standard programming.
- byteValue() -
Method in class org.apache.commons.lang.mutable.MutableByte
- Returns the value of this MutableByte as a byte.
C
- COMMON -
Static variable in class org.apache.commons.lang.CharSet
- A Map of the common cases used in the factory.
- CharEncoding - class org.apache.commons.lang.CharEncoding.
-
Character encoding names required of every implementation of the Java platform.
- CharEncoding() -
Constructor for class org.apache.commons.lang.CharEncoding
-
- CharRange - class org.apache.commons.lang.CharRange.
- A contiguous range of characters, optionally negated.
- CharRange(char) -
Constructor for class org.apache.commons.lang.CharRange
- Constructs a
CharRange
over a single character.
- CharRange(char, boolean) -
Constructor for class org.apache.commons.lang.CharRange
- Constructs a
CharRange
over a single character,
optionally negating the range.
- CharRange(char, char) -
Constructor for class org.apache.commons.lang.CharRange
- Constructs a
CharRange
over a set of characters.
- CharRange(char, char, boolean) -
Constructor for class org.apache.commons.lang.CharRange
- Constructs a
CharRange
over a set of characters,
optionally negating the range.
- CharSet - class org.apache.commons.lang.CharSet.
- A set of characters.
- CharSet(String) -
Constructor for class org.apache.commons.lang.CharSet
- Constructs a new CharSet using the set syntax.
- CharSet(String[]) -
Constructor for class org.apache.commons.lang.CharSet
- Constructs a new CharSet using the set syntax.
- CharSetUtils - class org.apache.commons.lang.CharSetUtils.
- Operations on
CharSet
s. - CharSetUtils() -
Constructor for class org.apache.commons.lang.CharSetUtils
- CharSetUtils instances should NOT be constructed in standard programming.
- CharUtils - class org.apache.commons.lang.CharUtils.
- Operations on char primitives and Character objects.
- CharUtils() -
Constructor for class org.apache.commons.lang.CharUtils
CharUtils
instances should NOT be constructed in standard programming.
- ClassUtils - class org.apache.commons.lang.ClassUtils.
- Operates on classes without using reflection.
- ClassUtils() -
Constructor for class org.apache.commons.lang.ClassUtils
- ClassUtils instances should NOT be constructed in standard programming.
- CompareToBuilder - class org.apache.commons.lang.builder.CompareToBuilder.
- Assists in implementing
Comparable.compareTo(Object)
methods. - CompareToBuilder() -
Constructor for class org.apache.commons.lang.builder.CompareToBuilder
- Constructor for CompareToBuilder.
- capitalise(String) -
Static method in class org.apache.commons.lang.StringUtils
- Deprecated. Use the standardly named
StringUtils.capitalize(String)
.
Method will be removed in Commons Lang 3.0.
- capitaliseAllWords(String) -
Static method in class org.apache.commons.lang.StringUtils
- Deprecated. Use the relocated
WordUtils.capitalize(String)
.
Method will be removed in Commons Lang 3.0.
- capitalize(String) -
Static method in class org.apache.commons.lang.StringUtils
- Capitalizes a String changing the first letter to title case as
per
Character.toTitleCase(char)
.
- capitalize(String) -
Static method in class org.apache.commons.lang.WordUtils
- Capitalizes all the whitespace separated words in a String.
- capitalize(String, char[]) -
Static method in class org.apache.commons.lang.WordUtils
- Capitalizes all the delimiter separated words in a String.
- capitalizeFully(String) -
Static method in class org.apache.commons.lang.WordUtils
- Converts all the whitespace separated words in a String into capitalized words,
that is each word is made up of a titlecase character and then a series of
lowercase characters.
- capitalizeFully(String, char[]) -
Static method in class org.apache.commons.lang.WordUtils
- Converts all the delimiter separated words in a String into capitalized words,
that is each word is made up of a titlecase character and then a series of
lowercase characters.
- center(String, int) -
Static method in class org.apache.commons.lang.StringUtils
- Centers a String in a larger String of size
size
using the space character (' ').
- center(String, int, char) -
Static method in class org.apache.commons.lang.StringUtils
- Centers a String in a larger String of size
size
.
- center(String, int, String) -
Static method in class org.apache.commons.lang.StringUtils
- Centers a String in a larger String of size
size
.
- chomp(String) -
Static method in class org.apache.commons.lang.StringUtils
- Removes one newline from end of a String if it's there,
otherwise leave it alone.
- chomp(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Removes
separator
from the end of
str
if it's there, otherwise leave it alone.
- chompLast(String) -
Static method in class org.apache.commons.lang.StringUtils
- Deprecated. Use
StringUtils.chomp(String)
instead.
Method will be removed in Commons Lang 3.0.
- chompLast(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Deprecated. Use
StringUtils.chomp(String,String)
instead.
Method will be removed in Commons Lang 3.0.
- chop(String) -
Static method in class org.apache.commons.lang.StringUtils
- Remove the last character from a String.
- chopNewline(String) -
Static method in class org.apache.commons.lang.StringUtils
- Deprecated. Use
StringUtils.chomp(String)
instead.
Method will be removed in Commons Lang 3.0.
- clean(String) -
Static method in class org.apache.commons.lang.StringUtils
- Deprecated. Use the clearer named
StringUtils.trimToEmpty(String)
.
Method will be removed in Commons Lang 3.0.
- clear(int) -
Method in class org.apache.commons.lang.BitField
- Clears the bits.
- clearByte(byte) -
Method in class org.apache.commons.lang.BitField
- Clears the bits.
- clearShort(short) -
Method in class org.apache.commons.lang.BitField
- Clears the bits.
- clone(Object[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Shallow clones an array returning a typecast result and handling
null
.
- clone(long[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Clones an array returning a typecast result and handling
null
.
- clone(int[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Clones an array returning a typecast result and handling
null
.
- clone(short[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Clones an array returning a typecast result and handling
null
.
- clone(char[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Clones an array returning a typecast result and handling
null
.
- clone(byte[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Clones an array returning a typecast result and handling
null
.
- clone(double[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Clones an array returning a typecast result and handling
null
.
- clone(float[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Clones an array returning a typecast result and handling
null
.
- clone(boolean[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Clones an array returning a typecast result and handling
null
.
- clone(Serializable) -
Static method in class org.apache.commons.lang.SerializationUtils
- Deep clone an
Object
using serialization.
- compare(double, double) -
Static method in class org.apache.commons.lang.NumberUtils
- Deprecated. Compares two
doubles
for order.
- compare(float, float) -
Static method in class org.apache.commons.lang.NumberUtils
- Deprecated. Compares two floats for order.
- compare(double, double) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Compares two
doubles
for order.
- compare(float, float) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Compares two floats for order.
- compareTo(Object) -
Method in class org.apache.commons.lang.enum.Enum
- Deprecated. Tests for order.
- compareTo(Object) -
Method in class org.apache.commons.lang.enum.ValuedEnum
- Deprecated. Tests for order.
- compareTo(Object) -
Method in class org.apache.commons.lang.enums.Enum
- Tests for order.
- compareTo(Object) -
Method in class org.apache.commons.lang.enums.ValuedEnum
- Tests for order.
- compareTo(Object) -
Method in class org.apache.commons.lang.math.Fraction
- Compares this object to another based on size.
- compareTo(Object) -
Method in class org.apache.commons.lang.mutable.MutableByte
- Compares this mutable to another in ascending order.
- compareTo(Object) -
Method in class org.apache.commons.lang.mutable.MutableDouble
- Compares this mutable to another in ascending order.
- compareTo(Object) -
Method in class org.apache.commons.lang.mutable.MutableFloat
- Compares this mutable to another in ascending order.
- compareTo(Object) -
Method in class org.apache.commons.lang.mutable.MutableInt
- Compares this mutable to another in ascending order.
- compareTo(Object) -
Method in class org.apache.commons.lang.mutable.MutableLong
- Compares this mutable to another in ascending order.
- compareTo(Object) -
Method in class org.apache.commons.lang.mutable.MutableShort
- Compares this mutable to another in ascending order.
- concatenate(Object[]) -
Static method in class org.apache.commons.lang.StringUtils
- Deprecated. Use the better named
StringUtils.join(Object[])
instead.
Method will be removed in Commons Lang 3.0.
- contains(Object[], Object) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks if the object is in the given array.
- contains(long[], long) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks if the value is in the given array.
- contains(int[], int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks if the value is in the given array.
- contains(short[], short) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks if the value is in the given array.
- contains(char[], char) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks if the value is in the given array.
- contains(byte[], byte) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks if the value is in the given array.
- contains(double[], double) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks if the value is in the given array.
- contains(double[], double, double) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks if a value falling within the given tolerance is in the
given array.
- contains(float[], float) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks if the value is in the given array.
- contains(boolean[], boolean) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks if the value is in the given array.
- contains(char) -
Method in class org.apache.commons.lang.CharRange
- Is the character specified contained in this range.
- contains(CharRange) -
Method in class org.apache.commons.lang.CharRange
- Are all the characters of the passed in range contained in
this range.
- contains(char) -
Method in class org.apache.commons.lang.CharSet
- Does the
CharSet
contain the specified
character ch
.
- contains(String, char) -
Static method in class org.apache.commons.lang.StringUtils
- Checks if String contains a search character, handling
null
.
- contains(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Checks if String contains a search String, handling
null
.
- containsDouble(double) -
Method in class org.apache.commons.lang.math.DoubleRange
- Tests whether the specified
double
occurs within
this range using double
comparison.
- containsDouble(Number) -
Method in class org.apache.commons.lang.math.Range
- Tests whether the specified
Number
occurs within
this range using double
comparison..
- containsDouble(double) -
Method in class org.apache.commons.lang.math.Range
- Tests whether the specified
double
occurs within
this range using double
comparison.
- containsFloat(float) -
Method in class org.apache.commons.lang.math.FloatRange
- Tests whether the specified
float
occurs within
this range using float
comparison.
- containsFloat(Number) -
Method in class org.apache.commons.lang.math.Range
- Tests whether the specified
Number
occurs within
this range using float
comparison.
- containsFloat(float) -
Method in class org.apache.commons.lang.math.Range
- Tests whether the specified
float
occurs within
this range using float
comparison.
- containsInteger(int) -
Method in class org.apache.commons.lang.math.IntRange
- Tests whether the specified
int
occurs within
this range using int
comparison.
- containsInteger(Number) -
Method in class org.apache.commons.lang.math.Range
- Tests whether the specified
Number
occurs within
this range using int
comparison..
- containsInteger(int) -
Method in class org.apache.commons.lang.math.Range
- Tests whether the specified
int
occurs within
this range using int
comparison.
- containsLong(long) -
Method in class org.apache.commons.lang.math.LongRange
- Tests whether the specified
long
occurs within
this range using long
comparison.
- containsLong(Number) -
Method in class org.apache.commons.lang.math.Range
- Tests whether the specified
Number
occurs within
this range using long
comparison..
- containsLong(long) -
Method in class org.apache.commons.lang.math.Range
- Tests whether the specified
long
occurs within
this range using long
comparison.
- containsNone(String, char[]) -
Static method in class org.apache.commons.lang.StringUtils
- Checks that the String does not contain certain characters.
- containsNone(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Checks that the String does not contain certain characters.
- containsNumber(Number) -
Method in class org.apache.commons.lang.math.DoubleRange
- Tests whether the specified
number
occurs within
this range using double
comparison.
- containsNumber(Number) -
Method in class org.apache.commons.lang.math.FloatRange
- Tests whether the specified
number
occurs within
this range using float
comparison.
- containsNumber(Number) -
Method in class org.apache.commons.lang.math.IntRange
- Tests whether the specified
number
occurs within
this range using int
comparison.
- containsNumber(Number) -
Method in class org.apache.commons.lang.math.LongRange
- Tests whether the specified
number
occurs within
this range using long
comparison.
- containsNumber(Number) -
Method in class org.apache.commons.lang.math.NumberRange
- Tests whether the specified
number
occurs within
this range.
- containsNumber(Number) -
Method in class org.apache.commons.lang.math.Range
- Tests whether the specified
Number
occurs within
this range.
- containsOnly(String, char[]) -
Static method in class org.apache.commons.lang.StringUtils
- Checks if the String contains only certain characters.
- containsOnly(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Checks if the String contains only certain characters.
- containsRange(Range) -
Method in class org.apache.commons.lang.math.DoubleRange
- Tests whether the specified range occurs entirely within this range
using
double
comparison.
- containsRange(Range) -
Method in class org.apache.commons.lang.math.FloatRange
- Tests whether the specified range occurs entirely within this range
using
float
comparison.
- containsRange(Range) -
Method in class org.apache.commons.lang.math.IntRange
- Tests whether the specified range occurs entirely within this range
using
int
comparison.
- containsRange(Range) -
Method in class org.apache.commons.lang.math.LongRange
- Tests whether the specified range occurs entirely within this range
using
long
comparison.
- containsRange(Range) -
Method in class org.apache.commons.lang.math.Range
- Tests whether the specified range occurs entirely within this range.
- convertClassNamesToClasses(List) -
Static method in class org.apache.commons.lang.ClassUtils
- Given a
List
of class names, this method converts them into classes.
- convertClassesToClassNames(List) -
Static method in class org.apache.commons.lang.ClassUtils
- Given a
List
of Class
objects, this method converts
them into class names.
- count(String, String) -
Static method in class org.apache.commons.lang.CharSetUtils
- Takes an argument in set-syntax, see evaluateSet,
and returns the number of characters present in the specified string.
- count(String, String[]) -
Static method in class org.apache.commons.lang.CharSetUtils
- Takes an argument in set-syntax, see evaluateSet,
and returns the number of characters present in the specified string.
- countMatches(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Counts how many times the substring appears in the larger String.
- createBigDecimal(String) -
Static method in class org.apache.commons.lang.NumberUtils
- Deprecated. Convert a
String
to a BigDecimal
.
- createBigDecimal(String) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Convert a
String
to a BigDecimal
.
- createBigInteger(String) -
Static method in class org.apache.commons.lang.NumberUtils
- Deprecated. Convert a
String
to a BigInteger
.
- createBigInteger(String) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Convert a
String
to a BigInteger
.
- createDouble(String) -
Static method in class org.apache.commons.lang.NumberUtils
- Deprecated. Convert a
String
to a Double
.
- createDouble(String) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Convert a
String
to a Double
.
- createFloat(String) -
Static method in class org.apache.commons.lang.NumberUtils
- Deprecated. Convert a
String
to a Float
.
- createFloat(String) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Convert a
String
to a Float
.
- createInteger(String) -
Static method in class org.apache.commons.lang.NumberUtils
- Deprecated. Convert a
String
to a Integer
, handling
hex and octal notations.
- createInteger(String) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Convert a
String
to a Integer
, handling
hex and octal notations.
- createLong(String) -
Static method in class org.apache.commons.lang.NumberUtils
- Deprecated. Convert a
String
to a Long
.
- createLong(String) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Convert a
String
to a Long
.
- createNumber(String) -
Static method in class org.apache.commons.lang.NumberUtils
- Deprecated. Turns a string value into a java.lang.Number.
- createNumber(String) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Turns a string value into a java.lang.Number.
D
- DEFAULT_STYLE -
Static variable in class org.apache.commons.lang.builder.ToStringStyle
- The default toString style.
- DOUBLE_MINUS_ONE -
Static variable in class org.apache.commons.lang.math.NumberUtils
- Reusable Double constant for minus one.
- DOUBLE_ONE -
Static variable in class org.apache.commons.lang.math.NumberUtils
- Reusable Double constant for one.
- DOUBLE_ZERO -
Static variable in class org.apache.commons.lang.math.NumberUtils
- Reusable Double constant for zero.
- DateFormatUtils - class org.apache.commons.lang.time.DateFormatUtils.
- Date and time formatting utilities and constants.
- DateFormatUtils() -
Constructor for class org.apache.commons.lang.time.DateFormatUtils
- DateFormatUtils instances should NOT be constructed in standard programming.
- DateUtils - class org.apache.commons.lang.time.DateUtils.
- A suite of utilities surrounding the use of the
Calendar
and Date
object. - DateUtils() -
Constructor for class org.apache.commons.lang.time.DateUtils
DateUtils
instances should NOT be constructed in
standard programming.
- DoubleRange - class org.apache.commons.lang.math.DoubleRange.
DoubleRange
represents an inclusive range of double
s.- DoubleRange(double) -
Constructor for class org.apache.commons.lang.math.DoubleRange
- Constructs a new
DoubleRange
using the specified
number as both the minimum and maximum in this range.
- DoubleRange(Number) -
Constructor for class org.apache.commons.lang.math.DoubleRange
- Constructs a new
DoubleRange
using the specified
number as both the minimum and maximum in this range.
- DoubleRange(double, double) -
Constructor for class org.apache.commons.lang.math.DoubleRange
- Constructs a new
DoubleRange
with the specified
minimum and maximum numbers (both inclusive).
- DoubleRange(Number, Number) -
Constructor for class org.apache.commons.lang.math.DoubleRange
- Constructs a new
DoubleRange
with the specified
minimum and maximum numbers (both inclusive).
- DurationFormatUtils - class org.apache.commons.lang.time.DurationFormatUtils.
- Duration formatting utilities and constants.
- DurationFormatUtils() -
Constructor for class org.apache.commons.lang.time.DurationFormatUtils
- DurationFormatUtils instances should NOT be constructed in standard programming.
- defaultIfEmpty(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Returns either the passed in String, or if the String is
empty or
null
, the value of defaultStr
.
- defaultIfNull(Object, Object) -
Static method in class org.apache.commons.lang.ObjectUtils
- Returns a default value if the object passed is
null
.
- defaultString(String) -
Static method in class org.apache.commons.lang.StringUtils
- Returns either the passed in String,
or if the String is
null
, an empty String ("").
- defaultString(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Returns either the passed in String, or if the String is
null
, the value of defaultStr
.
- delegate -
Variable in class org.apache.commons.lang.exception.NestableError
- The helper instance which contains much of the code which we
delegate to.
- delegate -
Variable in class org.apache.commons.lang.exception.NestableException
- The helper instance which contains much of the code which we
delegate to.
- delegate -
Variable in class org.apache.commons.lang.exception.NestableRuntimeException
- The helper instance which contains much of the code which we
delegate to.
- delete(String, String) -
Static method in class org.apache.commons.lang.CharSetUtils
- Takes an argument in set-syntax, see evaluateSet,
and deletes any of characters present in the specified string.
- delete(String, String[]) -
Static method in class org.apache.commons.lang.CharSetUtils
- Takes an argument in set-syntax, see evaluateSet,
and deletes any of characters present in the specified string.
- deleteSpaces(String) -
Static method in class org.apache.commons.lang.StringUtils
- Deprecated. Use the better localized
StringUtils.deleteWhitespace(String)
.
Method will be removed in Commons Lang 3.0.
- deleteWhitespace(String) -
Static method in class org.apache.commons.lang.StringUtils
- Deletes all whitespaces from a String as defined by
Character.isWhitespace(char)
.
- deserialize(InputStream) -
Static method in class org.apache.commons.lang.SerializationUtils
- Deserializes an
Object
from the specified stream.
- deserialize(byte[]) -
Static method in class org.apache.commons.lang.SerializationUtils
- Deserializes a single
Object
from an array of bytes.
- difference(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Compares two Strings, and returns the portion where they differ.
- divideBy(Fraction) -
Method in class org.apache.commons.lang.math.Fraction
- Divide the value of this fraction by another.
- doubleValue() -
Method in class org.apache.commons.lang.math.Fraction
- Gets the fraction as a
double
.
- doubleValue() -
Method in class org.apache.commons.lang.mutable.MutableByte
- Returns the value of this MutableByte as a double.
- doubleValue() -
Method in class org.apache.commons.lang.mutable.MutableDouble
- Returns the value of this MutableDouble as a double.
- doubleValue() -
Method in class org.apache.commons.lang.mutable.MutableFloat
- Returns the value of this MutableFloat as a double.
- doubleValue() -
Method in class org.apache.commons.lang.mutable.MutableInt
- Returns the value of this MutableInt as a double.
- doubleValue() -
Method in class org.apache.commons.lang.mutable.MutableLong
- Returns the value of this MutableLong as a double.
- doubleValue() -
Method in class org.apache.commons.lang.mutable.MutableShort
- Returns the value of this MutableShort as a double.
E
- EMPTY -
Static variable in class org.apache.commons.lang.CharSet
- A CharSet defining no characters.
- EMPTY -
Static variable in class org.apache.commons.lang.StringUtils
- The empty String
""
.
- EMPTY_BOOLEAN_ARRAY -
Static variable in class org.apache.commons.lang.ArrayUtils
- An empty immutable
boolean
array.
- EMPTY_BOOLEAN_OBJECT_ARRAY -
Static variable in class org.apache.commons.lang.ArrayUtils
- An empty immutable
Boolean
array.
- EMPTY_BYTE_ARRAY -
Static variable in class org.apache.commons.lang.ArrayUtils
- An empty immutable
byte
array.
- EMPTY_BYTE_OBJECT_ARRAY -
Static variable in class org.apache.commons.lang.ArrayUtils
- An empty immutable
Byte
array.
- EMPTY_CHARACTER_OBJECT_ARRAY -
Static variable in class org.apache.commons.lang.ArrayUtils
- An empty immutable
Character
array.
- EMPTY_CHAR_ARRAY -
Static variable in class org.apache.commons.lang.ArrayUtils
- An empty immutable
char
array.
- EMPTY_CLASS_ARRAY -
Static variable in class org.apache.commons.lang.ArrayUtils
- An empty immutable
Class
array.
- EMPTY_DOUBLE_ARRAY -
Static variable in class org.apache.commons.lang.ArrayUtils
- An empty immutable
double
array.
- EMPTY_DOUBLE_OBJECT_ARRAY -
Static variable in class org.apache.commons.lang.ArrayUtils
- An empty immutable
Double
array.
- EMPTY_FLOAT_ARRAY -
Static variable in class org.apache.commons.lang.ArrayUtils
- An empty immutable
float
array.
- EMPTY_FLOAT_OBJECT_ARRAY -
Static variable in class org.apache.commons.lang.ArrayUtils
- An empty immutable
Float
array.
- EMPTY_INTEGER_OBJECT_ARRAY -
Static variable in class org.apache.commons.lang.ArrayUtils
- An empty immutable
Integer
array.
- EMPTY_INT_ARRAY -
Static variable in class org.apache.commons.lang.ArrayUtils
- An empty immutable
int
array.
- EMPTY_LONG_ARRAY -
Static variable in class org.apache.commons.lang.ArrayUtils
- An empty immutable
long
array.
- EMPTY_LONG_OBJECT_ARRAY -
Static variable in class org.apache.commons.lang.ArrayUtils
- An empty immutable
Long
array.
- EMPTY_OBJECT_ARRAY -
Static variable in class org.apache.commons.lang.ArrayUtils
- An empty immutable
Object
array.
- EMPTY_SHORT_ARRAY -
Static variable in class org.apache.commons.lang.ArrayUtils
- An empty immutable
short
array.
- EMPTY_SHORT_OBJECT_ARRAY -
Static variable in class org.apache.commons.lang.ArrayUtils
- An empty immutable
Short
array.
- EMPTY_STRING_ARRAY -
Static variable in class org.apache.commons.lang.ArrayUtils
- An empty immutable
String
array.
- Enum - class org.apache.commons.lang.enum.Enum.
- Deprecated. Replaced by
org.apache.commons.lang.enums.Enum
and will be removed in version 3.0. All classes in this package are deprecated and repackaged to
org.apache.commons.lang.enums
since enum
is a Java 1.5 keyword. - Enum(String) -
Constructor for class org.apache.commons.lang.enum.Enum
- Deprecated. Constructor to add a new named item to the enumeration.
- Enum - class org.apache.commons.lang.enums.Enum.
- Abstract superclass for type-safe enums.
- Enum(String) -
Constructor for class org.apache.commons.lang.enums.Enum
- Constructor to add a new named item to the enumeration.
- EnumUtils - class org.apache.commons.lang.enum.EnumUtils.
- Deprecated. Replaced by
org.apache.commons.lang.enums.EnumUtils
and will be removed in version 3.0. All classes in this package are deprecated and repackaged to
org.apache.commons.lang.enums
since enum
is a Java 1.5 keyword. - EnumUtils() -
Constructor for class org.apache.commons.lang.enum.EnumUtils
- Deprecated. Public constructor.
- EnumUtils - class org.apache.commons.lang.enums.EnumUtils.
- Utility class for accessing and manipulating
Enum
s. - EnumUtils() -
Constructor for class org.apache.commons.lang.enums.EnumUtils
- Public constructor.
- EqualsBuilder - class org.apache.commons.lang.builder.EqualsBuilder.
- Assists in implementing
Object.equals(Object)
methods. - EqualsBuilder() -
Constructor for class org.apache.commons.lang.builder.EqualsBuilder
- Constructor for EqualsBuilder.
- ExceptionUtils - class org.apache.commons.lang.exception.ExceptionUtils.
- Provides utilities for manipulating and examining
Throwable
objects. - ExceptionUtils() -
Constructor for class org.apache.commons.lang.exception.ExceptionUtils
- Public constructor allows an instance of
ExceptionUtils
to be created, although that is not normally necessary.
- equals(Object) -
Method in class org.apache.commons.lang.CharRange
- Compares two CharRange objects, returning true if they represent
exactly the same range of characters defined in the same way.
- equals(Object) -
Method in class org.apache.commons.lang.CharSet
- Compares two CharSet objects, returning true if they represent
exactly the same set of characters defined in the same way.
- equals(Object) -
Method in class org.apache.commons.lang.NumberRange
- Deprecated. Indicates whether some other
Object
is
"equal" to this one.
- equals(Object, Object) -
Static method in class org.apache.commons.lang.ObjectUtils
- Compares two objects for equality, where either one or both
objects may be
null
.
- equals(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Compares two Strings, returning
true
if they are equal.
- equals(Object) -
Method in class org.apache.commons.lang.enum.Enum
- Deprecated. Tests for equality.
- equals(Object) -
Method in class org.apache.commons.lang.enums.Enum
- Tests for equality.
- equals(Object) -
Method in class org.apache.commons.lang.math.DoubleRange
- Compares this range to another object to test if they are equal.
- equals(Object) -
Method in class org.apache.commons.lang.math.FloatRange
- Compares this range to another object to test if they are equal.
- equals(Object) -
Method in class org.apache.commons.lang.math.Fraction
- Compares this fraction to another object to test if they are equal.
- equals(Object) -
Method in class org.apache.commons.lang.math.IntRange
- Compares this range to another object to test if they are equal.
- equals(Object) -
Method in class org.apache.commons.lang.math.LongRange
- Compares this range to another object to test if they are equal.
- equals(Object) -
Method in class org.apache.commons.lang.math.NumberRange
- Compares this range to another object to test if they are equal.
- equals(Object) -
Method in class org.apache.commons.lang.math.Range
- Compares this range to another object to test if they are equal.
- equals(Object) -
Method in class org.apache.commons.lang.mutable.MutableByte
- Compares this object against the specified object.
- equals(Object) -
Method in class org.apache.commons.lang.mutable.MutableDouble
- Compares this object against the specified object.
- equals(Object) -
Method in class org.apache.commons.lang.mutable.MutableFloat
- Compares this object against some other object.
- equals(Object) -
Method in class org.apache.commons.lang.mutable.MutableInt
- Compares this object to the specified object.
- equals(Object) -
Method in class org.apache.commons.lang.mutable.MutableLong
- Compares this object against the specified object.
- equals(Object) -
Method in class org.apache.commons.lang.mutable.MutableObject
- Compares this object against the specified object.
- equals(Object) -
Method in class org.apache.commons.lang.mutable.MutableShort
- Compares this object against the specified object.
- equals(Object) -
Method in class org.apache.commons.lang.time.FastDateFormat
- Compare two objects for equality.
- equalsIgnoreCase(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Compares two Strings, returning
true
if they are equal ignoring
the case.
- escape(String) -
Static method in class org.apache.commons.lang.StringUtils
- Deprecated. Use
StringEscapeUtils.escapeJava(String)
This method will be removed in Commons Lang 3.0
- escapeHtml(String) -
Static method in class org.apache.commons.lang.StringEscapeUtils
- Escapes the characters in a
String
using HTML entities.
- escapeJava(String) -
Static method in class org.apache.commons.lang.StringEscapeUtils
- Escapes the characters in a
String
using Java String rules.
- escapeJava(Writer, String) -
Static method in class org.apache.commons.lang.StringEscapeUtils
- Escapes the characters in a
String
using Java String rules to
a Writer
.
- escapeJavaScript(String) -
Static method in class org.apache.commons.lang.StringEscapeUtils
- Escapes the characters in a
String
using JavaScript String rules.
- escapeJavaScript(Writer, String) -
Static method in class org.apache.commons.lang.StringEscapeUtils
- Escapes the characters in a
String
using JavaScript String rules
to a Writer
.
- escapeSql(String) -
Static method in class org.apache.commons.lang.StringEscapeUtils
- Escapes the characters in a
String
to be suitable to pass to
an SQL query.
- escapeXml(String) -
Static method in class org.apache.commons.lang.StringEscapeUtils
- Escapes the characters in a
String
using XML entities.
- evaluateSet(String[]) -
Static method in class org.apache.commons.lang.CharSetUtils
- Deprecated. Use
CharSet.getInstance(String)
.
Method will be removed in Commons Lang 3.0.
F
- FILE_ENCODING -
Static variable in class org.apache.commons.lang.SystemUtils
- The
file.encoding
System Property.
- FILE_SEPARATOR -
Static variable in class org.apache.commons.lang.SystemUtils
- The
file.separator
System Property.
- FLOAT_MINUS_ONE -
Static variable in class org.apache.commons.lang.math.NumberUtils
- Reusable Float constant for minus one.
- FLOAT_ONE -
Static variable in class org.apache.commons.lang.math.NumberUtils
- Reusable Float constant for one.
- FLOAT_ZERO -
Static variable in class org.apache.commons.lang.math.NumberUtils
- Reusable Float constant for zero.
- FOUR_FIFTHS -
Static variable in class org.apache.commons.lang.math.Fraction
Fraction
representation of 4/5.
- FULL -
Static variable in class org.apache.commons.lang.time.FastDateFormat
- FULL locale dependent date or time style.
- FastDateFormat - class org.apache.commons.lang.time.FastDateFormat.
- FastDateFormat is a fast and thread-safe version of
SimpleDateFormat
. - FastDateFormat(String, TimeZone, Locale) -
Constructor for class org.apache.commons.lang.time.FastDateFormat
- Constructs a new FastDateFormat.
- FloatRange - class org.apache.commons.lang.math.FloatRange.
FloatRange
represents an inclusive range of float
s.- FloatRange(float) -
Constructor for class org.apache.commons.lang.math.FloatRange
- Constructs a new
FloatRange
using the specified
number as both the minimum and maximum in this range.
- FloatRange(Number) -
Constructor for class org.apache.commons.lang.math.FloatRange
- Constructs a new
FloatRange
using the specified
number as both the minimum and maximum in this range.
- FloatRange(float, float) -
Constructor for class org.apache.commons.lang.math.FloatRange
- Constructs a new
FloatRange
with the specified
minimum and maximum numbers (both inclusive).
- FloatRange(Number, Number) -
Constructor for class org.apache.commons.lang.math.FloatRange
- Constructs a new
FloatRange
with the specified
minimum and maximum numbers (both inclusive).
- Fraction - class org.apache.commons.lang.math.Fraction.
Fraction
is a Number
implementation that
stores fractions accurately.- floatValue() -
Method in class org.apache.commons.lang.math.Fraction
- Gets the fraction as a
float
.
- floatValue() -
Method in class org.apache.commons.lang.mutable.MutableByte
- Returns the value of this MutableByte as a float.
- floatValue() -
Method in class org.apache.commons.lang.mutable.MutableDouble
- Returns the value of this MutableDouble as a float.
- floatValue() -
Method in class org.apache.commons.lang.mutable.MutableFloat
- Returns the value of this MutableFloat as a float.
- floatValue() -
Method in class org.apache.commons.lang.mutable.MutableInt
- Returns the value of this MutableInt as a float.
- floatValue() -
Method in class org.apache.commons.lang.mutable.MutableLong
- Returns the value of this MutableLong as a float.
- floatValue() -
Method in class org.apache.commons.lang.mutable.MutableShort
- Returns the value of this MutableShort as a float.
- format(long, String) -
Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern.
- format(Date, String) -
Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern.
- format(long, String, TimeZone) -
Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern in a time zone.
- format(Date, String, TimeZone) -
Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern in a time zone.
- format(long, String, Locale) -
Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern in a locale.
- format(Date, String, Locale) -
Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern in a locale.
- format(long, String, TimeZone, Locale) -
Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern in a time zone and locale.
- format(Date, String, TimeZone, Locale) -
Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern in a time zone and locale.
- format(Object, StringBuffer, FieldPosition) -
Method in class org.apache.commons.lang.time.FastDateFormat
- Formats a
Date
, Calendar
or
Long
(milliseconds) object.
- format(long) -
Method in class org.apache.commons.lang.time.FastDateFormat
- Formats a millisecond
long
value.
- format(Date) -
Method in class org.apache.commons.lang.time.FastDateFormat
- Formats a
Date
object.
- format(Calendar) -
Method in class org.apache.commons.lang.time.FastDateFormat
- Formats a
Calendar
object.
- format(long, StringBuffer) -
Method in class org.apache.commons.lang.time.FastDateFormat
- Formats a milliseond
long
value into the
supplied StringBuffer
.
- format(Date, StringBuffer) -
Method in class org.apache.commons.lang.time.FastDateFormat
- Formats a
Date
object into the
supplied StringBuffer
.
- format(Calendar, StringBuffer) -
Method in class org.apache.commons.lang.time.FastDateFormat
- Formats a
Calendar
object into the
supplied StringBuffer
.
- formatDuration(long, String) -
Static method in class org.apache.commons.lang.time.DurationFormatUtils
- Get the time gap as a string, using the specified format, and padding with zeros and
using the default timezone.
- formatDuration(long, String, boolean) -
Static method in class org.apache.commons.lang.time.DurationFormatUtils
- Get the time gap as a string, using the specified format.
- formatDurationHMS(long) -
Static method in class org.apache.commons.lang.time.DurationFormatUtils
- Get the time gap as a string.
- formatDurationISO(long) -
Static method in class org.apache.commons.lang.time.DurationFormatUtils
- Get the time gap as a string.
- formatDurationWords(long, boolean, boolean) -
Static method in class org.apache.commons.lang.time.DurationFormatUtils
- Format an elapsed time into a plurialization correct string.
- formatPeriod(long, long, String) -
Static method in class org.apache.commons.lang.time.DurationFormatUtils
- Get the time gap as a string, using the specified format.
- formatPeriod(long, long, String, boolean, TimeZone) -
Static method in class org.apache.commons.lang.time.DurationFormatUtils
- Get the time gap as a string, using the specified format.
- formatPeriodISO(long, long) -
Static method in class org.apache.commons.lang.time.DurationFormatUtils
- Get the time gap as a string.
- formatUTC(long, String) -
Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern using the UTC time zone.
- formatUTC(Date, String) -
Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern using the UTC time zone.
- formatUTC(long, String, Locale) -
Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern using the UTC time zone.
- formatUTC(Date, String, Locale) -
Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern using the UTC time zone.
G
- getAllInterfaces(Class) -
Static method in class org.apache.commons.lang.ClassUtils
- Gets a
List
of all interfaces implemented by the given
class and its superclasses.
- getAllSuperclasses(Class) -
Static method in class org.apache.commons.lang.ClassUtils
- Gets a
List
of superclasses for the given class.
- getArrayEnd() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets the array end text.
- getArrayEnd() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets the array end text.
- getArraySeparator() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets the array separator text.
- getArraySeparator() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets the array separator text.
- getArrayStart() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets the array start text.
- getArrayStart() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets the array start text.
- getCause() -
Method in class org.apache.commons.lang.NotImplementedException
- Gets the root cause of this exception.
- getCause(Throwable) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Introspects the
Throwable
to obtain the cause.
- getCause(Throwable, String[]) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Introspects the
Throwable
to obtain the cause.
- getCause() -
Method in interface org.apache.commons.lang.exception.Nestable
- Returns the reference to the exception or error that caused the
exception implementing the
Nestable
to be thrown.
- getCause() -
Method in class org.apache.commons.lang.exception.NestableError
-
- getCause() -
Method in class org.apache.commons.lang.exception.NestableException
-
- getCause() -
Method in class org.apache.commons.lang.exception.NestableRuntimeException
-
- getCharRanges() -
Method in class org.apache.commons.lang.CharSet
- Gets the internal set as an array of CharRange objects.
- getChomp(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Deprecated. Use
StringUtils.substringAfterLast(String, String)
instead
(although this doesn't include the separator)
Method will be removed in Commons Lang 3.0.
- getContentEnd() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets the content end text.
- getContentEnd() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets the content end text.
- getContentStart() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets the content start text.
- getContentStart() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets the content start text.
- getDateInstance(int) -
Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a date formatter instance using the specified style in the
default time zone and locale.
- getDateInstance(int, Locale) -
Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a date formatter instance using the specified style and
locale in the default time zone.
- getDateInstance(int, TimeZone) -
Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a date formatter instance using the specified style and
time zone in the default locale.
- getDateInstance(int, TimeZone, Locale) -
Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a date formatter instance using the specified style, time
zone and locale.
- getDateTimeInstance(int, int) -
Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a date/time formatter instance using the specified style
in the default time zone and locale.
- getDateTimeInstance(int, int, Locale) -
Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a date/time formatter instance using the specified style and
locale in the default time zone.
- getDateTimeInstance(int, int, TimeZone) -
Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a date/time formatter instance using the specified style and
time zone in the default locale.
- getDateTimeInstance(int, int, TimeZone, Locale) -
Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a date/time formatter instance using the specified style,
time zone and locale.
- getDefaultStyle() -
Static method in class org.apache.commons.lang.builder.ToStringBuilder
- Gets the default
ToStringStyle
to use.
- getDenominator() -
Method in class org.apache.commons.lang.math.Fraction
- Gets the denominator part of the fraction.
- getEnd() -
Method in class org.apache.commons.lang.CharRange
- Gets the end character for this character range.
- getEnum(Class, String) -
Static method in class org.apache.commons.lang.enum.Enum
- Deprecated. Gets an
Enum
object by class and name.
- getEnum(Class, String) -
Static method in class org.apache.commons.lang.enum.EnumUtils
- Deprecated. Gets an
Enum
object by class and name.
- getEnum(Class, int) -
Static method in class org.apache.commons.lang.enum.EnumUtils
- Deprecated. Gets a
ValuedEnum
object by class and value.
- getEnum(Class, int) -
Static method in class org.apache.commons.lang.enum.ValuedEnum
- Deprecated. Gets an
Enum
object by class and value.
- getEnum(Class, String) -
Static method in class org.apache.commons.lang.enums.Enum
- Gets an
Enum
object by class and name.
- getEnum(Class, String) -
Static method in class org.apache.commons.lang.enums.EnumUtils
- Gets an
Enum
object by class and name.
- getEnum(Class, int) -
Static method in class org.apache.commons.lang.enums.EnumUtils
- Gets a
ValuedEnum
object by class and value.
- getEnum(Class, int) -
Static method in class org.apache.commons.lang.enums.ValuedEnum
- Gets an
Enum
object by class and value.
- getEnumClass() -
Method in class org.apache.commons.lang.enum.Enum
- Deprecated. Retrieves the Class of this Enum item, set in the constructor.
- getEnumClass() -
Method in class org.apache.commons.lang.enums.Enum
- Retrieves the Class of this Enum item, set in the constructor.
- getEnumList(Class) -
Static method in class org.apache.commons.lang.enum.Enum
- Deprecated. Gets the
List
of Enum
objects using the
Enum
class.
- getEnumList(Class) -
Static method in class org.apache.commons.lang.enum.EnumUtils
- Deprecated. Gets the
List
of Enum
objects using
the Enum
class.
- getEnumList(Class) -
Static method in class org.apache.commons.lang.enums.Enum
- Gets the
List
of Enum
objects using the
Enum
class.
- getEnumList(Class) -
Static method in class org.apache.commons.lang.enums.EnumUtils
- Gets the
List
of Enum
objects using
the Enum
class.
- getEnumMap(Class) -
Static method in class org.apache.commons.lang.enum.Enum
- Deprecated. Gets the
Map
of Enum
objects by
name using the Enum
class.
- getEnumMap(Class) -
Static method in class org.apache.commons.lang.enum.EnumUtils
- Deprecated. Gets the
Map
of Enum
objects by
name using the Enum
class.
- getEnumMap(Class) -
Static method in class org.apache.commons.lang.enums.Enum
- Gets the
Map
of Enum
objects by
name using the Enum
class.
- getEnumMap(Class) -
Static method in class org.apache.commons.lang.enums.EnumUtils
- Gets the
Map
of Enum
objects by
name using the Enum
class.
- getFieldNameValueSeparator() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets the field name value separator text.
- getFieldNameValueSeparator() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets the field name value separator text.
- getFieldSeparator() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets the field separator text.
- getFieldSeparator() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets the field separator text.
- getFraction(int, int) -
Static method in class org.apache.commons.lang.math.Fraction
- Creates a
Fraction
instance with the 2 parts
of a fraction Y/Z.
- getFraction(int, int, int) -
Static method in class org.apache.commons.lang.math.Fraction
- Creates a
Fraction
instance with the 3 parts
of a fraction X Y/Z.
- getFraction(double) -
Static method in class org.apache.commons.lang.math.Fraction
- Creates a
Fraction
instance from a double
value.
- getFraction(String) -
Static method in class org.apache.commons.lang.math.Fraction
- Creates a Fraction from a
String
.
- getFullStackTrace(Throwable) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- A way to get the entire nested stack-trace of an throwable.
- getInstance(String) -
Static method in class org.apache.commons.lang.CharSet
- Factory method to create a new CharSet using a special syntax.
- getInstance() -
Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a formatter instance using the default pattern in the
default locale.
- getInstance(String) -
Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a formatter instance using the specified pattern in the
default locale.
- getInstance(String, TimeZone) -
Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a formatter instance using the specified pattern and
time zone.
- getInstance(String, Locale) -
Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a formatter instance using the specified pattern and
locale.
- getInstance(String, TimeZone, Locale) -
Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a formatter instance using the specified pattern, time zone
and locale.
- getJavaHome() -
Static method in class org.apache.commons.lang.SystemUtils
- Gets the Java home directory as a
File
.
- getJavaIoTmpDir() -
Static method in class org.apache.commons.lang.SystemUtils
- Gets the Java IO temporary directory as a
File
.
- getJavaVersion() -
Static method in class org.apache.commons.lang.SystemUtils
- Deprecated. Use
SystemUtils.JAVA_VERSION_FLOAT
instead.
Method will be removed in Commons Lang 3.0.
- getLength(Object) -
Static method in class org.apache.commons.lang.ArrayUtils
- Returns the length of the specified array.
- getLevenshteinDistance(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Find the Levenshtein distance between two Strings.
- getLocale() -
Method in class org.apache.commons.lang.time.FastDateFormat
- Gets the locale used by this formatter.
- getMaxLengthEstimate() -
Method in class org.apache.commons.lang.time.FastDateFormat
- Gets an estimate for the maximum string length that the
formatter will produce.
- getMaximum() -
Method in class org.apache.commons.lang.NumberRange
- Deprecated. Returns the maximum number in this range.
- getMaximumDouble() -
Method in class org.apache.commons.lang.math.DoubleRange
- Gets the maximum number in this range as a
double
.
- getMaximumDouble() -
Method in class org.apache.commons.lang.math.FloatRange
- Gets the maximum number in this range as a
double
.
- getMaximumDouble() -
Method in class org.apache.commons.lang.math.IntRange
- Gets the maximum number in this range as a
double
.
- getMaximumDouble() -
Method in class org.apache.commons.lang.math.LongRange
- Gets the maximum number in this range as a
double
.
- getMaximumDouble() -
Method in class org.apache.commons.lang.math.Range
- Gets the maximum number in this range as a
double
.
- getMaximumFloat() -
Method in class org.apache.commons.lang.math.DoubleRange
- Gets the maximum number in this range as a
float
.
- getMaximumFloat() -
Method in class org.apache.commons.lang.math.FloatRange
- Gets the maximum number in this range as a
float
.
- getMaximumFloat() -
Method in class org.apache.commons.lang.math.IntRange
- Gets the maximum number in this range as a
float
.
- getMaximumFloat() -
Method in class org.apache.commons.lang.math.LongRange
- Gets the maximum number in this range as a
float
.
- getMaximumFloat() -
Method in class org.apache.commons.lang.math.Range
- Gets the maximum number in this range as a
float
.
- getMaximumInteger() -
Method in class org.apache.commons.lang.math.DoubleRange
- Gets the maximum number in this range as a
int
.
- getMaximumInteger() -
Method in class org.apache.commons.lang.math.FloatRange
- Gets the maximum number in this range as a
int
.
- getMaximumInteger() -
Method in class org.apache.commons.lang.math.IntRange
- Gets the maximum number in this range as a
int
.
- getMaximumInteger() -
Method in class org.apache.commons.lang.math.LongRange
- Gets the maximum number in this range cast to an
int
.
- getMaximumInteger() -
Method in class org.apache.commons.lang.math.Range
- Gets the maximum number in this range as a
int
.
- getMaximumLong() -
Method in class org.apache.commons.lang.math.DoubleRange
- Gets the maximum number in this range as a
long
.
- getMaximumLong() -
Method in class org.apache.commons.lang.math.FloatRange
- Gets the maximum number in this range as a
long
.
- getMaximumLong() -
Method in class org.apache.commons.lang.math.IntRange
- Gets the maximum number in this range as a
long
.
- getMaximumLong() -
Method in class org.apache.commons.lang.math.LongRange
- Gets the maximum number in this range as a
long
.
- getMaximumLong() -
Method in class org.apache.commons.lang.math.Range
- Gets the maximum number in this range as a
long
.
- getMaximumNumber() -
Method in class org.apache.commons.lang.math.DoubleRange
- Returns the maximum number in this range.
- getMaximumNumber() -
Method in class org.apache.commons.lang.math.FloatRange
- Returns the maximum number in this range.
- getMaximumNumber() -
Method in class org.apache.commons.lang.math.IntRange
- Returns the maximum number in this range.
- getMaximumNumber() -
Method in class org.apache.commons.lang.math.LongRange
- Returns the maximum number in this range.
- getMaximumNumber() -
Method in class org.apache.commons.lang.math.NumberRange
- Returns the maximum number in this range.
- getMaximumNumber() -
Method in class org.apache.commons.lang.math.Range
- Gets the maximum number in this range.
- getMessage() -
Method in class org.apache.commons.lang.NotImplementedException
- Gets the combined the error message of this and any nested errors.
- getMessage(int) -
Method in class org.apache.commons.lang.NotImplementedException
- Returns the error message of the
Throwable
in the chain
of Throwable
s at the specified index, numbered from 0.
- getMessage() -
Method in interface org.apache.commons.lang.exception.Nestable
- Returns the error message of this and any nested
Throwable
.
- getMessage(int) -
Method in interface org.apache.commons.lang.exception.Nestable
- Returns the error message of the
Throwable
in the chain
of Throwable
s at the specified index, numbered from 0.
- getMessage(int) -
Method in class org.apache.commons.lang.exception.NestableDelegate
- Returns the error message of the
Throwable
in the chain
of Throwable
s at the specified index, numbered from 0.
- getMessage(String) -
Method in class org.apache.commons.lang.exception.NestableDelegate
- Returns the full message contained by the
Nestable
and any nested Throwable
s.
- getMessage() -
Method in class org.apache.commons.lang.exception.NestableError
- Returns the detail message string of this throwable.
- getMessage(int) -
Method in class org.apache.commons.lang.exception.NestableError
-
- getMessage() -
Method in class org.apache.commons.lang.exception.NestableException
- Returns the detail message string of this throwable.
- getMessage(int) -
Method in class org.apache.commons.lang.exception.NestableException
-
- getMessage() -
Method in class org.apache.commons.lang.exception.NestableRuntimeException
- Returns the detail message string of this throwable.
- getMessage(int) -
Method in class org.apache.commons.lang.exception.NestableRuntimeException
-
- getMessages() -
Method in class org.apache.commons.lang.NotImplementedException
- Returns the error message of this and any nested
Throwable
objects.
- getMessages() -
Method in interface org.apache.commons.lang.exception.Nestable
- Returns the error message of this and any nested
Throwable
s
in an array of Strings, one element for each message.
- getMessages() -
Method in class org.apache.commons.lang.exception.NestableDelegate
- Returns the error message of this and any nested
Throwable
s
in an array of Strings, one element for each message.
- getMessages() -
Method in class org.apache.commons.lang.exception.NestableError
-
- getMessages() -
Method in class org.apache.commons.lang.exception.NestableException
-
- getMessages() -
Method in class org.apache.commons.lang.exception.NestableRuntimeException
-
- getMinimum() -
Method in class org.apache.commons.lang.NumberRange
- Deprecated. Returns the minimum number in this range.
- getMinimumDouble() -
Method in class org.apache.commons.lang.math.DoubleRange
- Gets the minimum number in this range as a
double
.
- getMinimumDouble() -
Method in class org.apache.commons.lang.math.FloatRange
- Gets the minimum number in this range as a
double
.
- getMinimumDouble() -
Method in class org.apache.commons.lang.math.IntRange
- Gets the minimum number in this range as a
double
.
- getMinimumDouble() -
Method in class org.apache.commons.lang.math.LongRange
- Gets the minimum number in this range as a
double
.
- getMinimumDouble() -
Method in class org.apache.commons.lang.math.Range
- Gets the minimum number in this range as a
double
.
- getMinimumFloat() -
Method in class org.apache.commons.lang.math.DoubleRange
- Gets the minimum number in this range as a
float
.
- getMinimumFloat() -
Method in class org.apache.commons.lang.math.FloatRange
- Gets the minimum number in this range as a
float
.
- getMinimumFloat() -
Method in class org.apache.commons.lang.math.IntRange
- Gets the minimum number in this range as a
float
.
- getMinimumFloat() -
Method in class org.apache.commons.lang.math.LongRange
- Gets the minimum number in this range as a
float
.
- getMinimumFloat() -
Method in class org.apache.commons.lang.math.Range
- Gets the minimum number in this range as a
float
.
- getMinimumInteger() -
Method in class org.apache.commons.lang.math.DoubleRange
- Gets the minimum number in this range as a
int
.
- getMinimumInteger() -
Method in class org.apache.commons.lang.math.FloatRange
- Gets the minimum number in this range as a
int
.
- getMinimumInteger() -
Method in class org.apache.commons.lang.math.IntRange
- Gets the minimum number in this range as a
int
.
- getMinimumInteger() -
Method in class org.apache.commons.lang.math.LongRange
- Gets the minimum number in this range as a
int
.
- getMinimumInteger() -
Method in class org.apache.commons.lang.math.Range
- Gets the minimum number in this range as a
int
.
- getMinimumLong() -
Method in class org.apache.commons.lang.math.DoubleRange
- Gets the minimum number in this range as a
long
.
- getMinimumLong() -
Method in class org.apache.commons.lang.math.FloatRange
- Gets the minimum number in this range as a
long
.
- getMinimumLong() -
Method in class org.apache.commons.lang.math.IntRange
- Gets the minimum number in this range as a
long
.
- getMinimumLong() -
Method in class org.apache.commons.lang.math.LongRange
- Gets the minimum number in this range as a
long
.
- getMinimumLong() -
Method in class org.apache.commons.lang.math.Range
- Gets the minimum number in this range as a
long
.
- getMinimumNumber() -
Method in class org.apache.commons.lang.math.DoubleRange
- Returns the minimum number in this range.
- getMinimumNumber() -
Method in class org.apache.commons.lang.math.FloatRange
- Returns the minimum number in this range.
- getMinimumNumber() -
Method in class org.apache.commons.lang.math.IntRange
- Returns the minimum number in this range.
- getMinimumNumber() -
Method in class org.apache.commons.lang.math.LongRange
- Returns the minimum number in this range.
- getMinimumNumber() -
Method in class org.apache.commons.lang.math.NumberRange
- Returns the minimum number in this range.
- getMinimumNumber() -
Method in class org.apache.commons.lang.math.Range
- Gets the minimum number in this range.
- getName() -
Method in class org.apache.commons.lang.enum.Enum
- Deprecated. Retrieve the name of this Enum item, set in the constructor.
- getName() -
Method in class org.apache.commons.lang.enums.Enum
- Retrieve the name of this Enum item, set in the constructor.
- getNestedString(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Deprecated. Use the better named
StringUtils.substringBetween(String, String)
.
Method will be removed in Commons Lang 3.0.
- getNestedString(String, String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Deprecated. Use the better named
StringUtils.substringBetween(String, String, String)
.
Method will be removed in Commons Lang 3.0.
- getNullText() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets the text to output when
null
found.
- getNullText() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets the text to output when
null
found.
- getNumerator() -
Method in class org.apache.commons.lang.math.Fraction
- Gets the numerator part of the fraction.
- getObject() -
Method in class org.apache.commons.lang.builder.ToStringBuilder
- Returns the
Object
being output.
- getPackageName(Object, String) -
Static method in class org.apache.commons.lang.ClassUtils
- Gets the package name of an
Object
.
- getPackageName(Class) -
Static method in class org.apache.commons.lang.ClassUtils
- Gets the package name of a
Class
.
- getPackageName(String) -
Static method in class org.apache.commons.lang.ClassUtils
- Gets the package name from a
String
.
- getPattern() -
Method in class org.apache.commons.lang.time.FastDateFormat
- Gets the pattern used by this formatter.
- getPrechomp(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Deprecated. Use
StringUtils.substringBefore(String,String)
instead
(although this doesn't include the separator).
Method will be removed in Commons Lang 3.0.
- getProperNumerator() -
Method in class org.apache.commons.lang.math.Fraction
- Gets the proper numerator, always positive.
- getProperWhole() -
Method in class org.apache.commons.lang.math.Fraction
- Gets the proper whole part of the fraction.
- getRawValue(int) -
Method in class org.apache.commons.lang.BitField
- Obtains the value for the specified BitField, unshifted.
- getReducedFraction(int, int) -
Static method in class org.apache.commons.lang.math.Fraction
- Creates a
Fraction
instance with the 2 parts
of a fraction Y/Z.
- getRootCause(Throwable) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Introspects the
Throwable
to obtain the root cause.
- getRootCauseStackTrace(Throwable) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Creates a compact stack trace for the root cause of the supplied
Throwable
.
- getShortClassName(Object, String) -
Static method in class org.apache.commons.lang.ClassUtils
- Gets the class name minus the package name for an
Object
.
- getShortClassName(Class) -
Static method in class org.apache.commons.lang.ClassUtils
- Gets the class name minus the package name from a
Class
.
- getShortClassName(String) -
Static method in class org.apache.commons.lang.ClassUtils
- Gets the class name minus the package name from a String.
- getShortClassName(Class) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets the short class name for a class.
- getShortRawValue(short) -
Method in class org.apache.commons.lang.BitField
- Obtains the value for the specified BitField, unshifted.
- getShortValue(short) -
Method in class org.apache.commons.lang.BitField
- Obtains the value for the specified BitField, appropriately
shifted right, as a short.
- getSizeEndText() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets the end text to output when a
Collection
,
Map
or Array
size is output.
- getSizeEndText() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets the end text to output when a
Collection
,
Map
or array size is output.
- getSizeStartText() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets the text to output when a
Collection
,
Map
or Array
size is output.
- getSizeStartText() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets the start text to output when a
Collection
,
Map
or array size is output.
- getSplitTime() -
Method in class org.apache.commons.lang.time.StopWatch
- Get the split time on the stopwatch.
- getStackFrames(Throwable) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Captures the stack trace associated with the specified
Throwable
object, decomposing it into a list of
stack frames.
- getStackFrames(Throwable) -
Method in class org.apache.commons.lang.exception.NestableDelegate
- Captures the stack trace associated with the specified
Throwable
object, decomposing it into a list of
stack frames.
- getStackTrace(Throwable) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Gets the stack trace from a Throwable as a String.
- getStart() -
Method in class org.apache.commons.lang.CharRange
- Gets the start character for this character range.
- getStringBuffer() -
Method in class org.apache.commons.lang.builder.ToStringBuilder
- Gets the
StringBuffer
being populated.
- getStyle() -
Method in class org.apache.commons.lang.builder.ToStringBuilder
- Gets the
ToStringStyle
being used.
- getSummaryObjectEndText() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets the end text to output when an
Object
is
output in summary mode.
- getSummaryObjectEndText() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets the end text to output when an
Object
is
output in summary mode.
- getSummaryObjectStartText() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets the start text to output when an
Object
is
output in summary mode.
- getSummaryObjectStartText() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets the start text to output when an
Object
is
output in summary mode.
- getThrowable(int) -
Method in class org.apache.commons.lang.NotImplementedException
- Returns the
Throwable
in the chain by index.
- getThrowable(int) -
Method in interface org.apache.commons.lang.exception.Nestable
- Returns the
Throwable
in the chain of
Throwable
s at the specified index, numbered from 0.
- getThrowable(int) -
Method in class org.apache.commons.lang.exception.NestableDelegate
- Returns the
Throwable
in the chain of
Throwable
s at the specified index, numbered from 0.
- getThrowable(int) -
Method in class org.apache.commons.lang.exception.NestableError
-
- getThrowable(int) -
Method in class org.apache.commons.lang.exception.NestableException
-
- getThrowable(int) -
Method in class org.apache.commons.lang.exception.NestableRuntimeException
-
- getThrowableCount() -
Method in class org.apache.commons.lang.NotImplementedException
- Returns the number of nested
Throwable
s represented by
this Nestable
, including this Nestable
.
- getThrowableCount(Throwable) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Counts the number of
Throwable
objects in the
exception chain.
- getThrowableCount() -
Method in interface org.apache.commons.lang.exception.Nestable
- Returns the number of nested
Throwable
s represented by
this Nestable
, including this Nestable
.
- getThrowableCount() -
Method in class org.apache.commons.lang.exception.NestableDelegate
- Returns the number of
Throwable
s contained in the
Nestable
contained by this delegate.
- getThrowableCount() -
Method in class org.apache.commons.lang.exception.NestableError
-
- getThrowableCount() -
Method in class org.apache.commons.lang.exception.NestableException
-
- getThrowableCount() -
Method in class org.apache.commons.lang.exception.NestableRuntimeException
-
- getThrowables() -
Method in class org.apache.commons.lang.NotImplementedException
- Returns this
Nestable
and any nested Throwable
s
in an array of Throwable
s, one element for each
Throwable
.
- getThrowables(Throwable) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Returns the list of
Throwable
objects in the
exception chain.
- getThrowables() -
Method in interface org.apache.commons.lang.exception.Nestable
- Returns this
Nestable
and any nested Throwable
s
in an array of Throwable
s, one element for each
Throwable
.
- getThrowables() -
Method in class org.apache.commons.lang.exception.NestableDelegate
- Returns this delegate's
Nestable
and any nested
Throwable
s in an array of Throwable
s, one
element for each Throwable
.
- getThrowables() -
Method in class org.apache.commons.lang.exception.NestableError
-
- getThrowables() -
Method in class org.apache.commons.lang.exception.NestableException
-
- getThrowables() -
Method in class org.apache.commons.lang.exception.NestableRuntimeException
-
- getTime() -
Method in class org.apache.commons.lang.time.StopWatch
- Get the time on the stopwatch.
- getTimeInstance(int) -
Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a time formatter instance using the specified style in the
default time zone and locale.
- getTimeInstance(int, Locale) -
Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a time formatter instance using the specified style and
locale in the default time zone.
- getTimeInstance(int, TimeZone) -
Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a time formatter instance using the specified style and
time zone in the default locale.
- getTimeInstance(int, TimeZone, Locale) -
Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a time formatter instance using the specified style, time
zone and locale.
- getTimeZone() -
Method in class org.apache.commons.lang.time.FastDateFormat
- Gets the time zone used by this formatter.
- getTimeZoneOverridesCalendar() -
Method in class org.apache.commons.lang.time.FastDateFormat
- Returns
true
if the time zone of the
calendar overrides the time zone of the formatter.
- getUpToClass() -
Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder
-
Gets the last super class to stop appending fields for.
- getUserDir() -
Static method in class org.apache.commons.lang.SystemUtils
- Gets the user directory as a
File
.
- getUserHome() -
Static method in class org.apache.commons.lang.SystemUtils
- Gets the user home directory as a
File
.
- getValue(int) -
Method in class org.apache.commons.lang.BitField
- Obtains the value for the specified BitField, appropriately
shifted right.
- getValue(Field) -
Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder
-
Calls
java.lang.reflect.Field.get(Object)
.
- getValue() -
Method in class org.apache.commons.lang.enum.ValuedEnum
- Deprecated. Get value of enum item.
- getValue() -
Method in class org.apache.commons.lang.enums.ValuedEnum
- Get value of enum item.
- getValue() -
Method in interface org.apache.commons.lang.mutable.Mutable
- Gets the value of this mutable.
- getValue() -
Method in class org.apache.commons.lang.mutable.MutableByte
- Gets the value as a Byte instance.
- getValue() -
Method in class org.apache.commons.lang.mutable.MutableDouble
- Gets the value as a Double instance.
- getValue() -
Method in class org.apache.commons.lang.mutable.MutableFloat
- Gets the value as a Float instance.
- getValue() -
Method in class org.apache.commons.lang.mutable.MutableInt
- Gets the value as a Integer instance.
- getValue() -
Method in class org.apache.commons.lang.mutable.MutableLong
- Gets the value as a Long instance.
- getValue() -
Method in class org.apache.commons.lang.mutable.MutableObject
- Gets the value.
- getValue() -
Method in class org.apache.commons.lang.mutable.MutableShort
- Gets the value as a Short instance.
H
- HashCodeBuilder - class org.apache.commons.lang.builder.HashCodeBuilder.
- Assists in implementing
Object.hashCode()
methods. - HashCodeBuilder() -
Constructor for class org.apache.commons.lang.builder.HashCodeBuilder
- Uses two hard coded choices for the constants
needed to build a
hashCode
.
- HashCodeBuilder(int, int) -
Constructor for class org.apache.commons.lang.builder.HashCodeBuilder
- Two randomly chosen, non-zero, odd numbers must be passed in.
- hashCode(Object) -
Static method in class org.apache.commons.lang.ArrayUtils
- Get a hashCode for an array handling multi-dimensional arrays correctly.
- hashCode() -
Method in class org.apache.commons.lang.CharRange
- Gets a hashCode compatible with the equals method.
- hashCode() -
Method in class org.apache.commons.lang.CharSet
- Gets a hashCode compatible with the equals method.
- hashCode() -
Method in class org.apache.commons.lang.NumberRange
- Deprecated. Returns a hash code value for this object.
- hashCode(Object) -
Static method in class org.apache.commons.lang.ObjectUtils
- Gets the hash code of an object returning zero when the
object is
null
.
- hashCode() -
Method in class org.apache.commons.lang.enum.Enum
- Deprecated. Returns a suitable hashCode for the enumeration.
- hashCode() -
Method in class org.apache.commons.lang.enums.Enum
- Returns a suitable hashCode for the enumeration.
- hashCode() -
Method in class org.apache.commons.lang.math.DoubleRange
- Gets a hashCode for the range.
- hashCode() -
Method in class org.apache.commons.lang.math.FloatRange
- Gets a hashCode for the range.
- hashCode() -
Method in class org.apache.commons.lang.math.Fraction
- Gets a hashCode for the fraction.
- hashCode() -
Method in class org.apache.commons.lang.math.IntRange
- Gets a hashCode for the range.
- hashCode() -
Method in class org.apache.commons.lang.math.LongRange
- Gets a hashCode for the range.
- hashCode() -
Method in class org.apache.commons.lang.math.NumberRange
- Gets a hashCode for the range.
- hashCode() -
Method in class org.apache.commons.lang.math.Range
- Gets a hashCode for the range.
- hashCode() -
Method in class org.apache.commons.lang.mutable.MutableByte
- Returns a suitable hashcode for this mutable.
- hashCode() -
Method in class org.apache.commons.lang.mutable.MutableDouble
- Returns a suitable hashcode for this mutable.
- hashCode() -
Method in class org.apache.commons.lang.mutable.MutableFloat
- Returns a suitable hashcode for this mutable.
- hashCode() -
Method in class org.apache.commons.lang.mutable.MutableInt
- Returns a suitable hashcode for this mutable.
- hashCode() -
Method in class org.apache.commons.lang.mutable.MutableLong
- Returns a suitable hashcode for this mutable.
- hashCode() -
Method in class org.apache.commons.lang.mutable.MutableObject
- Returns the value's hash code or
0
if the value is null
.
- hashCode() -
Method in class org.apache.commons.lang.mutable.MutableShort
- Returns a suitable hashcode for this mutable.
- hashCode() -
Method in class org.apache.commons.lang.time.FastDateFormat
- A suitable hashcode.
I
- INDEX_NOT_FOUND -
Static variable in class org.apache.commons.lang.StringUtils
- Represents a failed index search.
- INNER_CLASS_SEPARATOR -
Static variable in class org.apache.commons.lang.ClassUtils
- The inner class separator String:
"$"
.
- INNER_CLASS_SEPARATOR_CHAR -
Static variable in class org.apache.commons.lang.ClassUtils
- The inner class separator character:
'$' == 36
.
- INTEGER_MINUS_ONE -
Static variable in class org.apache.commons.lang.math.NumberUtils
- Reusable Integer constant for minus one.
- INTEGER_ONE -
Static variable in class org.apache.commons.lang.math.NumberUtils
- Reusable Integer constant for one.
- INTEGER_ZERO -
Static variable in class org.apache.commons.lang.math.NumberUtils
- Reusable Integer constant for zero.
- ISO_8859_1 -
Static variable in class org.apache.commons.lang.CharEncoding
-
ISO Latin Alphabet #1, also known as ISO-LATIN-1.
- ISO_DATETIME_FORMAT -
Static variable in class org.apache.commons.lang.time.DateFormatUtils
- ISO8601 formatter for date-time without time zone.
- ISO_DATETIME_TIME_ZONE_FORMAT -
Static variable in class org.apache.commons.lang.time.DateFormatUtils
- ISO8601 formatter for date-time with time zone.
- ISO_DATE_FORMAT -
Static variable in class org.apache.commons.lang.time.DateFormatUtils
- ISO8601 formatter for date without time zone.
- ISO_DATE_TIME_ZONE_FORMAT -
Static variable in class org.apache.commons.lang.time.DateFormatUtils
- ISO8601-like formatter for date with time zone.
- ISO_EXTENDED_FORMAT_PATTERN -
Static variable in class org.apache.commons.lang.time.DurationFormatUtils
- Pattern used with
FastDateFormat
and SimpleDateFormat
for the ISO8601 period format used in durations.
- ISO_TIME_FORMAT -
Static variable in class org.apache.commons.lang.time.DateFormatUtils
- ISO8601 formatter for time without time zone.
- ISO_TIME_NO_T_FORMAT -
Static variable in class org.apache.commons.lang.time.DateFormatUtils
- ISO8601-like formatter for time without time zone.
- ISO_TIME_NO_T_TIME_ZONE_FORMAT -
Static variable in class org.apache.commons.lang.time.DateFormatUtils
- ISO8601-like formatter for time with time zone.
- ISO_TIME_TIME_ZONE_FORMAT -
Static variable in class org.apache.commons.lang.time.DateFormatUtils
- ISO8601 formatter for time with time zone.
- IS_JAVA_1_1 -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is Java version 1.1 (also 1.1.x versions).
- IS_JAVA_1_2 -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is Java version 1.2 (also 1.2.x versions).
- IS_JAVA_1_3 -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is Java version 1.3 (also 1.3.x versions).
- IS_JAVA_1_4 -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is Java version 1.4 (also 1.4.x versions).
- IS_JAVA_1_5 -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is Java version 1.5 (also 1.5.x versions).
- IS_OS_AIX -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is AIX.
- IS_OS_HP_UX -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is HP-UX.
- IS_OS_IRIX -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is Irix.
- IS_OS_LINUX -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is Linux.
- IS_OS_MAC -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is Mac.
- IS_OS_MAC_OSX -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is Mac.
- IS_OS_OS2 -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is OS/2.
- IS_OS_SOLARIS -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is Solaris.
- IS_OS_SUN_OS -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is SunOS.
- IS_OS_UNIX -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is a POSIX compilant system,
as in any of AIX, HP-UX, Irix, Linux, MacOSX, Solaris or SUN OS.
- IS_OS_WINDOWS -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is Windows.
- IS_OS_WINDOWS_2000 -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is Windows 2000.
- IS_OS_WINDOWS_95 -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is Windows 95.
- IS_OS_WINDOWS_98 -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is Windows 98.
- IS_OS_WINDOWS_ME -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is Windows ME.
- IS_OS_WINDOWS_NT -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is Windows NT.
- IS_OS_WINDOWS_XP -
Static variable in class org.apache.commons.lang.SystemUtils
- Is
true
if this is Windows XP.
- IllegalClassException - exception org.apache.commons.lang.IllegalClassException.
- Thrown when an object is an instance of an unexpected type (a class or interface).
- IllegalClassException(Class, Object) -
Constructor for class org.apache.commons.lang.IllegalClassException
- Instantiates with the expected type, and actual object.
- IllegalClassException(Class, Class) -
Constructor for class org.apache.commons.lang.IllegalClassException
- Instantiates with the expected and actual types.
- IllegalClassException(String) -
Constructor for class org.apache.commons.lang.IllegalClassException
- Instantiates with the specified message.
- IncompleteArgumentException - exception org.apache.commons.lang.IncompleteArgumentException.
- Thrown to indicate an incomplete argument to a method.
- IncompleteArgumentException(String) -
Constructor for class org.apache.commons.lang.IncompleteArgumentException
- Instantiates with the specified description.
- IncompleteArgumentException(String, String[]) -
Constructor for class org.apache.commons.lang.IncompleteArgumentException
- Instantiates with the specified description.
- IntRange - class org.apache.commons.lang.math.IntRange.
IntRange
represents an inclusive range of int
s.- IntRange(int) -
Constructor for class org.apache.commons.lang.math.IntRange
- Constructs a new
IntRange
using the specified
number as both the minimum and maximum in this range.
- IntRange(Number) -
Constructor for class org.apache.commons.lang.math.IntRange
- Constructs a new
IntRange
using the specified
number as both the minimum and maximum in this range.
- IntRange(int, int) -
Constructor for class org.apache.commons.lang.math.IntRange
- Constructs a new
IntRange
with the specified
minimum and maximum numbers (both inclusive).
- IntRange(Number, Number) -
Constructor for class org.apache.commons.lang.math.IntRange
- Constructs a new
IntRange
with the specified
minimum and maximum numbers (both inclusive).
- iToString -
Variable in class org.apache.commons.lang.enum.Enum
- Deprecated. The toString representation of the Enum.
- iToString -
Variable in class org.apache.commons.lang.enums.Enum
- The toString representation of the Enum.
- identityToString(Object) -
Static method in class org.apache.commons.lang.ObjectUtils
- Gets the toString that would be produced by
Object
if a class did not override toString itself.
- includesNumber(Number) -
Method in class org.apache.commons.lang.NumberRange
- Deprecated. Tests whether the specified
number
occurs within
this range using double
comparison.
- includesRange(NumberRange) -
Method in class org.apache.commons.lang.NumberRange
- Deprecated. Tests whether the specified range occurs entirely within this
range using
double
comparison.
- indexOf(Object[], Object) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given object in the array.
- indexOf(Object[], Object, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given object in the array starting at the given index.
- indexOf(long[], long) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given value in the array.
- indexOf(long[], long, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given value in the array starting at the given index.
- indexOf(int[], int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given value in the array.
- indexOf(int[], int, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given value in the array starting at the given index.
- indexOf(short[], short) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given value in the array.
- indexOf(short[], short, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given value in the array starting at the given index.
- indexOf(char[], char) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given value in the array.
- indexOf(char[], char, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given value in the array starting at the given index.
- indexOf(byte[], byte) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given value in the array.
- indexOf(byte[], byte, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given value in the array starting at the given index.
- indexOf(double[], double) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given value in the array.
- indexOf(double[], double, double) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given value within a given tolerance in the array.
- indexOf(double[], double, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given value in the array starting at the given index.
- indexOf(double[], double, int, double) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given value in the array starting at the given index.
- indexOf(float[], float) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given value in the array.
- indexOf(float[], float, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given value in the array starting at the given index.
- indexOf(boolean[], boolean) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given value in the array.
- indexOf(boolean[], boolean, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the index of the given value in the array starting at the given index.
- indexOf(String, char) -
Static method in class org.apache.commons.lang.StringUtils
- Finds the first index within a String, handling
null
.
- indexOf(String, char, int) -
Static method in class org.apache.commons.lang.StringUtils
- Finds the first index within a String from a start position,
handling
null
.
- indexOf(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Finds the first index within a String, handling
null
.
- indexOf(String, String, int) -
Static method in class org.apache.commons.lang.StringUtils
- Finds the first index within a String, handling
null
.
- indexOfAny(String, char[]) -
Static method in class org.apache.commons.lang.StringUtils
- Search a String to find the first index of any
character in the given set of characters.
- indexOfAny(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Search a String to find the first index of any
character in the given set of characters.
- indexOfAny(String, String[]) -
Static method in class org.apache.commons.lang.StringUtils
- Find the first index of any of a set of potential substrings.
- indexOfAnyBut(String, char[]) -
Static method in class org.apache.commons.lang.StringUtils
- Search a String to find the first index of any
character not in the given set of characters.
- indexOfAnyBut(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Search a String to find the first index of any
character not in the given set of characters.
- indexOfDifference(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Compares two Strings, and returns the index at which the
Strings begin to differ.
- indexOfThrowable(Class) -
Method in class org.apache.commons.lang.NotImplementedException
- Returns the index of the first occurrence of the specified type.
- indexOfThrowable(Class, int) -
Method in class org.apache.commons.lang.NotImplementedException
- Returns the index of the first occurrence of the specified type starting
from the specified index.
- indexOfThrowable(Throwable, Class) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Returns the (zero based) index of the first
Throwable
that matches the specified class (exactly) in the exception chain.
- indexOfThrowable(Throwable, Class, int) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Returns the (zero based) index of the first
Throwable
that matches the specified type in the exception chain from
a specified index.
- indexOfThrowable(Class) -
Method in interface org.apache.commons.lang.exception.Nestable
- Returns the index, numbered from 0, of the first occurrence of the
specified type, or a subclass, in the chain of
Throwable
s.
- indexOfThrowable(Class, int) -
Method in interface org.apache.commons.lang.exception.Nestable
- Returns the index, numbered from 0, of the first
Throwable
that matches the specified type, or a subclass, in the chain of Throwable
s
with an index greater than or equal to the specified index.
- indexOfThrowable(Class, int) -
Method in class org.apache.commons.lang.exception.NestableDelegate
- Returns the index, numbered from 0, of the first
Throwable
that matches the specified type, or a subclass, in the chain of Throwable
s
with an index greater than or equal to the specified index.
- indexOfThrowable(Class) -
Method in class org.apache.commons.lang.exception.NestableError
-
- indexOfThrowable(Class, int) -
Method in class org.apache.commons.lang.exception.NestableError
-
- indexOfThrowable(Class) -
Method in class org.apache.commons.lang.exception.NestableException
-
- indexOfThrowable(Class, int) -
Method in class org.apache.commons.lang.exception.NestableException
-
- indexOfThrowable(Class) -
Method in class org.apache.commons.lang.exception.NestableRuntimeException
-
- indexOfThrowable(Class, int) -
Method in class org.apache.commons.lang.exception.NestableRuntimeException
-
- indexOfType(Throwable, Class) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Returns the (zero based) index of the first
Throwable
that matches the specified class or subclass in the exception chain.
- indexOfType(Throwable, Class, int) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Returns the (zero based) index of the first
Throwable
that matches the specified type in the exception chain from
a specified index.
- init() -
Method in class org.apache.commons.lang.time.FastDateFormat
- Initialise the instance for first use.
- intValue() -
Method in class org.apache.commons.lang.math.Fraction
- Gets the fraction as an
int
.
- intValue() -
Method in class org.apache.commons.lang.mutable.MutableByte
- Returns the value of this MutableByte as a int.
- intValue() -
Method in class org.apache.commons.lang.mutable.MutableDouble
- Returns the value of this MutableDouble as a int.
- intValue() -
Method in class org.apache.commons.lang.mutable.MutableFloat
- Returns the value of this MutableFloat as a int.
- intValue() -
Method in class org.apache.commons.lang.mutable.MutableInt
- Returns the value of this MutableInt as a int.
- intValue() -
Method in class org.apache.commons.lang.mutable.MutableLong
- Returns the value of this MutableLong as a int.
- intValue() -
Method in class org.apache.commons.lang.mutable.MutableShort
- Returns the value of this MutableShort as a int.
- invert() -
Method in class org.apache.commons.lang.math.Fraction
- Gets a fraction that is the inverse (1/fraction) of this one.
- isAllSet(int) -
Method in class org.apache.commons.lang.BitField
- Returns whether all of the bits are set or not.
- isAlpha(String) -
Static method in class org.apache.commons.lang.StringUtils
- Checks if the String contains only unicode letters.
- isAlphaSpace(String) -
Static method in class org.apache.commons.lang.StringUtils
- Checks if the String contains only unicode letters and
space (' ').
- isAlphanumeric(String) -
Static method in class org.apache.commons.lang.StringUtils
- Checks if the String contains only unicode letters or digits.
- isAlphanumericSpace(String) -
Static method in class org.apache.commons.lang.StringUtils
- Checks if the String contains only unicode letters, digits
or space (
' '
).
- isAppendStatics() -
Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder
-
Gets whether or not to append static fields.
- isAppendTransients() -
Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder
-
Gets whether or not to append transient fields.
- isArrayContentDetail() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets whether to output array content detail.
- isArrayContentDetail() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets whether to output array content detail.
- isAscii(char) -
Static method in class org.apache.commons.lang.CharUtils
- Checks whether the character is ASCII 7 bit.
- isAsciiAlpha(char) -
Static method in class org.apache.commons.lang.CharUtils
- Checks whether the character is ASCII 7 bit alphabetic.
- isAsciiAlphaLower(char) -
Static method in class org.apache.commons.lang.CharUtils
- Checks whether the character is ASCII 7 bit alphabetic lower case.
- isAsciiAlphaUpper(char) -
Static method in class org.apache.commons.lang.CharUtils
- Checks whether the character is ASCII 7 bit alphabetic upper case.
- isAsciiAlphanumeric(char) -
Static method in class org.apache.commons.lang.CharUtils
- Checks whether the character is ASCII 7 bit numeric.
- isAsciiControl(char) -
Static method in class org.apache.commons.lang.CharUtils
- Checks whether the character is ASCII 7 bit control.
- isAsciiNumeric(char) -
Static method in class org.apache.commons.lang.CharUtils
- Checks whether the character is ASCII 7 bit numeric.
- isAsciiPrintable(char) -
Static method in class org.apache.commons.lang.CharUtils
- Checks whether the character is ASCII 7 bit printable.
- isAsciiPrintable(String) -
Static method in class org.apache.commons.lang.StringUtils
- Checks if the string contains only ASCII printable characters.
- isAssignable(Class[], Class[]) -
Static method in class org.apache.commons.lang.ClassUtils
- Checks if an array of Classes can be assigned to another array of Classes.
- isAssignable(Class, Class) -
Static method in class org.apache.commons.lang.ClassUtils
- Checks if one
Class
can be assigned to a variable of
another Class
.
- isBlank(String) -
Static method in class org.apache.commons.lang.StringUtils
- Checks if a String is whitespace, empty ("") or null.
- isCauseMethodName(String) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Tests if the list of method names used in the search for
Throwable
objects include the given name.
- isDefaultFullDetail() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets whether to use full detail when the caller doesn't
specify.
- isDefaultFullDetail() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets whether to use full detail when the caller doesn't
specify.
- isDigits(String) -
Static method in class org.apache.commons.lang.NumberUtils
- Deprecated. Checks whether the
String
contains only
digit characters.
- isDigits(String) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Checks whether the
String
contains only
digit characters.
- isEmpty(Object[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks if an array of Objects is empty or
null
.
- isEmpty(long[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks if an array of primitive longs is empty or
null
.
- isEmpty(int[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks if an array of primitive ints is empty or
null
.
- isEmpty(short[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks if an array of primitive shorts is empty or
null
.
- isEmpty(char[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks if an array of primitive chars is empty or
null
.
- isEmpty(byte[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks if an array of primitive bytes is empty or
null
.
- isEmpty(double[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks if an array of primitive doubles is empty or
null
.
- isEmpty(float[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks if an array of primitive floats is empty or
null
.
- isEmpty(boolean[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks if an array of primitive booleans is empty or
null
.
- isEmpty(String) -
Static method in class org.apache.commons.lang.StringUtils
- Checks if a String is empty ("") or null.
- isEquals(Object, Object) -
Static method in class org.apache.commons.lang.ArrayUtils
- Compares two arrays, using equals(), handling multi-dimensional arrays
correctly.
- isEquals() -
Method in class org.apache.commons.lang.builder.EqualsBuilder
- Returns
true
if the fields that have been checked
are all equal.
- isFalse(Boolean) -
Static method in class org.apache.commons.lang.BooleanUtils
- Is a Boolean value
false
, handling null
.
- isFieldSeparatorAtEnd() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets whether the field separator should be added at the end
of each buffer.
- isFieldSeparatorAtEnd() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets whether the field separator should be added at the end
of each buffer.
- isFieldSeparatorAtStart() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets whether the field separator should be added at the start
of each buffer.
- isFieldSeparatorAtStart() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets whether the field separator should be added at the start
of each buffer.
- isFullDetail(Boolean) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Is this field to be output in full detail.
- isInfinite() -
Method in class org.apache.commons.lang.mutable.MutableDouble
- Checks whether the double value is infinite.
- isInfinite() -
Method in class org.apache.commons.lang.mutable.MutableFloat
- Checks whether the float value is infinite.
- isInnerClass(Class) -
Static method in class org.apache.commons.lang.ClassUtils
- Is the specified class an inner class or static nested class.
- isJavaAwtHeadless() -
Static method in class org.apache.commons.lang.SystemUtils
- Returns whether the
SystemUtils.JAVA_AWT_HEADLESS
value is true
.
- isJavaVersionAtLeast(float) -
Static method in class org.apache.commons.lang.SystemUtils
- Is the Java version at least the requested version.
- isJavaVersionAtLeast(int) -
Static method in class org.apache.commons.lang.SystemUtils
- Is the Java version at least the requested version.
- isNaN() -
Method in class org.apache.commons.lang.mutable.MutableDouble
- Checks whether the double value is the special NaN value.
- isNaN() -
Method in class org.apache.commons.lang.mutable.MutableFloat
- Checks whether the float value is the special NaN value.
- isNegated() -
Method in class org.apache.commons.lang.CharRange
- Is this
CharRange
negated.
- isNestedThrowable(Throwable) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Checks whether this
Throwable
class can store a cause.
- isNotBlank(String) -
Static method in class org.apache.commons.lang.StringUtils
- Checks if a String is not empty (""), not null and not whitespace only.
- isNotEmpty(String) -
Static method in class org.apache.commons.lang.StringUtils
- Checks if a String is not empty ("") and not null.
- isNumber(String) -
Static method in class org.apache.commons.lang.NumberUtils
- Deprecated. Checks whether the String a valid Java number.
- isNumber(String) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Checks whether the String a valid Java number.
- isNumeric(String) -
Static method in class org.apache.commons.lang.StringUtils
- Checks if the String contains only unicode digits.
- isNumericSpace(String) -
Static method in class org.apache.commons.lang.StringUtils
- Checks if the String contains only unicode digits or space
(
' '
).
- isSameDay(Date, Date) -
Static method in class org.apache.commons.lang.time.DateUtils
- Checks if two date objects are on the same day ignoring time.
- isSameDay(Calendar, Calendar) -
Static method in class org.apache.commons.lang.time.DateUtils
- Checks if two calendar objects are on the same day ignoring time.
- isSameInstant(Date, Date) -
Static method in class org.apache.commons.lang.time.DateUtils
- Checks if two date objects represent the same instant in time.
- isSameInstant(Calendar, Calendar) -
Static method in class org.apache.commons.lang.time.DateUtils
- Checks if two calendar objects represent the same instant in time.
- isSameLength(Object[], Object[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks whether two arrays are the same length, treating
null
arrays as length 0
.
- isSameLength(long[], long[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks whether two arrays are the same length, treating
null
arrays as length 0
.
- isSameLength(int[], int[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks whether two arrays are the same length, treating
null
arrays as length 0
.
- isSameLength(short[], short[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks whether two arrays are the same length, treating
null
arrays as length 0
.
- isSameLength(char[], char[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks whether two arrays are the same length, treating
null
arrays as length 0
.
- isSameLength(byte[], byte[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks whether two arrays are the same length, treating
null
arrays as length 0
.
- isSameLength(double[], double[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks whether two arrays are the same length, treating
null
arrays as length 0
.
- isSameLength(float[], float[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks whether two arrays are the same length, treating
null
arrays as length 0
.
- isSameLength(boolean[], boolean[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks whether two arrays are the same length, treating
null
arrays as length 0
.
- isSameLocalTime(Calendar, Calendar) -
Static method in class org.apache.commons.lang.time.DateUtils
- Checks if two calendar objects represent the same local time.
- isSameType(Object, Object) -
Static method in class org.apache.commons.lang.ArrayUtils
- Checks whether two arrays are the same type taking into account
multi-dimensional arrays.
- isSet(int) -
Method in class org.apache.commons.lang.BitField
- Returns whether the field is set or not.
- isShortClassName() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Deprecated. Use
StandardToStringStyle.isUseShortClassName()
Method will be removed in Commons Lang 3.0.
- isShortClassName() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Deprecated. Use
ToStringStyle.isUseShortClassName()
Method will be removed in Commons Lang 3.0.
- isSupported(String) -
Static method in class org.apache.commons.lang.CharEncoding
-
Returns whether the named charset is supported.
- isThrowableNested() -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Checks if the Throwable class has a
getCause
method.
- isTrue(Boolean) -
Static method in class org.apache.commons.lang.BooleanUtils
- Is a Boolean value
true
, handling null
.
- isTrue(boolean, String, Object) -
Static method in class org.apache.commons.lang.Validate
- Validate an argument, throwing
IllegalArgumentException
if the test result is false
.
- isTrue(boolean, String, long) -
Static method in class org.apache.commons.lang.Validate
- Validate an argument, throwing
IllegalArgumentException
if the test result is false
.
- isTrue(boolean, String, double) -
Static method in class org.apache.commons.lang.Validate
- Validate an argument, throwing
IllegalArgumentException
if the test result is false
.
- isTrue(boolean, String) -
Static method in class org.apache.commons.lang.Validate
- Validate an argument, throwing
IllegalArgumentException
if the test result is false
.
- isTrue(boolean) -
Static method in class org.apache.commons.lang.Validate
- Validate an argument, throwing
IllegalArgumentException
if the test result is false
.
- isUseClassName() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets whether to use the class name.
- isUseClassName() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets whether to use the class name.
- isUseFieldNames() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets whether to use the field names passed in.
- isUseFieldNames() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets whether to use the field names passed in.
- isUseIdentityHashCode() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets whether to use the identity hash code.
- isUseIdentityHashCode() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets whether to use the identity hash code.
- isUseShortClassName() -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Gets whether to output short or long class names.
- isUseShortClassName() -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Gets whether to output short or long class names.
- isWhitespace(String) -
Static method in class org.apache.commons.lang.StringUtils
- Checks if the String contains only whitespace.
- iterator(Class) -
Static method in class org.apache.commons.lang.enum.Enum
- Deprecated. Gets an
Iterator
over the Enum
objects in
an Enum
class.
- iterator(Class) -
Static method in class org.apache.commons.lang.enum.EnumUtils
- Deprecated. Gets an
Iterator
over the Enum
objects
in an Enum
class.
- iterator(Class) -
Static method in class org.apache.commons.lang.enums.Enum
- Gets an
Iterator
over the Enum
objects in
an Enum
class.
- iterator(Class) -
Static method in class org.apache.commons.lang.enums.EnumUtils
- Gets an
Iterator
over the Enum
objects
in an Enum
class.
- iterator(Date, int) -
Static method in class org.apache.commons.lang.time.DateUtils
- This constructs an
Iterator
that will
start and stop over a date range based on the focused
date and the range style.
- iterator(Calendar, int) -
Static method in class org.apache.commons.lang.time.DateUtils
- This constructs an
Iterator
that will
start and stop over a date range based on the focused
date and the range style.
- iterator(Object, int) -
Static method in class org.apache.commons.lang.time.DateUtils
- This constructs an
Iterator
that will
start and stop over a date range based on the focused
date and the range style.
J
- JAVA_AWT_FONTS -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.awt.fonts
System Property.
- JAVA_AWT_GRAPHICSENV -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.awt.graphicsenv
System Property.
- JAVA_AWT_HEADLESS -
Static variable in class org.apache.commons.lang.SystemUtils
-
The
java.awt.headless
System Property.
- JAVA_AWT_PRINTERJOB -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.awt.printerjob
System Property.
- JAVA_CLASS_PATH -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.class.path
System Property.
- JAVA_CLASS_VERSION -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.class.version
System Property.
- JAVA_COMPILER -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.compiler
System Property.
- JAVA_ENDORSED_DIRS -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.endorsed.dirs
System Property.
- JAVA_EXT_DIRS -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.ext.dirs
System Property.
- JAVA_HOME -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.home
System Property.
- JAVA_IO_TMPDIR -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.io.tmpdir
System Property.
- JAVA_LIBRARY_PATH -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.library.path
System Property.
- JAVA_RUNTIME_NAME -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.runtime.name
System Property.
- JAVA_RUNTIME_VERSION -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.runtime.version
System Property.
- JAVA_SPECIFICATION_NAME -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.specification.name
System Property.
- JAVA_SPECIFICATION_VENDOR -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.specification.vendor
System Property.
- JAVA_SPECIFICATION_VERSION -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.specification.version
System Property.
- JAVA_UTIL_PREFS_PREFERENCES_FACTORY -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.util.prefs.PreferencesFactory
System Property.
- JAVA_VENDOR -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.vendor
System Property.
- JAVA_VENDOR_URL -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.vendor.url
System Property.
- JAVA_VERSION -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.version
System Property.
- JAVA_VERSION_FLOAT -
Static variable in class org.apache.commons.lang.SystemUtils
- Gets the Java version as a
float
.
- JAVA_VERSION_INT -
Static variable in class org.apache.commons.lang.SystemUtils
- Gets the Java version as an
int
.
- JAVA_VERSION_TRIMMED -
Static variable in class org.apache.commons.lang.SystemUtils
- Gets the Java version as a
String
trimming leading letters.
- JAVA_VM_INFO -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.vm.info
System Property.
- JAVA_VM_NAME -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.vm.name
System Property.
- JAVA_VM_SPECIFICATION_NAME -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.vm.specification.name
System Property.
- JAVA_VM_SPECIFICATION_VENDOR -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.vm.specification.vendor
System Property.
- JAVA_VM_SPECIFICATION_VERSION -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.vm.specification.version
System Property.
- JAVA_VM_VENDOR -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.vm.vendor
System Property.
- JAVA_VM_VERSION -
Static variable in class org.apache.commons.lang.SystemUtils
- The
java.vm.version
System Property.
- JVMRandom - class org.apache.commons.lang.math.JVMRandom.
JVMRandom
is a wrapper that supports all possible
Random methods via the Math.random()
method
and its system-wide Random
object.- JVMRandom() -
Constructor for class org.apache.commons.lang.math.JVMRandom
- Constructs a new instance.
- JVM_RANDOM -
Static variable in class org.apache.commons.lang.math.RandomUtils
- An instance of
JVMRandom
.
- join(Object[]) -
Static method in class org.apache.commons.lang.StringUtils
- Joins the elements of the provided array into a single String
containing the provided list of elements.
- join(Object[], char) -
Static method in class org.apache.commons.lang.StringUtils
- Joins the elements of the provided array into a single String
containing the provided list of elements.
- join(Object[], String) -
Static method in class org.apache.commons.lang.StringUtils
- Joins the elements of the provided array into a single String
containing the provided list of elements.
- join(Iterator, char) -
Static method in class org.apache.commons.lang.StringUtils
- Joins the elements of the provided
Iterator
into
a single String containing the provided elements.
- join(Iterator, String) -
Static method in class org.apache.commons.lang.StringUtils
- Joins the elements of the provided
Iterator
into
a single String containing the provided elements.
K
- keep(String, String) -
Static method in class org.apache.commons.lang.CharSetUtils
- Takes an argument in set-syntax, see evaluateSet,
and keeps any of characters present in the specified string.
- keep(String, String[]) -
Static method in class org.apache.commons.lang.CharSetUtils
- Takes an argument in set-syntax, see evaluateSet,
and keeps any of characters present in the specified string.
L
- LINE_SEPARATOR -
Static variable in class org.apache.commons.lang.SystemUtils
- The
line.separator
System Property.
- LONG -
Static variable in class org.apache.commons.lang.time.FastDateFormat
- LONG locale dependent date or time style.
- LONG_MINUS_ONE -
Static variable in class org.apache.commons.lang.math.NumberUtils
- Reusable Long constant for minus one.
- LONG_ONE -
Static variable in class org.apache.commons.lang.math.NumberUtils
- Reusable Long constant for one.
- LONG_ZERO -
Static variable in class org.apache.commons.lang.math.NumberUtils
- Reusable Long constant for zero.
- LongRange - class org.apache.commons.lang.math.LongRange.
LongRange
represents an inclusive range of long
s.- LongRange(long) -
Constructor for class org.apache.commons.lang.math.LongRange
- Constructs a new
LongRange
using the specified
number as both the minimum and maximum in this range.
- LongRange(Number) -
Constructor for class org.apache.commons.lang.math.LongRange
- Constructs a new
LongRange
using the specified
number as both the minimum and maximum in this range.
- LongRange(long, long) -
Constructor for class org.apache.commons.lang.math.LongRange
- Constructs a new
LongRange
with the specified
minimum and maximum numbers (both inclusive).
- LongRange(Number, Number) -
Constructor for class org.apache.commons.lang.math.LongRange
- Constructs a new
LongRange
with the specified
minimum and maximum numbers (both inclusive).
- lastIndexOf(Object[], Object) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given object within the array.
- lastIndexOf(Object[], Object, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given object in the array starting at the given index.
- lastIndexOf(long[], long) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given value within the array.
- lastIndexOf(long[], long, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given value in the array starting at the given index.
- lastIndexOf(int[], int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given value within the array.
- lastIndexOf(int[], int, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given value in the array starting at the given index.
- lastIndexOf(short[], short) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given value within the array.
- lastIndexOf(short[], short, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given value in the array starting at the given index.
- lastIndexOf(char[], char) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given value within the array.
- lastIndexOf(char[], char, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given value in the array starting at the given index.
- lastIndexOf(byte[], byte) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given value within the array.
- lastIndexOf(byte[], byte, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given value in the array starting at the given index.
- lastIndexOf(double[], double) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given value within the array.
- lastIndexOf(double[], double, double) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given value within a given tolerance in the array.
- lastIndexOf(double[], double, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given value in the array starting at the given index.
- lastIndexOf(double[], double, int, double) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given value in the array starting at the given index.
- lastIndexOf(float[], float) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given value within the array.
- lastIndexOf(float[], float, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given value in the array starting at the given index.
- lastIndexOf(boolean[], boolean) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given value within the array.
- lastIndexOf(boolean[], boolean, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Find the last index of the given value in the array starting at the given index.
- lastIndexOf(String, char) -
Static method in class org.apache.commons.lang.StringUtils
- Finds the last index within a String, handling
null
.
- lastIndexOf(String, char, int) -
Static method in class org.apache.commons.lang.StringUtils
- Finds the last index within a String from a start position,
handling
null
.
- lastIndexOf(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Finds the last index within a String, handling
null
.
- lastIndexOf(String, String, int) -
Static method in class org.apache.commons.lang.StringUtils
- Finds the first index within a String, handling
null
.
- lastIndexOfAny(String, String[]) -
Static method in class org.apache.commons.lang.StringUtils
- Find the latest index of any of a set of potential substrings.
- left(String, int) -
Static method in class org.apache.commons.lang.StringUtils
- Gets the leftmost
len
characters of a String.
- leftPad(String, int) -
Static method in class org.apache.commons.lang.StringUtils
- Left pad a String with spaces (' ').
- leftPad(String, int, char) -
Static method in class org.apache.commons.lang.StringUtils
- Left pad a String with a specified character.
- leftPad(String, int, String) -
Static method in class org.apache.commons.lang.StringUtils
- Left pad a String with a specified String.
- longValue() -
Method in class org.apache.commons.lang.math.Fraction
- Gets the fraction as a
long
.
- longValue() -
Method in class org.apache.commons.lang.mutable.MutableByte
- Returns the value of this MutableByte as a long.
- longValue() -
Method in class org.apache.commons.lang.mutable.MutableDouble
- Returns the value of this MutableDouble as a long.
- longValue() -
Method in class org.apache.commons.lang.mutable.MutableFloat
- Returns the value of this MutableFloat as a long.
- longValue() -
Method in class org.apache.commons.lang.mutable.MutableInt
- Returns the value of this MutableInt as a long.
- longValue() -
Method in class org.apache.commons.lang.mutable.MutableLong
- Returns the value of this MutableLong as a long.
- longValue() -
Method in class org.apache.commons.lang.mutable.MutableShort
- Returns the value of this MutableShort as a long.
- lowerCase(String) -
Static method in class org.apache.commons.lang.StringUtils
- Converts a String to lower case as per
String.toLowerCase()
.
M
- MEDIUM -
Static variable in class org.apache.commons.lang.time.FastDateFormat
- MEDIUM locale dependent date or time style.
- MILLIS_IN_DAY -
Static variable in class org.apache.commons.lang.time.DateUtils
- Deprecated. Use MILLIS_PER_DAY. This will be removed in Commons Lang 3.0.
- MILLIS_IN_HOUR -
Static variable in class org.apache.commons.lang.time.DateUtils
- Deprecated. Use MILLIS_PER_HOUR. This will be removed in Commons Lang 3.0.
- MILLIS_IN_MINUTE -
Static variable in class org.apache.commons.lang.time.DateUtils
- Deprecated. Use MILLIS_PER_MINUTE. This will be removed in Commons Lang 3.0.
- MILLIS_IN_SECOND -
Static variable in class org.apache.commons.lang.time.DateUtils
- Deprecated. Use MILLIS_PER_SECOND. This will be removed in Commons Lang 3.0.
- MILLIS_PER_DAY -
Static variable in class org.apache.commons.lang.time.DateUtils
- Number of milliseconds in a standard day.
- MILLIS_PER_HOUR -
Static variable in class org.apache.commons.lang.time.DateUtils
- Number of milliseconds in a standard hour.
- MILLIS_PER_MINUTE -
Static variable in class org.apache.commons.lang.time.DateUtils
- Number of milliseconds in a standard minute.
- MILLIS_PER_SECOND -
Static variable in class org.apache.commons.lang.time.DateUtils
- Number of milliseconds in a standard second.
- MULTI_LINE_STYLE -
Static variable in class org.apache.commons.lang.builder.ToStringStyle
- The multi line toString style.
- Mutable - interface org.apache.commons.lang.mutable.Mutable.
- Provides mutable access to a value.
- MutableByte - class org.apache.commons.lang.mutable.MutableByte.
- A mutable
byte
wrapper. - MutableByte() -
Constructor for class org.apache.commons.lang.mutable.MutableByte
- Constructs a new MutableByte with the default value of zero.
- MutableByte(byte) -
Constructor for class org.apache.commons.lang.mutable.MutableByte
- Constructs a new MutableByte with the specified value.
- MutableByte(Number) -
Constructor for class org.apache.commons.lang.mutable.MutableByte
- Constructs a new MutableByte with the specified value.
- MutableDouble - class org.apache.commons.lang.mutable.MutableDouble.
- A mutable
double
wrapper. - MutableDouble() -
Constructor for class org.apache.commons.lang.mutable.MutableDouble
- Constructs a new MutableDouble with the default value of zero.
- MutableDouble(double) -
Constructor for class org.apache.commons.lang.mutable.MutableDouble
- Constructs a new MutableDouble with the specified value.
- MutableDouble(Number) -
Constructor for class org.apache.commons.lang.mutable.MutableDouble
- Constructs a new MutableDouble with the specified value.
- MutableFloat - class org.apache.commons.lang.mutable.MutableFloat.
- A mutable
float
wrapper. - MutableFloat() -
Constructor for class org.apache.commons.lang.mutable.MutableFloat
- Constructs a new MutableFloat with the default value of zero.
- MutableFloat(float) -
Constructor for class org.apache.commons.lang.mutable.MutableFloat
- Constructs a new MutableFloat with the specified value.
- MutableFloat(Number) -
Constructor for class org.apache.commons.lang.mutable.MutableFloat
- Constructs a new MutableFloat with the specified value.
- MutableInt - class org.apache.commons.lang.mutable.MutableInt.
- A mutable
int
wrapper. - MutableInt() -
Constructor for class org.apache.commons.lang.mutable.MutableInt
- Constructs a new MutableInt with the default value of zero.
- MutableInt(int) -
Constructor for class org.apache.commons.lang.mutable.MutableInt
- Constructs a new MutableInt with the specified value.
- MutableInt(Number) -
Constructor for class org.apache.commons.lang.mutable.MutableInt
- Constructs a new MutableInt with the specified value.
- MutableLong - class org.apache.commons.lang.mutable.MutableLong.
- A mutable
long
wrapper. - MutableLong() -
Constructor for class org.apache.commons.lang.mutable.MutableLong
- Constructs a new MutableLong with the default value of zero.
- MutableLong(long) -
Constructor for class org.apache.commons.lang.mutable.MutableLong
- Constructs a new MutableLong with the specified value.
- MutableLong(Number) -
Constructor for class org.apache.commons.lang.mutable.MutableLong
- Constructs a new MutableLong with the specified value.
- MutableObject - class org.apache.commons.lang.mutable.MutableObject.
- A mutable
Object
wrapper. - MutableObject() -
Constructor for class org.apache.commons.lang.mutable.MutableObject
- Constructs a new MutableObject with the default value of
null
.
- MutableObject(Object) -
Constructor for class org.apache.commons.lang.mutable.MutableObject
- Constructs a new MutableObject with the specified value.
- MutableShort - class org.apache.commons.lang.mutable.MutableShort.
- A mutable
short
wrapper. - MutableShort() -
Constructor for class org.apache.commons.lang.mutable.MutableShort
- Constructs a new MutableShort with the default value of zero.
- MutableShort(short) -
Constructor for class org.apache.commons.lang.mutable.MutableShort
- Constructs a new MutableShort with the specified value.
- MutableShort(Number) -
Constructor for class org.apache.commons.lang.mutable.MutableShort
- Constructs a new MutableShort with the specified value.
- matchSubclasses -
Static variable in class org.apache.commons.lang.exception.NestableDelegate
- Whether to match subclasses via indexOf.
- max(long[]) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Returns the maximum value in an array.
- max(int[]) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Returns the maximum value in an array.
- max(short[]) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Returns the maximum value in an array.
- max(double[]) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Returns the maximum value in an array.
- max(float[]) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Returns the maximum value in an array.
- max(long, long, long) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Gets the maximum of three
long
values.
- max(int, int, int) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Gets the maximum of three
int
values.
- max(short, short, short) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Gets the maximum of three
short
values.
- max(byte, byte, byte) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Gets the maximum of three
byte
values.
- max(double, double, double) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Gets the maximum of three
double
values.
- max(float, float, float) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Gets the maximum of three
float
values.
- maximum(long, long, long) -
Static method in class org.apache.commons.lang.NumberUtils
- Deprecated. Gets the maximum of three
long
values.
- maximum(int, int, int) -
Static method in class org.apache.commons.lang.NumberUtils
- Deprecated. Gets the maximum of three
int
values.
- mid(String, int, int) -
Static method in class org.apache.commons.lang.StringUtils
- Gets
len
characters from the middle of a String.
- min(long[]) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Returns the minimum value in an array.
- min(int[]) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Returns the minimum value in an array.
- min(short[]) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Returns the minimum value in an array.
- min(double[]) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Returns the minimum value in an array.
- min(float[]) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Returns the minimum value in an array.
- min(long, long, long) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Gets the minimum of three
long
values.
- min(int, int, int) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Gets the minimum of three
int
values.
- min(short, short, short) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Gets the minimum of three
short
values.
- min(byte, byte, byte) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Gets the minimum of three
byte
values.
- min(double, double, double) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Gets the minimum of three
double
values.
- min(float, float, float) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Gets the minimum of three
float
values.
- minimum(long, long, long) -
Static method in class org.apache.commons.lang.NumberUtils
- Deprecated. Gets the minimum of three
long
values.
- minimum(int, int, int) -
Static method in class org.apache.commons.lang.NumberUtils
- Deprecated. Gets the minimum of three
int
values.
- multiplyBy(Fraction) -
Method in class org.apache.commons.lang.math.Fraction
- Multiplies the value of this fraction by another, returning the
result in reduced form.
N
- NO_FIELD_NAMES_STYLE -
Static variable in class org.apache.commons.lang.builder.ToStringStyle
- The no field names toString style.
- NULL -
Static variable in class org.apache.commons.lang.ObjectUtils
- Singleton used as a
null
placeholder where
null
has another meaning.
- Nestable - interface org.apache.commons.lang.exception.Nestable.
- An interface to be implemented by
Throwable
extensions which would like to be able to nest root exceptions
inside themselves. - NestableDelegate - class org.apache.commons.lang.exception.NestableDelegate.
- A shared implementation of the nestable exception functionality.
- NestableDelegate(Nestable) -
Constructor for class org.apache.commons.lang.exception.NestableDelegate
- Constructs a new
NestableDelegate
instance to manage the
specified Nestable
.
- NestableError - error org.apache.commons.lang.exception.NestableError.
- The base class of all errors which can contain other exceptions.
- NestableError() -
Constructor for class org.apache.commons.lang.exception.NestableError
- Constructs a new
NestableError
without specified
detail message.
- NestableError(String) -
Constructor for class org.apache.commons.lang.exception.NestableError
- Constructs a new
NestableError
with specified
detail message.
- NestableError(Throwable) -
Constructor for class org.apache.commons.lang.exception.NestableError
- Constructs a new
NestableError
with specified
nested Throwable
.
- NestableError(String, Throwable) -
Constructor for class org.apache.commons.lang.exception.NestableError
- Constructs a new
NestableError
with specified
detail message and nested Throwable
.
- NestableException - exception org.apache.commons.lang.exception.NestableException.
- The base class of all exceptions which can contain other exceptions.
- NestableException() -
Constructor for class org.apache.commons.lang.exception.NestableException
- Constructs a new
NestableException
without specified
detail message.
- NestableException(String) -
Constructor for class org.apache.commons.lang.exception.NestableException
- Constructs a new
NestableException
with specified
detail message.
- NestableException(Throwable) -
Constructor for class org.apache.commons.lang.exception.NestableException
- Constructs a new
NestableException
with specified
nested Throwable
.
- NestableException(String, Throwable) -
Constructor for class org.apache.commons.lang.exception.NestableException
- Constructs a new
NestableException
with specified
detail message and nested Throwable
.
- NestableRuntimeException - exception org.apache.commons.lang.exception.NestableRuntimeException.
- The base class of all runtime exceptions which can contain other
exceptions.
- NestableRuntimeException() -
Constructor for class org.apache.commons.lang.exception.NestableRuntimeException
- Constructs a new
NestableRuntimeException
without specified
detail message.
- NestableRuntimeException(String) -
Constructor for class org.apache.commons.lang.exception.NestableRuntimeException
- Constructs a new
NestableRuntimeException
with specified
detail message.
- NestableRuntimeException(Throwable) -
Constructor for class org.apache.commons.lang.exception.NestableRuntimeException
- Constructs a new
NestableRuntimeException
with specified
nested Throwable
.
- NestableRuntimeException(String, Throwable) -
Constructor for class org.apache.commons.lang.exception.NestableRuntimeException
- Constructs a new
NestableRuntimeException
with specified
detail message and nested Throwable
.
- NotImplementedException - exception org.apache.commons.lang.NotImplementedException.
- Thrown to indicate that a block of code has not been implemented.
- NotImplementedException() -
Constructor for class org.apache.commons.lang.NotImplementedException
- Constructs a new
NotImplementedException
with default message.
- NotImplementedException(String) -
Constructor for class org.apache.commons.lang.NotImplementedException
- Constructs a new
NotImplementedException
with specified
detail message.
- NotImplementedException(Throwable) -
Constructor for class org.apache.commons.lang.NotImplementedException
- Constructs a new
NotImplementedException
with specified
nested Throwable
and default message.
- NotImplementedException(String, Throwable) -
Constructor for class org.apache.commons.lang.NotImplementedException
- Constructs a new
NotImplementedException
with specified
detail message and nested Throwable
.
- NotImplementedException(Class) -
Constructor for class org.apache.commons.lang.NotImplementedException
- Constructs a new
NotImplementedException
referencing
the specified class.
- NullArgumentException - exception org.apache.commons.lang.NullArgumentException.
- Thrown to indicate that an argument was
null
and should
not have been. - NullArgumentException(String) -
Constructor for class org.apache.commons.lang.NullArgumentException
- Instantiates with the given argument name.
- NumberRange - class org.apache.commons.lang.NumberRange.
- Deprecated. Use one of the Range classes in org.apache.commons.lang.math.
Class will be removed in Commons Lang 3.0.
- NumberRange(Number) -
Constructor for class org.apache.commons.lang.NumberRange
- Deprecated. Constructs a new
NumberRange
using
number
as both the minimum and maximum in
this range.
- NumberRange(Number, Number) -
Constructor for class org.apache.commons.lang.NumberRange
- Deprecated. Constructs a new
NumberRange
with the specified
minimum and maximum numbers.
- NumberRange - class org.apache.commons.lang.math.NumberRange.
NumberRange
represents an inclusive range of
Number
objects of the same type.- NumberRange(Number) -
Constructor for class org.apache.commons.lang.math.NumberRange
- Constructs a new
NumberRange
using the specified
number as both the minimum and maximum in this range.
- NumberRange(Number, Number) -
Constructor for class org.apache.commons.lang.math.NumberRange
- Constructs a new
NumberRange
with the specified
minimum and maximum numbers (both inclusive).
- NumberUtils - class org.apache.commons.lang.NumberUtils.
- Deprecated. Moved to org.apache.commons.lang.math.
Class will be removed in Commons Lang 3.0.
- NumberUtils() -
Constructor for class org.apache.commons.lang.NumberUtils
- Deprecated.
NumberUtils
instances should NOT be constructed in standard programming.
- NumberUtils - class org.apache.commons.lang.math.NumberUtils.
- Provides extra functionality for Java Number classes.
- NumberUtils() -
Constructor for class org.apache.commons.lang.math.NumberUtils
NumberUtils
instances should NOT be constructed in standard programming.
- negate(Boolean) -
Static method in class org.apache.commons.lang.BooleanUtils
- Negates the specified boolean.
- negate() -
Method in class org.apache.commons.lang.math.Fraction
- Gets a fraction that is the negative (-fraction) of this one.
- nextBoolean() -
Method in class org.apache.commons.lang.math.JVMRandom
- Returns the next pseudorandom, uniformly distributed boolean value
from the Math.random() sequence.
- nextBoolean() -
Static method in class org.apache.commons.lang.math.RandomUtils
- Returns the next pseudorandom, uniformly distributed boolean value
from the Math.random() sequence.
- nextBoolean(Random) -
Static method in class org.apache.commons.lang.math.RandomUtils
- Returns the next pseudorandom, uniformly distributed boolean value
from the given random sequence.
- nextBytes(byte[]) -
Method in class org.apache.commons.lang.math.JVMRandom
- Unsupported in 2.0.
- nextDouble() -
Method in class org.apache.commons.lang.math.JVMRandom
- Synonymous to the Math.random() call.
- nextDouble() -
Static method in class org.apache.commons.lang.math.RandomUtils
- Returns the next pseudorandom, uniformly distributed float value
between
0.0
and 1.0
from the Math.random()
sequence.
- nextDouble(Random) -
Static method in class org.apache.commons.lang.math.RandomUtils
- Returns the next pseudorandom, uniformly distributed float value
between
0.0
and 1.0
from the given Random
sequence.
- nextFloat() -
Method in class org.apache.commons.lang.math.JVMRandom
- Returns the next pseudorandom, uniformly distributed float value
between
0.0
and 1.0
from the Math.random()
sequence.
- nextFloat() -
Static method in class org.apache.commons.lang.math.RandomUtils
- Returns the next pseudorandom, uniformly distributed float value
between
0.0
and 1.0
from the Math.random()
sequence.
- nextFloat(Random) -
Static method in class org.apache.commons.lang.math.RandomUtils
- Returns the next pseudorandom, uniformly distributed float value
between
0.0
and 1.0
from the given Random
sequence.
- nextGaussian() -
Method in class org.apache.commons.lang.math.JVMRandom
- Unsupported in 2.0.
- nextInt() -
Method in class org.apache.commons.lang.math.JVMRandom
- Returns the next pseudorandom, uniformly distributed int value
from the Math.random() sequence.
- nextInt(int) -
Method in class org.apache.commons.lang.math.JVMRandom
- Returns a pseudorandom, uniformly distributed int value between
0
(inclusive) and the specified value (exclusive), from
the Math.random() sequence.
- nextInt() -
Static method in class org.apache.commons.lang.math.RandomUtils
- Returns the next pseudorandom, uniformly distributed int value
from the Math.random() sequence.
- nextInt(Random) -
Static method in class org.apache.commons.lang.math.RandomUtils
- Returns the next pseudorandom, uniformly distributed int value
from the given
random
sequence.
- nextInt(int) -
Static method in class org.apache.commons.lang.math.RandomUtils
- Returns a pseudorandom, uniformly distributed int value
between
0
(inclusive) and the specified value
(exclusive), from the Math.random() sequence.
- nextInt(Random, int) -
Static method in class org.apache.commons.lang.math.RandomUtils
- Returns a pseudorandom, uniformly distributed int value
between
0
(inclusive) and the specified value
(exclusive), from the given Random sequence.
- nextLong() -
Method in class org.apache.commons.lang.math.JVMRandom
- Returns the next pseudorandom, uniformly distributed long value
from the Math.random() sequence.
- nextLong(long) -
Static method in class org.apache.commons.lang.math.JVMRandom
- Returns a pseudorandom, uniformly distributed long value between
0
(inclusive) and the specified value (exclusive), from
the Math.random() sequence.
- nextLong() -
Static method in class org.apache.commons.lang.math.RandomUtils
- Returns the next pseudorandom, uniformly distributed long value
from the Math.random() sequence.
- nextLong(Random) -
Static method in class org.apache.commons.lang.math.RandomUtils
- Returns the next pseudorandom, uniformly distributed long value
from the given Random sequence.
- noNullElements(Object[], String) -
Static method in class org.apache.commons.lang.Validate
- Validate an argument, throwing
IllegalArgumentException
if the argument array has null
elements or is
null
.
- noNullElements(Object[]) -
Static method in class org.apache.commons.lang.Validate
- Validate an argument, throwing
IllegalArgumentException
if the argument array has null
elements or is
null
.
- noNullElements(Collection, String) -
Static method in class org.apache.commons.lang.Validate
- Validate an argument, throwing
IllegalArgumentException
if the argument Collection has null
elements or is
null
.
- noNullElements(Collection) -
Static method in class org.apache.commons.lang.Validate
- Validate an argument, throwing
IllegalArgumentException
if the argument Collection has null
elements or is
null
.
- notEmpty(Object[], String) -
Static method in class org.apache.commons.lang.Validate
- Validate an argument, throwing
IllegalArgumentException
if the argument array is empty (null
or no elements).
- notEmpty(Object[]) -
Static method in class org.apache.commons.lang.Validate
- Validate an argument, throwing
IllegalArgumentException
if the argument array is empty (null
or no elements).
- notEmpty(Collection, String) -
Static method in class org.apache.commons.lang.Validate
- Validate an argument, throwing
IllegalArgumentException
if the argument Collection is empty (null
or no elements).
- notEmpty(Collection) -
Static method in class org.apache.commons.lang.Validate
- Validate an argument, throwing
IllegalArgumentException
if the argument Collection is empty (null
or no elements).
- notEmpty(Map, String) -
Static method in class org.apache.commons.lang.Validate
- Validate an argument, throwing
IllegalArgumentException
if the argument Map is empty (null
or no elements).
- notEmpty(Map) -
Static method in class org.apache.commons.lang.Validate
- Validate an argument, throwing
IllegalArgumentException
if the argument Map is empty (null
or no elements).
- notEmpty(String, String) -
Static method in class org.apache.commons.lang.Validate
- Validate an argument, throwing
IllegalArgumentException
if the argument String is empty (null
or zero length).
- notEmpty(String) -
Static method in class org.apache.commons.lang.Validate
- Validate an argument, throwing
IllegalArgumentException
if the argument String is empty (null
or zero length).
- notNull(Object, String) -
Static method in class org.apache.commons.lang.Validate
- Validate an argument, throwing
IllegalArgumentException
if the argument is null
.
- notNull(Object) -
Static method in class org.apache.commons.lang.Validate
- Validate an argument, throwing
IllegalArgumentException
if the argument is null
.
O
- ONE -
Static variable in class org.apache.commons.lang.math.Fraction
Fraction
representation of 1.
- ONE_FIFTH -
Static variable in class org.apache.commons.lang.math.Fraction
Fraction
representation of 1/5.
- ONE_HALF -
Static variable in class org.apache.commons.lang.math.Fraction
Fraction
representation of 1/2.
- ONE_QUARTER -
Static variable in class org.apache.commons.lang.math.Fraction
Fraction
representation of 1/4.
- ONE_THIRD -
Static variable in class org.apache.commons.lang.math.Fraction
Fraction
representation of 1/3.
- OS_ARCH -
Static variable in class org.apache.commons.lang.SystemUtils
- The
os.arch
System Property.
- OS_NAME -
Static variable in class org.apache.commons.lang.SystemUtils
- The
os.name
System Property.
- OS_VERSION -
Static variable in class org.apache.commons.lang.SystemUtils
- The
os.version
System Property.
- ObjectUtils - class org.apache.commons.lang.ObjectUtils.
- Operations on
Object
. - ObjectUtils() -
Constructor for class org.apache.commons.lang.ObjectUtils
ObjectUtils
instances should NOT be constructed in
standard programming.
- ObjectUtils.Null - class org.apache.commons.lang.ObjectUtils.Null.
- Class used as a null placeholder where
null
has another meaning. - ordinalIndexOf(String, String, int) -
Static method in class org.apache.commons.lang.StringUtils
- Finds the n-th index within a String, handling
null
.
- org.apache.commons.lang - package org.apache.commons.lang
- Provides highly reusable static utility methods, chiefly concerned
with adding value to
java.lang
and other standard core classes. - org.apache.commons.lang.builder - package org.apache.commons.lang.builder
- Assists in creating consistent
equals(Object)
, toString()
,
hashCode()
, and compareTo(Object)
methods. - org.apache.commons.lang.enum - package org.apache.commons.lang.enum
-
Deprecated and replaced by
org.apache.commons.lang.enums
and will be removed in version 3.0. - org.apache.commons.lang.enums - package org.apache.commons.lang.enums
-
Provides an implementation of the C style
enum
in the Java world. - org.apache.commons.lang.exception - package org.apache.commons.lang.exception
- Provides JDK 1.4 style Nested Exception functionality for those on prior Java
versions.
- org.apache.commons.lang.math - package org.apache.commons.lang.math
- Extends
java.math
for business mathematical classes. - org.apache.commons.lang.mutable - package org.apache.commons.lang.mutable
- Provides typed mutable wrappers to primitive values and Object.
- org.apache.commons.lang.time - package org.apache.commons.lang.time
-
Provides classes and methods to work with dates and durations.
- overlaps(NumberRange) -
Method in class org.apache.commons.lang.NumberRange
- Deprecated. Tests whether the specified range overlaps with this range
using
double
comparison.
- overlapsRange(Range) -
Method in class org.apache.commons.lang.math.DoubleRange
- Tests whether the specified range overlaps with this range
using
double
comparison.
- overlapsRange(Range) -
Method in class org.apache.commons.lang.math.FloatRange
- Tests whether the specified range overlaps with this range
using
float
comparison.
- overlapsRange(Range) -
Method in class org.apache.commons.lang.math.IntRange
- Tests whether the specified range overlaps with this range
using
int
comparison.
- overlapsRange(Range) -
Method in class org.apache.commons.lang.math.LongRange
- Tests whether the specified range overlaps with this range
using
long
comparison.
- overlapsRange(Range) -
Method in class org.apache.commons.lang.math.Range
- Tests whether the specified range overlaps with this range.
- overlay(String, String, int, int) -
Static method in class org.apache.commons.lang.StringUtils
- Overlays part of a String with another String.
- overlayString(String, String, int, int) -
Static method in class org.apache.commons.lang.StringUtils
- Deprecated. Use better named
StringUtils.overlay(String, String, int, int)
instead.
Method will be removed in Commons Lang 3.0.
P
- PACKAGE_SEPARATOR -
Static variable in class org.apache.commons.lang.ClassUtils
- The package separator String:
"."
.
- PACKAGE_SEPARATOR_CHAR -
Static variable in class org.apache.commons.lang.ClassUtils
- The package separator character:
'.' == 46
.
- PATH_SEPARATOR -
Static variable in class org.apache.commons.lang.SystemUtils
- The
path.separator
System Property.
- parseDate(String, String[]) -
Static method in class org.apache.commons.lang.time.DateUtils
- Parses a string representing a date by trying a variety of different parsers.
- parseObject(String, ParsePosition) -
Method in class org.apache.commons.lang.time.FastDateFormat
- Parsing not supported.
- parsePattern() -
Method in class org.apache.commons.lang.time.FastDateFormat
- Returns a list of Rules given a pattern.
- parseToken(String, int[]) -
Method in class org.apache.commons.lang.time.FastDateFormat
- Performs the parsing of tokens.
- pow(int) -
Method in class org.apache.commons.lang.math.Fraction
- Gets a fraction that is raised to the passed in power.
- prechomp(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Deprecated. Use
StringUtils.substringAfter(String,String)
instead.
Method will be removed in Commons Lang 3.0.
- primitiveToWrapper(Class) -
Static method in class org.apache.commons.lang.ClassUtils
- Converts the specified primitive Class object to its corresponding
wrapper Class object.
- primitivesToWrappers(Class[]) -
Static method in class org.apache.commons.lang.ClassUtils
- Converts the specified array of primitive Class objects to an array of
its corresponding wrapper Class objects.
- printPartialStackTrace(PrintWriter) -
Method in class org.apache.commons.lang.NotImplementedException
- Prints the stack trace for this exception only (root cause not included)
using the specified writer.
- printPartialStackTrace(PrintWriter) -
Method in interface org.apache.commons.lang.exception.Nestable
- Prints the stack trace for this exception only--root cause not
included--using the provided writer.
- printPartialStackTrace(PrintWriter) -
Method in class org.apache.commons.lang.exception.NestableError
-
- printPartialStackTrace(PrintWriter) -
Method in class org.apache.commons.lang.exception.NestableException
-
- printPartialStackTrace(PrintWriter) -
Method in class org.apache.commons.lang.exception.NestableRuntimeException
-
- printRootCauseStackTrace(Throwable) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Prints a compact stack trace for the root cause of a throwable
to
System.err
.
- printRootCauseStackTrace(Throwable, PrintStream) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Prints a compact stack trace for the root cause of a throwable.
- printRootCauseStackTrace(Throwable, PrintWriter) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Prints a compact stack trace for the root cause of a throwable.
- printStackTrace() -
Method in class org.apache.commons.lang.NotImplementedException
- Prints the stack trace of this exception.
- printStackTrace(PrintStream) -
Method in class org.apache.commons.lang.NotImplementedException
- Prints the stack trace of this exception to the specified stream.
- printStackTrace(PrintWriter) -
Method in class org.apache.commons.lang.NotImplementedException
- Prints the stack trace of this exception to the specified writer.
- printStackTrace(PrintWriter) -
Method in interface org.apache.commons.lang.exception.Nestable
- Prints the stack trace of this exception to the specified print
writer.
- printStackTrace(PrintStream) -
Method in interface org.apache.commons.lang.exception.Nestable
- Prints the stack trace of this exception to the specified print
stream.
- printStackTrace() -
Method in class org.apache.commons.lang.exception.NestableDelegate
- Prints the stack trace of this exception the the standar error
stream.
- printStackTrace(PrintStream) -
Method in class org.apache.commons.lang.exception.NestableDelegate
- Prints the stack trace of this exception to the specified
stream.
- printStackTrace(PrintWriter) -
Method in class org.apache.commons.lang.exception.NestableDelegate
- Prints the stack trace of this exception to the specified
writer.
- printStackTrace() -
Method in class org.apache.commons.lang.exception.NestableError
-
- printStackTrace(PrintStream) -
Method in class org.apache.commons.lang.exception.NestableError
-
- printStackTrace(PrintWriter) -
Method in class org.apache.commons.lang.exception.NestableError
-
- printStackTrace() -
Method in class org.apache.commons.lang.exception.NestableException
-
- printStackTrace(PrintStream) -
Method in class org.apache.commons.lang.exception.NestableException
-
- printStackTrace(PrintWriter) -
Method in class org.apache.commons.lang.exception.NestableException
-
- printStackTrace() -
Method in class org.apache.commons.lang.exception.NestableRuntimeException
-
- printStackTrace(PrintStream) -
Method in class org.apache.commons.lang.exception.NestableRuntimeException
-
- printStackTrace(PrintWriter) -
Method in class org.apache.commons.lang.exception.NestableRuntimeException
-
R
- RANGE_MONTH_MONDAY -
Static variable in class org.apache.commons.lang.time.DateUtils
- A month range, the week starting on Monday.
- RANGE_MONTH_SUNDAY -
Static variable in class org.apache.commons.lang.time.DateUtils
- A month range, the week starting on Sunday.
- RANGE_WEEK_CENTER -
Static variable in class org.apache.commons.lang.time.DateUtils
- A week range, centered around the day focused.
- RANGE_WEEK_MONDAY -
Static variable in class org.apache.commons.lang.time.DateUtils
- A week range, starting on Monday.
- RANGE_WEEK_RELATIVE -
Static variable in class org.apache.commons.lang.time.DateUtils
- A week range, starting on the day focused.
- RANGE_WEEK_SUNDAY -
Static variable in class org.apache.commons.lang.time.DateUtils
- A week range, starting on Sunday.
- RandomStringUtils - class org.apache.commons.lang.RandomStringUtils.
- Operations for random
String
s. - RandomStringUtils() -
Constructor for class org.apache.commons.lang.RandomStringUtils
RandomStringUtils
instances should NOT be constructed in
standard programming.
- RandomUtils - class org.apache.commons.lang.math.RandomUtils.
RandomUtils
is a wrapper that supports all possible
Random
methods via the Math.random()
method and its system-wide Random
object.- RandomUtils() -
Constructor for class org.apache.commons.lang.math.RandomUtils
-
- Range - class org.apache.commons.lang.math.Range.
Range
represents a range of numbers of the same type.- Range() -
Constructor for class org.apache.commons.lang.math.Range
- Constructs a new range.
- ReflectionToStringBuilder - class org.apache.commons.lang.builder.ReflectionToStringBuilder.
-
Assists in implementing
Object.toString()
methods using reflection. - ReflectionToStringBuilder(Object) -
Constructor for class org.apache.commons.lang.builder.ReflectionToStringBuilder
-
Constructor.
- ReflectionToStringBuilder(Object, ToStringStyle) -
Constructor for class org.apache.commons.lang.builder.ReflectionToStringBuilder
-
Constructor.
- ReflectionToStringBuilder(Object, ToStringStyle, StringBuffer) -
Constructor for class org.apache.commons.lang.builder.ReflectionToStringBuilder
-
Constructor.
- ReflectionToStringBuilder(Object, ToStringStyle, StringBuffer, Class, boolean) -
Constructor for class org.apache.commons.lang.builder.ReflectionToStringBuilder
- Deprecated. Use
ReflectionToStringBuilder.ReflectionToStringBuilder(Object,ToStringStyle,StringBuffer,Class,boolean,boolean)
.
- ReflectionToStringBuilder(Object, ToStringStyle, StringBuffer, Class, boolean, boolean) -
Constructor for class org.apache.commons.lang.builder.ReflectionToStringBuilder
- Constructor.
- random(int) -
Static method in class org.apache.commons.lang.RandomStringUtils
- Creates a random string whose length is the number of characters
specified.
- random(int, boolean, boolean) -
Static method in class org.apache.commons.lang.RandomStringUtils
- Creates a random string whose length is the number of characters
specified.
- random(int, int, int, boolean, boolean) -
Static method in class org.apache.commons.lang.RandomStringUtils
- Creates a random string whose length is the number of characters
specified.
- random(int, int, int, boolean, boolean, char[]) -
Static method in class org.apache.commons.lang.RandomStringUtils
- Creates a random string based on a variety of options, using
default source of randomness.
- random(int, int, int, boolean, boolean, char[], Random) -
Static method in class org.apache.commons.lang.RandomStringUtils
- Creates a random string based on a variety of options, using
supplied source of randomness.
- random(int, String) -
Static method in class org.apache.commons.lang.RandomStringUtils
- Creates a random string whose length is the number of characters
specified.
- random(int, char[]) -
Static method in class org.apache.commons.lang.RandomStringUtils
- Creates a random string whose length is the number of characters
specified.
- randomAlphabetic(int) -
Static method in class org.apache.commons.lang.RandomStringUtils
- Creates a random string whose length is the number of characters
specified.
- randomAlphanumeric(int) -
Static method in class org.apache.commons.lang.RandomStringUtils
- Creates a random string whose length is the number of characters
specified.
- randomAscii(int) -
Static method in class org.apache.commons.lang.RandomStringUtils
- Creates a random string whose length is the number of characters
specified.
- randomNumeric(int) -
Static method in class org.apache.commons.lang.RandomStringUtils
- Creates a random string whose length is the number of characters
specified.
- readResolve() -
Method in class org.apache.commons.lang.enum.Enum
- Deprecated. Handle the deserialization of the class to ensure that multiple
copies are not wastefully created, or illegal enum types created.
- readResolve() -
Method in class org.apache.commons.lang.enums.Enum
- Handle the deserialization of the class to ensure that multiple
copies are not wastefully created, or illegal enum types created.
- reduce() -
Method in class org.apache.commons.lang.math.Fraction
- Reduce the fraction to the smallest values for the numerator and
denominator, returning the result..
- reflectionAppendArray(Object) -
Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder
-
Append to the
toString
an Object
array.
- reflectionAppendArrayDetail(StringBuffer, String, Object) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Append to the
toString
the detail of an array type.
- reflectionCompare(Object, Object) -
Static method in class org.apache.commons.lang.builder.CompareToBuilder
- Compares two
Object
s via reflection.
- reflectionCompare(Object, Object, boolean) -
Static method in class org.apache.commons.lang.builder.CompareToBuilder
- Compares two
Object
s via reflection.
- reflectionCompare(Object, Object, boolean, Class) -
Static method in class org.apache.commons.lang.builder.CompareToBuilder
- Compares two
Object
s via reflection.
- reflectionEquals(Object, Object) -
Static method in class org.apache.commons.lang.builder.EqualsBuilder
- This method uses reflection to determine if the two
Object
s
are equal.
- reflectionEquals(Object, Object, boolean) -
Static method in class org.apache.commons.lang.builder.EqualsBuilder
- This method uses reflection to determine if the two
Object
s
are equal.
- reflectionEquals(Object, Object, boolean, Class) -
Static method in class org.apache.commons.lang.builder.EqualsBuilder
- This method uses reflection to determine if the two
Object
s
are equal.
- reflectionHashCode(Object) -
Static method in class org.apache.commons.lang.builder.HashCodeBuilder
- This method uses reflection to build a valid hash code.
- reflectionHashCode(Object, boolean) -
Static method in class org.apache.commons.lang.builder.HashCodeBuilder
- This method uses reflection to build a valid hash code.
- reflectionHashCode(int, int, Object) -
Static method in class org.apache.commons.lang.builder.HashCodeBuilder
- This method uses reflection to build a valid hash code.
- reflectionHashCode(int, int, Object, boolean) -
Static method in class org.apache.commons.lang.builder.HashCodeBuilder
- This method uses reflection to build a valid hash code.
- reflectionHashCode(int, int, Object, boolean, Class) -
Static method in class org.apache.commons.lang.builder.HashCodeBuilder
- This method uses reflection to build a valid hash code.
- reflectionToString(Object) -
Static method in class org.apache.commons.lang.builder.ToStringBuilder
- Forwards to
ReflectionToStringBuilder
.
- reflectionToString(Object, ToStringStyle) -
Static method in class org.apache.commons.lang.builder.ToStringBuilder
- Forwards to
ReflectionToStringBuilder
.
- reflectionToString(Object, ToStringStyle, boolean) -
Static method in class org.apache.commons.lang.builder.ToStringBuilder
- Forwards to
ReflectionToStringBuilder
.
- reflectionToString(Object, ToStringStyle, boolean, Class) -
Static method in class org.apache.commons.lang.builder.ToStringBuilder
- Forwards to
ReflectionToStringBuilder
.
- remove(Object[], int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Removes the element at the specified position from the specified array.
- remove(boolean[], int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Removes the element at the specified position from the specified array.
- remove(byte[], int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Removes the element at the specified position from the specified array.
- remove(char[], int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Removes the element at the specified position from the specified array.
- remove(double[], int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Removes the element at the specified position from the specified array.
- remove(float[], int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Removes the element at the specified position from the specified array.
- remove(int[], int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Removes the element at the specified position from the specified array.
- remove(long[], int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Removes the element at the specified position from the specified array.
- remove(short[], int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Removes the element at the specified position from the specified array.
- remove(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Removes all occurances of a substring from within the source string.
- remove(String, char) -
Static method in class org.apache.commons.lang.StringUtils
- Removes all occurances of a character from within the source string.
- removeCauseMethodName(String) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Removes from the list of method names used in the search for
Throwable
objects.
- removeCommonFrames(List, List) -
Static method in class org.apache.commons.lang.exception.ExceptionUtils
- Removes common frames from the cause trace given the two stack traces.
- removeElement(Object[], Object) -
Static method in class org.apache.commons.lang.ArrayUtils
- Removes the first occurrence of the specified element from the
specified array.
- removeElement(boolean[], boolean) -
Static method in class org.apache.commons.lang.ArrayUtils
- Removes the first occurrence of the specified element from the
specified array.
- removeElement(byte[], byte) -
Static method in class org.apache.commons.lang.ArrayUtils
- Removes the first occurrence of the specified element from the
specified array.
- removeElement(char[], char) -
Static method in class org.apache.commons.lang.ArrayUtils
- Removes the first occurrence of the specified element from the
specified array.
- removeElement(double[], double) -
Static method in class org.apache.commons.lang.ArrayUtils
- Removes the first occurrence of the specified element from the
specified array.
- removeElement(float[], float) -
Static method in class org.apache.commons.lang.ArrayUtils
- Removes the first occurrence of the specified element from the
specified array.
- removeElement(int[], int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Removes the first occurrence of the specified element from the
specified array.
- removeElement(long[], long) -
Static method in class org.apache.commons.lang.ArrayUtils
- Removes the first occurrence of the specified element from the
specified array.
- removeElement(short[], short) -
Static method in class org.apache.commons.lang.ArrayUtils
- Removes the first occurrence of the specified element from the
specified array.
- removeEnd(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Removes a substring only if it is at the end of a source string,
otherwise returns the source string.
- removeLastFieldSeparator(StringBuffer) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Remove the last field separator from the buffer.
- removeStart(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Removes a substring only if it is at the begining of a source string,
otherwise returns the source string.
- repeat(String, int) -
Static method in class org.apache.commons.lang.StringUtils
- Repeat a String
repeat
times to form a
new String.
- replace(String, String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Replaces all occurrences of a String within another String.
- replace(String, String, String, int) -
Static method in class org.apache.commons.lang.StringUtils
- Replaces a String with another String inside a larger String,
for the first
max
values of the search String.
- replaceChars(String, char, char) -
Static method in class org.apache.commons.lang.StringUtils
- Replaces all occurrences of a character in a String with another.
- replaceChars(String, String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Replaces multiple characters in a String in one go.
- replaceOnce(String, String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Replaces a String with another String inside a larger String, once.
- reset() -
Method in class org.apache.commons.lang.time.StopWatch
- Resets the stopwatch.
- resume() -
Method in class org.apache.commons.lang.time.StopWatch
- Resume the stopwatch after a suspend.
- reverse(Object[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Reverses the order of the given array.
- reverse(long[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Reverses the order of the given array.
- reverse(int[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Reverses the order of the given array.
- reverse(short[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Reverses the order of the given array.
- reverse(char[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Reverses the order of the given array.
- reverse(byte[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Reverses the order of the given array.
- reverse(double[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Reverses the order of the given array.
- reverse(float[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Reverses the order of the given array.
- reverse(boolean[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Reverses the order of the given array.
- reverse(String) -
Static method in class org.apache.commons.lang.StringUtils
- Reverses a String as per
StringBuffer.reverse()
.
- reverseDelimited(String, char) -
Static method in class org.apache.commons.lang.StringUtils
- Reverses a String that is delimited by a specific character.
- reverseDelimitedString(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Deprecated. Use
StringUtils.reverseDelimited(String, char)
instead.
This method is broken as the join doesn't know which char to use.
Method will be removed in Commons Lang 3.0.
- right(String, int) -
Static method in class org.apache.commons.lang.StringUtils
- Gets the rightmost
len
characters of a String.
- rightPad(String, int) -
Static method in class org.apache.commons.lang.StringUtils
- Right pad a String with spaces (' ').
- rightPad(String, int, char) -
Static method in class org.apache.commons.lang.StringUtils
- Right pad a String with a specified character.
- rightPad(String, int, String) -
Static method in class org.apache.commons.lang.StringUtils
- Right pad a String with a specified String.
- round(Date, int) -
Static method in class org.apache.commons.lang.time.DateUtils
- Round this date, leaving the field specified as the most
significant field.
- round(Calendar, int) -
Static method in class org.apache.commons.lang.time.DateUtils
- Round this date, leaving the field specified as the most
significant field.
- round(Object, int) -
Static method in class org.apache.commons.lang.time.DateUtils
- Round this date, leaving the field specified as the most
significant field.
S
- SEMI_MONTH -
Static variable in class org.apache.commons.lang.time.DateUtils
- This is half a month, so this represents whether a date is in the top
or bottom half of the month.
- SHORT -
Static variable in class org.apache.commons.lang.time.FastDateFormat
- SHORT locale dependent date or time style.
- SHORT_MINUS_ONE -
Static variable in class org.apache.commons.lang.math.NumberUtils
- Reusable Short constant for minus one.
- SHORT_ONE -
Static variable in class org.apache.commons.lang.math.NumberUtils
- Reusable Short constant for one.
- SHORT_PREFIX_STYLE -
Static variable in class org.apache.commons.lang.builder.ToStringStyle
- The short prefix toString style.
- SHORT_ZERO -
Static variable in class org.apache.commons.lang.math.NumberUtils
- Reusable Short constant for zero.
- SIMPLE_STYLE -
Static variable in class org.apache.commons.lang.builder.ToStringStyle
- The simple toString style.
- SMTP_DATETIME_FORMAT -
Static variable in class org.apache.commons.lang.time.DateFormatUtils
- SMTP (and probably other) date headers.
- SerializationException - exception org.apache.commons.lang.SerializationException.
- Exception thrown when the Serialization process fails.
- SerializationException() -
Constructor for class org.apache.commons.lang.SerializationException
- Constructs a new
SerializationException
without specified
detail message.
- SerializationException(String) -
Constructor for class org.apache.commons.lang.SerializationException
- Constructs a new
SerializationException
with specified
detail message.
- SerializationException(Throwable) -
Constructor for class org.apache.commons.lang.SerializationException
- Constructs a new
SerializationException
with specified
nested Throwable
.
- SerializationException(String, Throwable) -
Constructor for class org.apache.commons.lang.SerializationException
- Constructs a new
SerializationException
with specified
detail message and nested Throwable
.
- SerializationUtils - class org.apache.commons.lang.SerializationUtils.
- Assists with the serialization process and performs additional functionality based
on serialization.
- SerializationUtils() -
Constructor for class org.apache.commons.lang.SerializationUtils
- SerializationUtils instances should NOT be constructed in standard programming.
- StandardToStringStyle - class org.apache.commons.lang.builder.StandardToStringStyle.
- Works with
ToStringBuilder
to create a toString
. - StandardToStringStyle() -
Constructor for class org.apache.commons.lang.builder.StandardToStringStyle
- Constructor.
- StopWatch - class org.apache.commons.lang.time.StopWatch.
StopWatch
provides a convenient API for timings.- StopWatch() -
Constructor for class org.apache.commons.lang.time.StopWatch
- Constructor.
- StringEscapeUtils - class org.apache.commons.lang.StringEscapeUtils.
- Escapes and unescapes
String
s for
Java, Java Script, HTML, XML, and SQL. - StringEscapeUtils() -
Constructor for class org.apache.commons.lang.StringEscapeUtils
StringEscapeUtils
instances should NOT be constructed in
standard programming.
- StringUtils - class org.apache.commons.lang.StringUtils.
- Operations on
String
that are
null
safe. - StringUtils() -
Constructor for class org.apache.commons.lang.StringUtils
StringUtils
instances should NOT be constructed in
standard programming.
- SystemUtils - class org.apache.commons.lang.SystemUtils.
- Helpers for
java.lang.System
. - SystemUtils() -
Constructor for class org.apache.commons.lang.SystemUtils
- SystemUtils instances should NOT be constructed in standard
programming.
- selectNumberRule(int, int) -
Method in class org.apache.commons.lang.time.FastDateFormat
- Gets an appropriate rule for the padding required.
- serialize(Serializable, OutputStream) -
Static method in class org.apache.commons.lang.SerializationUtils
- Serializes an
Object
to the specified stream.
- serialize(Serializable) -
Static method in class org.apache.commons.lang.SerializationUtils
- Serializes an
Object
to a byte array for
storage/serialization.
- set(int) -
Method in class org.apache.commons.lang.BitField
- Sets the bits.
- setAppendStatics(boolean) -
Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder
-
Sets whether or not to append static fields.
- setAppendTransients(boolean) -
Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder
-
Sets whether or not to append transient fields.
- setArrayContentDetail(boolean) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets whether to output array content detail.
- setArrayContentDetail(boolean) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets whether to output array content detail.
- setArrayEnd(String) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets the array end text.
- setArrayEnd(String) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets the array end text.
- setArraySeparator(String) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets the array separator text.
- setArraySeparator(String) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets the array separator text.
- setArrayStart(String) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets the array start text.
- setArrayStart(String) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets the array start text.
- setBoolean(int, boolean) -
Method in class org.apache.commons.lang.BitField
- Sets a boolean BitField.
- setByte(byte) -
Method in class org.apache.commons.lang.BitField
- Sets the bits.
- setByteBoolean(byte, boolean) -
Method in class org.apache.commons.lang.BitField
- Sets a boolean BitField.
- setContentEnd(String) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets the content end text.
- setContentEnd(String) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets the content end text.
- setContentStart(String) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets the content start text.
- setContentStart(String) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets the content start text.
- setDefaultFullDetail(boolean) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets whether to use full detail when the caller doesn't
specify.
- setDefaultFullDetail(boolean) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets whether to use full detail when the caller doesn't
specify.
- setDefaultStyle(ToStringStyle) -
Static method in class org.apache.commons.lang.builder.ToStringBuilder
- Sets the default
ToStringStyle
to use.
- setEquals(boolean) -
Method in class org.apache.commons.lang.builder.EqualsBuilder
- Sets the
isEquals
value.
- setFieldNameValueSeparator(String) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets the field name value separator text.
- setFieldNameValueSeparator(String) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets the field name value separator text.
- setFieldSeparator(String) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets the field separator text.
- setFieldSeparator(String) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets the field separator text.
- setFieldSeparatorAtEnd(boolean) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets whether the field separator should be added at the end
of each buffer.
- setFieldSeparatorAtEnd(boolean) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets whether the field separator should be added at the end
of each buffer.
- setFieldSeparatorAtStart(boolean) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets whether the field separator should be added at the start
of each buffer.
- setFieldSeparatorAtStart(boolean) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets whether the field separator should be added at the start
of each buffer.
- setNullText(String) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets the text to output when
null
found.
- setNullText(String) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets the text to output when
null
found.
- setSeed(long) -
Method in class org.apache.commons.lang.math.JVMRandom
- Unsupported in 2.0.
- setShort(short) -
Method in class org.apache.commons.lang.BitField
- Sets the bits.
- setShortBoolean(short, boolean) -
Method in class org.apache.commons.lang.BitField
- Sets a boolean BitField.
- setShortClassName(boolean) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Deprecated. Use
StandardToStringStyle.setUseShortClassName(boolean)
Method will be removed in Commons Lang 3.0.
- setShortClassName(boolean) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Deprecated. Use
ToStringStyle.setUseShortClassName(boolean)
Method will be removed in Commons Lang 3.0.
- setShortValue(short, short) -
Method in class org.apache.commons.lang.BitField
- Replaces the bits with new values.
- setSizeEndText(String) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets the end text to output when a
Collection
,
Map
or Array
size is output.
- setSizeEndText(String) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets the end text to output when a
Collection
,
Map
or array size is output.
- setSizeStartText(String) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets the start text to output when a
Collection
,
Map
or Array
size is output.
- setSizeStartText(String) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets the start text to output when a
Collection
,
Map
or array size is output.
- setSummaryObjectEndText(String) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets the end text to output when an
Object
is
output in summary mode.
- setSummaryObjectEndText(String) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets the end text to output when an
Object
is
output in summary mode.
- setSummaryObjectStartText(String) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets the start text to output when an
Object
is
output in summary mode.
- setSummaryObjectStartText(String) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets the start text to output when an
Object
is
output in summary mode.
- setUpToClass(Class) -
Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder
-
Sets the last super class to stop appending fields for.
- setUseClassName(boolean) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets whether to use the class name.
- setUseClassName(boolean) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets whether to use the class name.
- setUseFieldNames(boolean) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets whether to use the field names passed in.
- setUseFieldNames(boolean) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets whether to use the field names passed in.
- setUseIdentityHashCode(boolean) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets whether to use the identity hash code.
- setUseIdentityHashCode(boolean) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets whether to use the identity hash code.
- setUseShortClassName(boolean) -
Method in class org.apache.commons.lang.builder.StandardToStringStyle
- Sets whether to output short or long class names.
- setUseShortClassName(boolean) -
Method in class org.apache.commons.lang.builder.ToStringStyle
- Sets whether to output short or long class names.
- setValue(int, int) -
Method in class org.apache.commons.lang.BitField
- Replaces the bits with new values.
- setValue(Object) -
Method in interface org.apache.commons.lang.mutable.Mutable
- Sets the value of this mutable.
- setValue(byte) -
Method in class org.apache.commons.lang.mutable.MutableByte
- Sets the value.
- setValue(Object) -
Method in class org.apache.commons.lang.mutable.MutableByte
- Sets the value from any Number instance.
- setValue(double) -
Method in class org.apache.commons.lang.mutable.MutableDouble
- Sets the value.
- setValue(Object) -
Method in class org.apache.commons.lang.mutable.MutableDouble
- Sets the value from any Number instance.
- setValue(float) -
Method in class org.apache.commons.lang.mutable.MutableFloat
- Sets the value.
- setValue(Object) -
Method in class org.apache.commons.lang.mutable.MutableFloat
- Sets the value from any Number instance.
- setValue(int) -
Method in class org.apache.commons.lang.mutable.MutableInt
- Sets the value.
- setValue(Object) -
Method in class org.apache.commons.lang.mutable.MutableInt
- Sets the value from any Number instance.
- setValue(long) -
Method in class org.apache.commons.lang.mutable.MutableLong
- Sets the value.
- setValue(Object) -
Method in class org.apache.commons.lang.mutable.MutableLong
- Sets the value from any Number instance.
- setValue(Object) -
Method in class org.apache.commons.lang.mutable.MutableObject
- Sets the value.
- setValue(short) -
Method in class org.apache.commons.lang.mutable.MutableShort
- Sets the value.
- setValue(Object) -
Method in class org.apache.commons.lang.mutable.MutableShort
- Sets the value from any Number instance.
- shortValue() -
Method in class org.apache.commons.lang.mutable.MutableShort
- Returns the value of this MutableShort as a short.
- split(String) -
Static method in class org.apache.commons.lang.StringUtils
- Splits the provided text into an array, using whitespace as the
separator.
- split(String, char) -
Static method in class org.apache.commons.lang.StringUtils
- Splits the provided text into an array, separator specified.
- split(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Splits the provided text into an array, separators specified.
- split(String, String, int) -
Static method in class org.apache.commons.lang.StringUtils
- Splits the provided text into an array with a maximum length,
separators specified.
- split() -
Method in class org.apache.commons.lang.time.StopWatch
- Split the time.
- splitByWholeSeparator(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Splits the provided text into an array, separator string specified.
- splitByWholeSeparator(String, String, int) -
Static method in class org.apache.commons.lang.StringUtils
- Splits the provided text into an array, separator string specified.
- splitPreserveAllTokens(String) -
Static method in class org.apache.commons.lang.StringUtils
- Splits the provided text into an array, using whitespace as the
separator, preserving all tokens, including empty tokens created by
adjacent separators.
- splitPreserveAllTokens(String, char) -
Static method in class org.apache.commons.lang.StringUtils
- Splits the provided text into an array, separator specified,
preserving all tokens, including empty tokens created by adjacent
separators.
- splitPreserveAllTokens(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Splits the provided text into an array, separators specified,
preserving all tokens, including empty tokens created by adjacent
separators.
- splitPreserveAllTokens(String, String, int) -
Static method in class org.apache.commons.lang.StringUtils
- Splits the provided text into an array with a maximum length,
separators specified, preserving all tokens, including empty tokens
created by adjacent separators.
- squeeze(String, String) -
Static method in class org.apache.commons.lang.CharSetUtils
- Squeezes any repetitions of a character that is mentioned in the
supplied set.
- squeeze(String, String[]) -
Static method in class org.apache.commons.lang.CharSetUtils
- Squeezes any repetitions of a character that is mentioned in the
supplied set.
- start() -
Method in class org.apache.commons.lang.time.StopWatch
- Start the stopwatch.
- stop() -
Method in class org.apache.commons.lang.time.StopWatch
- Stop the stopwatch.
- stringToInt(String) -
Static method in class org.apache.commons.lang.NumberUtils
- Deprecated. Convert a
String
to an int
, returning
zero
if the conversion fails.
- stringToInt(String, int) -
Static method in class org.apache.commons.lang.NumberUtils
- Deprecated. Convert a
String
to an int
, returning a
default value if the conversion fails.
- stringToInt(String) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Deprecated. Use
NumberUtils.toInt(String)
This method will be removed in Commons Lang 3.0
- stringToInt(String, int) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Deprecated. Use
NumberUtils.toInt(String, int)
This method will be removed in Commons Lang 3.0
- strip(String) -
Static method in class org.apache.commons.lang.StringUtils
- Strips whitespace from the start and end of a String.
- strip(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Strips any of a set of characters from the start and end of a String.
- stripAll(String[]) -
Static method in class org.apache.commons.lang.StringUtils
- Strips whitespace from the start and end of every String in an array.
- stripAll(String[], String) -
Static method in class org.apache.commons.lang.StringUtils
- Strips any of a set of characters from the start and end of every
String in an array.
- stripEnd(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Strips any of a set of characters from the end of a String.
- stripStart(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Strips any of a set of characters from the start of a String.
- stripToEmpty(String) -
Static method in class org.apache.commons.lang.StringUtils
- Strips whitespace from the start and end of a String returning
an empty String if
null
input.
- stripToNull(String) -
Static method in class org.apache.commons.lang.StringUtils
- Strips whitespace from the start and end of a String returning
null
if the String is empty ("") after the strip.
- subarray(Object[], int, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Produces a new array containing the elements between
the start and end indices.
- subarray(long[], int, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Produces a new
long
array containing the elements
between the start and end indices.
- subarray(int[], int, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Produces a new
int
array containing the elements
between the start and end indices.
- subarray(short[], int, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Produces a new
short
array containing the elements
between the start and end indices.
- subarray(char[], int, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Produces a new
char
array containing the elements
between the start and end indices.
- subarray(byte[], int, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Produces a new
byte
array containing the elements
between the start and end indices.
- subarray(double[], int, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Produces a new
double
array containing the elements
between the start and end indices.
- subarray(float[], int, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Produces a new
float
array containing the elements
between the start and end indices.
- subarray(boolean[], int, int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Produces a new
boolean
array containing the elements
between the start and end indices.
- substring(String, int) -
Static method in class org.apache.commons.lang.StringUtils
- Gets a substring from the specified String avoiding exceptions.
- substring(String, int, int) -
Static method in class org.apache.commons.lang.StringUtils
- Gets a substring from the specified String avoiding exceptions.
- substringAfter(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Gets the substring after the first occurrence of a separator.
- substringAfterLast(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Gets the substring after the last occurrence of a separator.
- substringBefore(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Gets the substring before the first occurrence of a separator.
- substringBeforeLast(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Gets the substring before the last occurrence of a separator.
- substringBetween(String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Gets the String that is nested in between two instances of the
same String.
- substringBetween(String, String, String) -
Static method in class org.apache.commons.lang.StringUtils
- Gets the String that is nested in between two Strings.
- subtract(Fraction) -
Method in class org.apache.commons.lang.math.Fraction
- Subtracts the value of another fraction from the value of this one,
returning the result in reduced form.
- suspend() -
Method in class org.apache.commons.lang.time.StopWatch
- Suspend the stopwatch for later resumption.
- swapCase(String) -
Static method in class org.apache.commons.lang.StringUtils
- Swaps the case of a String changing upper and title case to
lower case, and lower case to upper case.
- swapCase(String) -
Static method in class org.apache.commons.lang.WordUtils
- Swaps the case of a String using a word based algorithm.
T
- THREE_FIFTHS -
Static variable in class org.apache.commons.lang.math.Fraction
Fraction
representation of 3/5.
- THREE_QUARTERS -
Static variable in class org.apache.commons.lang.math.Fraction
Fraction
representation of 3/4.
- TWO_FIFTHS -
Static variable in class org.apache.commons.lang.math.Fraction
Fraction
representation of 2/5.
- TWO_QUARTERS -
Static variable in class org.apache.commons.lang.math.Fraction
Fraction
representation of 2/4.
- TWO_THIRDS -
Static variable in class org.apache.commons.lang.math.Fraction
Fraction
representation of 2/3.
- ToStringBuilder - class org.apache.commons.lang.builder.ToStringBuilder.
- Assists in implementing
Object.toString()
methods. - ToStringBuilder(Object) -
Constructor for class org.apache.commons.lang.builder.ToStringBuilder
- Constructor for
ToStringBuilder
.
- ToStringBuilder(Object, ToStringStyle) -
Constructor for class org.apache.commons.lang.builder.ToStringBuilder
- Constructor for
ToStringBuilder
specifying the
output style.
- ToStringBuilder(Object, ToStringStyle, StringBuffer) -
Constructor for class org.apache.commons.lang.builder.ToStringBuilder
- Constructor for
ToStringBuilder
.
- ToStringStyle - class org.apache.commons.lang.builder.ToStringStyle.
- Controls
String
formatting for ToStringBuilder
. - ToStringStyle() -
Constructor for class org.apache.commons.lang.builder.ToStringStyle
- Constructor.
- toBoolean(Boolean) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a Boolean to a boolean handling
null
by returning false
.
- toBoolean(int) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts an int to a boolean using the convention that
zero
is false
.
- toBoolean(int, int, int) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts an int to a boolean specifying the conversion values.
- toBoolean(Integer, Integer, Integer) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts an Integer to a boolean specifying the conversion values.
- toBoolean(String) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a String to a boolean (optimised for performance).
- toBoolean(String, String, String) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a String to a Boolean throwing an exception if no match found.
- toBooleanDefaultIfNull(Boolean, boolean) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a Boolean to a boolean handling
null
.
- toBooleanObject(boolean) -
Static method in class org.apache.commons.lang.BooleanUtils
- Boolean factory that avoids creating new Boolean objecs all the time.
- toBooleanObject(int) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts an int to a Boolean using the convention that
zero
is false
.
- toBooleanObject(Integer) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts an Integer to a Boolean using the convention that
zero
is false
.
- toBooleanObject(int, int, int, int) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts an int to a Boolean specifying the conversion values.
- toBooleanObject(Integer, Integer, Integer, Integer) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts an Integer to a Boolean specifying the conversion values.
- toBooleanObject(String) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a String to a Boolean.
- toBooleanObject(String, String, String, String) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a String to a Boolean throwing an exception if no match.
- toChar(Character) -
Static method in class org.apache.commons.lang.CharUtils
- Converts the Character to a char throwing an exception for
null
.
- toChar(Character, char) -
Static method in class org.apache.commons.lang.CharUtils
- Converts the Character to a char handling
null
.
- toChar(String) -
Static method in class org.apache.commons.lang.CharUtils
- Converts the String to a char using the first character, throwing
an exception on empty Strings.
- toChar(String, char) -
Static method in class org.apache.commons.lang.CharUtils
- Converts the String to a char using the first character, defaulting
the value on empty Strings.
- toCharacterObject(char) -
Static method in class org.apache.commons.lang.CharUtils
- Converts the character to a Character.
- toCharacterObject(String) -
Static method in class org.apache.commons.lang.CharUtils
- Converts the String to a Character using the first character, returning
null for empty Strings.
- toComparison() -
Method in class org.apache.commons.lang.builder.CompareToBuilder
- Returns a negative integer, a positive integer, or zero as
the
builder
has judged the "left-hand" side
as less than, greater than, or equal to the "right-hand"
side.
- toDouble(String) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Convert a
String
to a double
, returning
0.0d
if the conversion fails.
- toDouble(String, double) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Convert a
String
to a double
, returning a
default value if the conversion fails.
- toFloat(String) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Convert a
String
to a float
, returning
0.0f
if the conversion fails.
- toFloat(String, float) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Convert a
String
to a float
, returning a
default value if the conversion fails.
- toHashCode() -
Method in class org.apache.commons.lang.builder.HashCodeBuilder
- Return the computed
hashCode
.
- toInt(String) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Convert a
String
to an int
, returning
zero
if the conversion fails.
- toInt(String, int) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Convert a
String
to an int
, returning a
default value if the conversion fails.
- toIntValue(char) -
Static method in class org.apache.commons.lang.CharUtils
- Converts the character to the Integer it represents, throwing an
exception if the character is not numeric.
- toIntValue(char, int) -
Static method in class org.apache.commons.lang.CharUtils
- Converts the character to the Integer it represents, throwing an
exception if the character is not numeric.
- toIntValue(Character) -
Static method in class org.apache.commons.lang.CharUtils
- Converts the character to the Integer it represents, throwing an
exception if the character is not numeric.
- toIntValue(Character, int) -
Static method in class org.apache.commons.lang.CharUtils
- Converts the character to the Integer it represents, throwing an
exception if the character is not numeric.
- toInteger(boolean) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a boolean to an int using the convention that
zero
is false
.
- toInteger(boolean, int, int) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a boolean to an int specifying the conversion values.
- toInteger(Boolean, int, int, int) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a Boolean to an int specifying the conversion values.
- toIntegerObject(boolean) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a boolean to an Integer using the convention that
zero
is false
.
- toIntegerObject(Boolean) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a Boolean to a Integer using the convention that
zero
is false
.
- toIntegerObject(boolean, Integer, Integer) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a boolean to an Integer specifying the conversion values.
- toIntegerObject(Boolean, Integer, Integer, Integer) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a Boolean to an Integer specifying the conversion values.
- toLong(String) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Convert a
String
to a long
, returning
zero
if the conversion fails.
- toLong(String, long) -
Static method in class org.apache.commons.lang.math.NumberUtils
- Convert a
String
to a long
, returning a
default value if the conversion fails.
- toMap(Object[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts the given array into a
Map
.
- toObject(long[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of primitive longs to objects.
- toObject(int[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of primitive ints to objects.
- toObject(short[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of primitive shorts to objects.
- toObject(byte[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of primitive bytes to objects.
- toObject(double[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of primitive doubles to objects.
- toObject(float[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of primitive floats to objects.
- toObject(boolean[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of primitive booleans to objects.
- toPrimitive(Long[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of object Longs to primitives.
- toPrimitive(Long[], long) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of object Long to primitives handling
null
.
- toPrimitive(Integer[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of object Integers to primitives.
- toPrimitive(Integer[], int) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of object Integer to primitives handling
null
.
- toPrimitive(Short[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of object Shorts to primitives.
- toPrimitive(Short[], short) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of object Short to primitives handling
null
.
- toPrimitive(Byte[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of object Bytes to primitives.
- toPrimitive(Byte[], byte) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of object Bytes to primitives handling
null
.
- toPrimitive(Double[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of object Doubles to primitives.
- toPrimitive(Double[], double) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of object Doubles to primitives handling
null
.
- toPrimitive(Float[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of object Floats to primitives.
- toPrimitive(Float[], float) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of object Floats to primitives handling
null
.
- toPrimitive(Boolean[]) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of object Booleans to primitives.
- toPrimitive(Boolean[], boolean) -
Static method in class org.apache.commons.lang.ArrayUtils
- Converts an array of object Booleans to primitives handling
null
.
- toProperString() -
Method in class org.apache.commons.lang.math.Fraction
- Gets the fraction as a proper
String
in the format X Y/Z.
- toSplitString() -
Method in class org.apache.commons.lang.time.StopWatch
- Gets a summary of the split time that the stopwatch recorded as a string.
- toString(Object) -
Static method in class org.apache.commons.lang.ArrayUtils
- Outputs an array as a String, treating
null
as an empty array.
- toString(Object, String) -
Static method in class org.apache.commons.lang.ArrayUtils
- Outputs an array as a String handling
null
s.
- toString(Boolean, String, String, String) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a Boolean to a String returning one of the input Strings.
- toString(boolean, String, String) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a boolean to a String returning one of the input Strings.
- toString() -
Method in class org.apache.commons.lang.CharRange
- Gets a string representation of the character range.
- toString() -
Method in class org.apache.commons.lang.CharSet
- Gets a string representation of the set.
- toString(char) -
Static method in class org.apache.commons.lang.CharUtils
- Converts the character to a String that contains the one character.
- toString(Character) -
Static method in class org.apache.commons.lang.CharUtils
- Converts the character to a String that contains the one character.
- toString() -
Method in class org.apache.commons.lang.NumberRange
- Deprecated. Returns the string representation of this range.
- toString(Object) -
Static method in class org.apache.commons.lang.ObjectUtils
- Gets the
toString
of an Object
returning
an empty string ("") if null
input.
- toString(Object, String) -
Static method in class org.apache.commons.lang.ObjectUtils
- Gets the
toString
of an Object
returning
a specified text if null
input.
- toString(Object) -
Static method in class org.apache.commons.lang.builder.ReflectionToStringBuilder
-
This method uses reflection to build a suitable
toString
using the default ToStringStyle
.
- toString(Object, ToStringStyle) -
Static method in class org.apache.commons.lang.builder.ReflectionToStringBuilder
-
This method uses reflection to build a suitable
toString
.
- toString(Object, ToStringStyle, boolean) -
Static method in class org.apache.commons.lang.builder.ReflectionToStringBuilder
-
This method uses reflection to build a suitable
toString
.
- toString(Object, ToStringStyle, boolean, boolean) -
Static method in class org.apache.commons.lang.builder.ReflectionToStringBuilder
-
This method uses reflection to build a suitable
toString
.
- toString(Object, ToStringStyle, boolean, boolean, Class) -
Static method in class org.apache.commons.lang.builder.ReflectionToStringBuilder
-
This method uses reflection to build a suitable
toString
.
- toString(Object, ToStringStyle, boolean, Class) -
Static method in class org.apache.commons.lang.builder.ReflectionToStringBuilder
- Deprecated. Use
ReflectionToStringBuilder.toString(Object,ToStringStyle,boolean,boolean,Class)
- toString() -
Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder
-
Gets the String built by this builder.
- toString() -
Method in class org.apache.commons.lang.builder.ToStringBuilder
- Returns the built
toString
.
- toString() -
Method in class org.apache.commons.lang.enum.Enum
- Deprecated. Human readable description of this Enum item.
- toString() -
Method in class org.apache.commons.lang.enum.ValuedEnum
- Deprecated. Human readable description of this
Enum
item.
- toString() -
Method in class org.apache.commons.lang.enums.Enum
- Human readable description of this Enum item.
- toString() -
Method in class org.apache.commons.lang.enums.ValuedEnum
- Human readable description of this
Enum
item.
- toString() -
Method in class org.apache.commons.lang.math.DoubleRange
- Gets the range as a
String
.
- toString() -
Method in class org.apache.commons.lang.math.FloatRange
- Gets the range as a
String
.
- toString() -
Method in class org.apache.commons.lang.math.Fraction
- Gets the fraction as a
String
.
- toString() -
Method in class org.apache.commons.lang.math.IntRange
- Gets the range as a
String
.
- toString() -
Method in class org.apache.commons.lang.math.LongRange
- Gets the range as a
String
.
- toString() -
Method in class org.apache.commons.lang.math.NumberRange
- Gets the range as a
String
.
- toString() -
Method in class org.apache.commons.lang.math.Range
- Gets the range as a
String
.
- toString() -
Method in class org.apache.commons.lang.mutable.MutableByte
- Returns the String value of this mutable.
- toString() -
Method in class org.apache.commons.lang.mutable.MutableDouble
- Returns the String value of this mutable.
- toString() -
Method in class org.apache.commons.lang.mutable.MutableFloat
- Returns the String value of this mutable.
- toString() -
Method in class org.apache.commons.lang.mutable.MutableInt
- Returns the String value of this mutable.
- toString() -
Method in class org.apache.commons.lang.mutable.MutableLong
- Returns the String value of this mutable.
- toString() -
Method in class org.apache.commons.lang.mutable.MutableObject
- Returns the String value of this mutable.
- toString() -
Method in class org.apache.commons.lang.mutable.MutableShort
- Returns the String value of this mutable.
- toString() -
Method in class org.apache.commons.lang.time.FastDateFormat
- Gets a debugging string version of this formatter.
- toString() -
Method in class org.apache.commons.lang.time.StopWatch
- Gets a summary of the time that the stopwatch recorded as a string.
- toStringOnOff(Boolean) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a Boolean to a String returning
'on'
,
'off'
, or null
.
- toStringOnOff(boolean) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a boolean to a String returning
'on'
or 'off'
.
- toStringTrueFalse(Boolean) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a Boolean to a String returning
'true'
,
'false'
, or null
.
- toStringTrueFalse(boolean) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a boolean to a String returning
'true'
or 'false'
.
- toStringYesNo(Boolean) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a Boolean to a String returning
'yes'
,
'no'
, or null
.
- toStringYesNo(boolean) -
Static method in class org.apache.commons.lang.BooleanUtils
- Converts a boolean to a String returning
'yes'
or 'no'
.
- topDown -
Static variable in class org.apache.commons.lang.exception.NestableDelegate
- Whether to print the stack trace top-down.
- translate(String, String, String) -
Static method in class org.apache.commons.lang.CharSetUtils
- Deprecated. Use
StringUtils.replaceChars(String, String, String)
.
Method will be removed in Commons Lang 3.0.
NOTE: StringUtils#replaceChars behaves differently when 'searchChars' is longer
than 'replaceChars'. CharSetUtils#translate will use the last char of the replacement
string whereas StringUtils#replaceChars will delete
- trim(String) -
Static method in class org.apache.commons.lang.StringUtils
- Removes control characters (char <= 32) from both
ends of this String, handling
null
by returning
null
.
- trimStackFrames -
Static variable in class org.apache.commons.lang.exception.NestableDelegate
- Whether to trim the repeated stack trace.
- trimStackFrames(List) -
Method in class org.apache.commons.lang.exception.NestableDelegate
- Trims the stack frames.
- trimToEmpty(String) -
Static method in class org.apache.commons.lang.StringUtils
- Removes control characters (char <= 32) from both
ends of this String returning an empty String ("") if the String
is empty ("") after the trim or if it is
null
.
- trimToNull(String) -
Static method in class org.apache.commons.lang.StringUtils
- Removes control characters (char <= 32) from both
ends of this String returning
null
if the String is
empty ("") after the trim or if it is null
.
- truncate(Date, int) -
Static method in class org.apache.commons.lang.time.DateUtils
- Truncate this date, leaving the field specified as the most
significant field.
- truncate(Calendar, int) -
Static method in class org.apache.commons.lang.time.DateUtils
- Truncate this date, leaving the field specified as the most
significant field.
- truncate(Object, int) -
Static method in class org.apache.commons.lang.time.DateUtils
- Truncate this date, leaving the field specified as the most
significant field.
U
- USER_COUNTRY -
Static variable in class org.apache.commons.lang.SystemUtils
- The
user.country
or user.region
System Property.
- USER_DIR -
Static variable in class org.apache.commons.lang.SystemUtils
- The
user.dir
System Property.
- USER_HOME -
Static variable in class org.apache.commons.lang.SystemUtils
- The
user.home
System Property.
- USER_LANGUAGE -
Static variable in class org.apache.commons.lang.SystemUtils
- The
user.language
System Property.
- USER_NAME -
Static variable in class org.apache.commons.lang.SystemUtils
- The
user.name
System Property.
- USER_TIMEZONE -
Static variable in class org.apache.commons.lang.SystemUtils
- The
user.timezone
System Property.
- US_ASCII -
Static variable in class org.apache.commons.lang.CharEncoding
-
Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set.
- UTC_TIME_ZONE -
Static variable in class org.apache.commons.lang.time.DateUtils
- The UTC time zone (often referred to as GMT).
- UTF_16 -
Static variable in class org.apache.commons.lang.CharEncoding
-
Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial byte-order mark (either
order accepted on input, big-endian used on output).
- UTF_16BE -
Static variable in class org.apache.commons.lang.CharEncoding
-
Sixteen-bit Unicode Transformation Format, big-endian byte order.
- UTF_16LE -
Static variable in class org.apache.commons.lang.CharEncoding
-
Sixteen-bit Unicode Transformation Format, little-endian byte order.
- UTF_8 -
Static variable in class org.apache.commons.lang.CharEncoding
-
Eight-bit Unicode Transformation Format.
- UnhandledException - exception org.apache.commons.lang.UnhandledException.
- Thrown when it is impossible or undesirable to consume or throw a checked exception.
- UnhandledException(Throwable) -
Constructor for class org.apache.commons.lang.UnhandledException
- Constructs the exception using a cause.
- UnhandledException(String, Throwable) -
Constructor for class org.apache.commons.lang.UnhandledException
- Constructs the exception using a message and cause.
- uncapitalise(String) -
Static method in class org.apache.commons.lang.StringUtils
- Deprecated. Use the standardly named
StringUtils.uncapitalize(String)
.
Method will be removed in Commons Lang 3.0.
- uncapitalize(String) -
Static method in class org.apache.commons.lang.StringUtils
- Uncapitalizes a String changing the first letter to title case as
per
Character.toLowerCase(char)
.
- uncapitalize(String) -
Static method in class org.apache.commons.lang.WordUtils
- Uncapitalizes all the whitespace separated words in a String.
- uncapitalize(String, char[]) -
Static method in class org.apache.commons.lang.WordUtils
- Uncapitalizes all the whitespace separated words in a String.
- unescapeHtml(String) -
Static method in class org.apache.commons.lang.StringEscapeUtils
- Unescapes a string containing entity escapes to a string
containing the actual Unicode characters corresponding to the
escapes.
- unescapeJava(String) -
Static method in class org.apache.commons.lang.StringEscapeUtils
- Unescapes any Java literals found in the
String
.
- unescapeJava(Writer, String) -
Static method in class org.apache.commons.lang.StringEscapeUtils
- Unescapes any Java literals found in the
String
to a
Writer
.
- unescapeJavaScript(String) -
Static method in class org.apache.commons.lang.StringEscapeUtils
- Unescapes any JavaScript literals found in the
String
.
- unescapeJavaScript(Writer, String) -
Static method in class org.apache.commons.lang.StringEscapeUtils
- Unescapes any JavaScript literals found in the
String
to a
Writer
.
- unescapeXml(String) -
Static method in class org.apache.commons.lang.StringEscapeUtils
- Unescapes a string containing XML entity escapes to a string
containing the actual Unicode characters corresponding to the
escapes.
- unicodeEscaped(char) -
Static method in class org.apache.commons.lang.CharUtils
- Converts the string to the unicode format ' '.
- unicodeEscaped(Character) -
Static method in class org.apache.commons.lang.CharUtils
- Converts the string to the unicode format ' '.
- unsplit() -
Method in class org.apache.commons.lang.time.StopWatch
- Remove a split.
- upperCase(String) -
Static method in class org.apache.commons.lang.StringUtils
- Converts a String to upper case as per
String.toUpperCase()
.
V
- Validate - class org.apache.commons.lang.Validate.
- Assists in validating arguments.
- Validate() -
Constructor for class org.apache.commons.lang.Validate
- Constructor.
- ValuedEnum - class org.apache.commons.lang.enum.ValuedEnum.
- Deprecated. Replaced by
org.apache.commons.lang.enums.ValuedEnum
and will be removed in version 3.0. All classes in this package are deprecated and repackaged to
org.apache.commons.lang.enums
since enum
is a Java 1.5 keyword. - ValuedEnum(String, int) -
Constructor for class org.apache.commons.lang.enum.ValuedEnum
- Deprecated. Constructor for enum item.
- ValuedEnum - class org.apache.commons.lang.enums.ValuedEnum.
- Abstract superclass for type-safe enums with integer values suitable
for use in
switch
statements. - ValuedEnum(String, int) -
Constructor for class org.apache.commons.lang.enums.ValuedEnum
- Constructor for enum item.
W
- WordUtils - class org.apache.commons.lang.WordUtils.
- Operations on Strings that contain words.
- WordUtils() -
Constructor for class org.apache.commons.lang.WordUtils
WordUtils
instances should NOT be constructed in
standard programming.
- wrap(String, int) -
Static method in class org.apache.commons.lang.WordUtils
- Wraps a single line of text, identifying words by
' '
.
- wrap(String, int, String, boolean) -
Static method in class org.apache.commons.lang.WordUtils
- Wraps a single line of text, identifying words by
' '
.
X
- xor(boolean[]) -
Static method in class org.apache.commons.lang.BooleanUtils
- Performs an xor on a set of booleans.
- xor(Boolean[]) -
Static method in class org.apache.commons.lang.BooleanUtils
- Performs an xor on an array of Booleans.
Z
- ZERO -
Static variable in class org.apache.commons.lang.math.Fraction
Fraction
representation of 0.
A B C D E F G H I J K L M N O P R S T U V W X Z
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV
NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2001-2005 The Apache Software Foundation. All Rights Reserved.