Abbreviates a String using ellipses.
Abbreviates a String using ellipses.
Gets a fraction that is the positive equivalent of this one.
Returns whether or not to append the given Field
.
Copies the given array and adds the given element at the end of the new array.
Inserts the specified element at the specified position in the array.
Copies the given array and adds the given element at the end of the new array.
Inserts the specified element at the specified position in the array.
Copies the given array and adds the given element at the end of the new array.
Inserts the specified element at the specified position in the array.
Copies the given array and adds the given element at the end of the new array.
Inserts the specified element at the specified position in the array.
Copies the given array and adds the given element at the end of the new array.
Inserts the specified element at the specified position in the array.
Copies the given array and adds the given element at the end of the new array.
Inserts the specified element at the specified position in the array.
Inserts the specified element at the specified position in the array.
Copies the given array and adds the given element at the end of the new array.
Inserts the specified element at the specified position in the array.
Copies the given array and adds the given element at the end of the new array.
Adds the value of this fraction to another, returning the result in reduced form.
Inserts the specified element at the specified position in the array.
Copies the given array and adds the given element at the end of the new array.
Add a set definition string to the CharSet
.
Adds all the elements of the given arrays into a new array.
Adds all the elements of the given arrays into a new array.
Adds all the elements of the given arrays into a new array.
Adds all the elements of the given arrays into a new array.
Adds all the elements of the given arrays into a new array.
Adds all the elements of the given arrays into a new array.
Adds all the elements of the given arrays into a new array.
Adds all the elements of the given arrays into a new array.
Adds all the elements of the given arrays into a new array.
Adds to the list of method names used in the search for Throwable
objects.
Validate an argument, throwing IllegalArgumentException
if the argument collection is
null
or has elements that are not of type clazz
or a subclass.
Validate an argument, throwing IllegalArgumentException
if the argument collection is null
or has elements that
are not of type clazz
or a subclass.
Append a hashCode
for a boolean
.
Append to the toString
a boolean
value.
Appends to the builder
the comparison of
two booleans
s.
Test if two booleans
s are equal.
Append a hashCode
for a boolean
array.
Append to the toString
a boolean
array.
Appends to the builder
the deep comparison of
two boolean
arrays.
Deep comparison of array of boolean
.
Append a hashCode
for a byte
.
Append to the toString
a byte
value.
Appends to the builder
the comparison of
two byte
s.
Test if two byte
s are equal.
Append a hashCode
for a byte
array.
Append to the toString
a byte
array.
Appends to the builder
the deep comparison of
two byte
arrays.
Deep comparison of array of byte
.
Append a hashCode
for a char
.
Append to the toString
a char
value.
Appends to the builder
the comparison of
two char
s.
Test if two char
s are equal.
Append a hashCode
for a char
array.
Append to the toString
a char
array.
Appends to the builder
the deep comparison of
two char
arrays.
Deep comparison of array of char
.
Append a hashCode
for a double
.
Append to the toString
a double
value.
Appends to the builder
the comparison of
two double
s.
Test if two double
s are equal by testing that the
pattern of bits returned by doubleToLong
are equal.
Append a hashCode
for a double
array.
Append to the toString
a double
array.
Appends to the builder
the deep comparison of
two double
arrays.
Deep comparison of array of double
.
Append a hashCode
for a float
.
Append to the toString
a float
value.
Appends to the builder
the comparison of
two float
s.
Test if two float
s are equal byt testing that the
pattern of bits returned by doubleToLong are equal.
Append a hashCode
for a float
array.
Append to the toString
a float
array.
Appends to the builder
the deep comparison of
two float
arrays.
Deep comparison of array of float
.
Append a hashCode
for an int
.
Append to the toString
an int
value.
Appends to the builder
the comparison of
two int
s.
Test if two int
s are equal.
Append a hashCode
for an int
array.
Append to the toString
an int
array.
Appends to the builder
the deep comparison of
two int
arrays.
Deep comparison of array of int
.
Append a hashCode
for a long
.
Append to the toString
a long
value.
Appends to the builder
the comparison of
two long
s.
Test if two long
s are equal.
Append a hashCode
for a long
array.
Append to the toString
a long
array.
Appends to the builder
the deep comparison of
two long
arrays.
Deep comparison of array of long
.
Append a hashCode
for an Object
.
Append to the toString
an Object
value.
Appends to the builder
the comparison of
two Object
s.
Test if two Object
s are equal using their
equals
method.
Appends to the builder
the comparison of
two Object
s.
Append a hashCode
for an Object
array.
Append to the toString
an Object
array.
Appends to the builder
the deep comparison of
two Object
arrays.
Performs a deep comparison of two Object
arrays.
Appends to the builder
the deep comparison of
two Object
arrays.
Append a hashCode
for a short
.
Append to the toString
a short
value.
Appends to the builder
the comparison of
two short
s.
Test if two short
s are equal.
Append a hashCode
for a short
array.
Append to the toString
a short
array.
Appends to the builder
the deep comparison of
two short
arrays.
Deep comparison of array of short
.
Append to the toString
a boolean
value.
Append to the toString
a boolean
array.
Append to the toString
a boolean
array.
Append to the toString
an byte
value.
Append to the toString
a byte
array.
Append to the toString
a byte
array.
Append to the toString
a char
value.
Append to the toString
a char
array.
Append to the toString
a char
array.
Append to the toString
a double
value.
Append to the toString
a double
array.
Append to the toString
a double
array.
Append to the toString
an float
value.
Append to the toString
a float
array.
Append to the toString
a float
array.
Append to the toString
an int
value.
Append to the toString
an int
array.
Append to the toString
an int
array.
Append to the toString
a long
value.
Append to the toString
a long
array.
Append to the toString
a long
array.
Append to the toString
an Object
value.
Append to the toString
an Object
value.
Append to the toString
an Object
array.
Append to the toString
an Object
array.
Append to the toString
an short
value.
Append to the toString
a short
array.
Append to the toString
a short
array.
Append to the toString
a boolean
value.
Append to the toString
a boolean
array.
Append to the toString
a byte
value.
Append to the toString
a byte
array.
Append to the toString
a char
value.
Append to the toString
a char
array.
Append to the toString
a double
value.
Append to the toString
a double
array.
Append to the toString
a float
value.
Append to the toString
a float
array.
Append to the toString
an int
value.
Append to the toString
an int
array.
Append to the toString
a long
value.
Append to the toString
a long
array.
Append to the toString
an Object
value, printing the full toString
of the
Object
passed in.
Append to the toString
an Object
array.
Append to the toString
a short
value.
Append to the toString
a short
array.
Appends with the same format as the default Object toString()
method.
Append to the toString
the class name.
Append to the toString
the content end.
Append to the toString
the content start.
Append to the toString
a boolean
value.
Append to the toString
the detail of a
boolean
array.
Append to the toString
a byte
value.
Append to the toString
the detail of a
byte
array.
Append to the toString
a char
value.
Append to the toString
the detail of a
char
array.
Append to the toString
a Collection
.
Append to the toString
a double
value.
Append to the toString
the detail of a
double
array.
Append to the toString
a float
value.
Append to the toString
the detail of a
float
array.
Append to the toString
an int
value.
Append to the toString
the detail of an
int
array.
Append to the toString
a long
value.
Append to the toString
the detail of a
long
array.
Append to the toString
a Map
.
Append to the toString
an Object
value, printing the full detail of the Object
.
Append to the toString
the detail of an
Object
array.
Append to the toString
a short
value.
Append to the toString
the detail of a
short
array.
Append to the toString
the end of data indicator.
Append to the toString
the field end.
Append to the toString
the field separator.
Appends the fields and values defined by the given object of the given
Class.
Append to the toString
the field start.
Append the System.identityHashCode(java.lang.Object)
.
Appends the toString that would be produced by Object
if a class did not override toString itself.
Append to the toString
an Object
,
correctly interpreting its type.
Append to the toString
an indicator for null
.
Append to the toString
the start of data indicator.
Append to the toString
a summary of a
boolean
array.
Append to the toString
a summary of a
byte
array.
Append to the toString
a summary of a
char
array.
Append to the toString
a summary of a
double
array.
Append to the toString
a summary of a
float
array.
Append to the toString
a summary of an
int
array.
Append to the toString
a summary of a
long
array.
Append to the toString
an Object
value, printing a summary of the Object
.
Append to the toString
a summary of an
Object
array.
Append to the toString
a summary of a
short
array.
Append to the toString
a size summary.
Adds the result of super.equals()
to this builder.
Appends to the builder
the compareTo(Object)
result of the superclass.
Adds the result of super.hashCode() to this builder.
Append the toString
from the superclass.
Append to the toString
the superclass toString.
Append the toString
from another object.
Append to the toString
another toString.
Performs the formatting by applying the rules to the
specified calendar.
Operations on arrays, primitive arrays (like int[]
) and
primitive wrapper arrays (like Integer[]
).
ArrayUtils instances should NOT be constructed in standard programming.
A CharSet defining ASCII alphabetic characters "a-zA-Z".
A CharSet defining ASCII alphabetic characters "a-z".
A CharSet defining ASCII alphabetic characters "A-Z".
A CharSet defining ASCII alphabetic characters "0-9".
The awt.toolkit
System Property.
Capitalizes a String changing the first letter to title case as
per Character.toTitleCase(char)
.
Capitalizes all the whitespace separated words in a String.
Capitalizes a String changing the first letter to title case as
per Character.toTitleCase(char)
.
Capitalizes all the whitespace separated words in a String.
Capitalizes all the delimiter separated words in a String.
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.
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.
Centers a String in a larger String of size size
using the space character (' ').
Centers a String in a larger String of size size
.
Centers a String in a larger String of size size
.
Character encoding names required of every implementation of the Java platform.
A contiguous range of characters, optionally negated.
Constructs a CharRange
over a single character.
Constructs a CharRange
over a single character,
optionally negating the range.
Constructs a CharRange
over a set of characters.
Constructs a CharRange
over a set of characters,
optionally negating the range.
Constructs a new CharSet using the set syntax.
Constructs a new CharSet using the set syntax.
CharSetUtils instances should NOT be constructed in standard programming.
Operations on char primitives and Character objects.
CharUtils
instances should NOT be constructed in standard programming.
Removes one newline from end of a String if it's there,
otherwise leave it alone.
Removes separator
from the end of
str
if it's there, otherwise leave it alone.
Remove any "\n" if and only if it is at the end
of the supplied String.
Remove a value if and only if the String ends with that value.
Remove the last character from a String.
Removes \n
from end of a String if it's there.
Operates on classes without using reflection.
ClassUtils instances should NOT be constructed in standard programming.
Removes control characters (char <= 32) from both
ends of this String, handling null
by returning
an empty String ("").
Clones an array returning a typecast result and handling
null
.
Clones an array returning a typecast result and handling
null
.
Clones an array returning a typecast result and handling
null
.
Clones an array returning a typecast result and handling
null
.
Clones an array returning a typecast result and handling
null
.
Clones an array returning a typecast result and handling
null
.
Clones an array returning a typecast result and handling
null
.
Shallow clones an array returning a typecast result and handling
null
.
Deep clone an Object
using serialization.
Clones an array returning a typecast result and handling
null
.
A Map of the common cases used in the factory.
Compares two doubles
for order.
Compares two doubles
for order.
Compares two floats for order.
Compares two floats for order.
Compares this object to another based on size.
Compares this mutable to another in ascending order.
Compares this mutable to another in ascending order.
Compares this mutable to another in ascending order.
Compares this mutable to another in ascending order.
Compares this mutable to another in ascending order.
Compares this mutable to another in ascending order.
Constructor for CompareToBuilder.
Concatenates elements of an array into a single String.
Checks if the value is in the given array.
Checks if the value is in the given array.
Is the character specified contained in this range.
Does the CharSet
contain the specified
character ch
.
Checks if the value is in the given array.
Checks if the value is in the given array.
Checks if a value falling within the given tolerance is in the
given array.
Checks if the value is in the given array.
Checks if the value is in the given array.
Checks if the value is in the given array.
Checks if the object is in the given array.
Are all the characters of the passed in range contained in
this range.
Checks if the value is in the given array.
Checks if String contains a search character, handling null
.
Checks if String contains a search String, handling null
.
Tests whether the specified double
occurs within
this range using double
comparison.
Tests whether the specified double
occurs within
this range using double
comparison.
Tests whether the specified Number
occurs within
this range using double
comparison..
Tests whether the specified float
occurs within
this range using float
comparison.
Tests whether the specified float
occurs within
this range using float
comparison.
Tests whether the specified Number
occurs within
this range using float
comparison.
Tests whether the specified int
occurs within
this range using int
comparison.
Tests whether the specified int
occurs within
this range using int
comparison.
Tests whether the specified Number
occurs within
this range using int
comparison..
Tests whether the specified long
occurs within
this range using long
comparison.
Tests whether the specified long
occurs within
this range using long
comparison.
Tests whether the specified Number
occurs within
this range using long
comparison..
Checks that the String does not contain certain characters.
Checks that the String does not contain certain characters.
Tests whether the specified number
occurs within
this range using double
comparison.
Tests whether the specified number
occurs within
this range using float
comparison.
Tests whether the specified number
occurs within
this range using int
comparison.
Tests whether the specified number
occurs within
this range using long
comparison.
Tests whether the specified number
occurs within
this range.
Tests whether the specified Number
occurs within
this range.
Checks if the String contains only certain characters.
Checks if the String contains only certain characters.
Tests whether the specified range occurs entirely within this range
using double
comparison.
Tests whether the specified range occurs entirely within this range
using float
comparison.
Tests whether the specified range occurs entirely within this range
using int
comparison.
Tests whether the specified range occurs entirely within this range
using long
comparison.
Tests whether the specified range occurs entirely within this range.
Given a List
of Class
objects, this method converts
them into class names.
Given a List
of class names, this method converts them into classes.
Takes an argument in set-syntax, see evaluateSet,
and returns the number of characters present in the specified string.
Takes an argument in set-syntax, see evaluateSet,
and returns the number of characters present in the specified string.
Counts how many times the substring appears in the larger String.
Convert a String
to a BigDecimal
.
Convert a String
to a BigDecimal
.
Convert a String
to a BigInteger
.
Convert a String
to a BigInteger
.
Convert a String
to a Double
.
Convert a String
to a Double
.
Convert a String
to a Float
.
Convert a String
to a Float
.
Convert a String
to a Integer
, handling
hex and octal notations.
Convert a String
to a Integer
, handling
hex and octal notations.
Convert a String
to a Long
.
Convert a String
to a Long
.
Turns a string value into a java.lang.Number.
Turns a string value into a java.lang.Number.
EMPTY - static field in class org.apache.commons.lang.
CharSet A CharSet defining no characters.
An empty immutable boolean
array.
An empty immutable Boolean
array.
An empty immutable byte
array.
An empty immutable Byte
array.
An empty immutable char
array.
An empty immutable Character
array.
An empty immutable Class
array.
An empty immutable double
array.
An empty immutable Double
array.
An empty immutable float
array.
An empty immutable Float
array.
An empty immutable int
array.
An empty immutable Integer
array.
An empty immutable long
array.
An empty immutable Long
array.
An empty immutable Object
array.
An empty immutable short
array.
An empty immutable Short
array.
An empty immutable String
array.
Enum - class org.apache.commons.lang.enum.
Enum Abstract superclass for type-safe enums.
Enum - class org.apache.commons.lang.enums.
Enum Abstract superclass for type-safe enums.
Constructor to add a new named item to the enumeration.
Constructor to add a new named item to the enumeration.
Utility class for accessing and manipulating
Enum
s.
Utility class for accessing and manipulating
Enum
s.
Compares two CharRange objects, returning true if they represent
exactly the same range of characters defined in the same way.
Compares two CharSet objects, returning true if they represent
exactly the same set of characters defined in the same way.
Compares this range to another object to test if they are equal.
Compare two objects for equality.
Compares this range to another object to test if they are equal.
Compares this fraction to another object to test if they are equal.
Compares this range to another object to test if they are equal.
Compares this range to another object to test if they are equal.
Compares this object against the specified object.
Compares this object against the specified object.
Compares this object against some other object.
Compares this object to the specified object.
Compares this object against the specified object.
Compares this object against the specified object.
Compares this object against the specified object.
Indicates whether some other Object
is
"equal" to this one.
Compares this range to another object to test if they are equal.
Compares this range to another object to test if they are equal.
Compares two objects for equality, where either one or both
objects may be null
.
Compares two Strings, returning true
if they are equal.
Assists in implementing Object.equals(Object)
methods.
Constructor for EqualsBuilder.
Compares two Strings, returning true
if they are equal ignoring
the case.
Escapes any values it finds into their String form.
Escapes the characters in a String
using HTML entities.
Escapes the characters in a String
using Java String rules.
Escapes the characters in a String
using Java String rules to
a Writer
.
Escapes the characters in a String
using JavaScript String rules.
Escapes the characters in a String
using JavaScript String rules
to a Writer
.
Escapes the characters in a String
to be suitable to pass to
an SQL query.
Escapes the characters in a String
using XML entities.
Creates a CharSet
instance which allows a certain amount of
set logic to be performed.
Provides utilities for manipulating and examining
Throwable
objects.
Public constructor allows an instance of ExceptionUtils
to be created, although that is not normally necessary.
Constructs a new FastDateFormat.
The file.encoding
System Property.
The file.separator
System Property.
Reusable Float constant for minus one.
Reusable Float constant for one.
Reusable Float constant for zero.
FloatRange
represents an inclusive range of float
s.
Constructs a new FloatRange
using the specified
number as both the minimum and maximum in this range.
Constructs a new FloatRange
with the specified
minimum and maximum numbers (both inclusive).
Constructs a new FloatRange
using the specified
number as both the minimum and maximum in this range.
Constructs a new FloatRange
with the specified
minimum and maximum numbers (both inclusive).
Gets the fraction as a float
.
Returns the value of this MutableByte as a float.
Returns the value of this MutableDouble as a float.
Returns the value of this MutableFloat as a float.
Returns the value of this MutableInt as a float.
Returns the value of this MutableLong as a float.
Returns the value of this MutableShort as a float.
Formats a Calendar
object.
Formats a Calendar
object into the
supplied StringBuffer
.
Format a date/time into a specific pattern.
Format a date/time into a specific pattern in a locale.
Format a date/time into a specific pattern in a time zone.
Format a date/time into a specific pattern in a time zone and locale.
Formats a Date
object into the
supplied StringBuffer
.
Formats a millisecond long
value.
Format a date/time into a specific pattern.
Format a date/time into a specific pattern in a locale.
Format a date/time into a specific pattern in a time zone.
Format a date/time into a specific pattern in a time zone and locale.
Formats a milliseond long
value into the
supplied StringBuffer
.
Formats a Date
, Calendar
or
Long
(milliseconds) object.
Get the time gap as a string, using the specified format, and padding with zeros and
using the default timezone.
Get the time gap as a string, using the specified format.
Get the time gap as a string.
Get the time gap as a string.
Format an elapsed time into a plurialization correct string.
Get the time gap as a string, using the specified format.
Get the time gap as a string, using the specified format.
Get the time gap as a string.
Format a date/time into a specific pattern using the UTC time zone.
Format a date/time into a specific pattern using the UTC time zone.
Format a date/time into a specific pattern using the UTC time zone.
Format a date/time into a specific pattern using the UTC time zone.
Fraction
representation of 4/5.
Fraction
is a Number
implementation that
stores fractions accurately.
FULL locale dependent date or time style.
Gets a List
of all interfaces implemented by the given
class and its superclasses.
Gets a List
of superclasses for the given class.
Gets the array separator text.
Gets the array separator text.
Gets the array start text.
Gets the array start text.
Returns the reference to the exception or error that caused the
exception implementing the Nestable
to be thrown.
Returns the reference to the exception or error that caused the
exception implementing the Nestable
to be thrown.
Returns the reference to the exception or error that caused the
exception implementing the Nestable
to be thrown.
Returns the reference to the exception or error that caused the
exception implementing the Nestable
to be thrown.
Gets the root cause of this exception.
Introspects the Throwable
to obtain the cause.
Introspects the Throwable
to obtain the cause.
Gets the internal set as an array of CharRange objects.
Remove everything and return the last value of a supplied String, and
everything after it from a String.
Gets the content end text.
Gets the content end text.
Gets the content start text.
Gets the content start text.
Gets a date formatter instance using the specified style in the
default time zone and locale.
Gets a date formatter instance using the specified style and
locale in the default time zone.
Gets a date formatter instance using the specified style and
time zone in the default locale.
Gets a date formatter instance using the specified style, time
zone and locale.
Gets a date/time formatter instance using the specified style
in the default time zone and locale.
Gets a date/time formatter instance using the specified style and
locale in the default time zone.
Gets a date/time formatter instance using the specified style and
time zone in the default locale.
Gets a date/time formatter instance using the specified style,
time zone and locale.
Gets the default ToStringStyle
to use.
Gets the denominator part of the fraction.
Gets the end character for this character range.
Gets a ValuedEnum
object by class and value.
Gets a ValuedEnum
object by class and value.
Gets an Enum
object by class and value.
Gets an Enum
object by class and value.
Gets an Enum
object by class and name.
Gets an Enum
object by class and name.
Gets an Enum
object by class and name.
Gets an Enum
object by class and name.
Retrieves the Class of this Enum item, set in the constructor.
Retrieves the Class of this Enum item, set in the constructor.
Gets the List
of Enum
objects using the
Enum
class.
Gets the List
of Enum
objects using the
Enum
class.
Gets the List
of Enum
objects using
the Enum
class.
Gets the List
of Enum
objects using
the Enum
class.
Gets the Map
of Enum
objects by
name using the Enum
class.
Gets the Map
of Enum
objects by
name using the Enum
class.
Gets the Map
of Enum
objects by
name using the Enum
class.
Gets the Map
of Enum
objects by
name using the Enum
class.
Gets the field name value separator text.
Gets the field name value separator text.
Gets the field separator text.
Gets the field separator text.
Creates a Fraction
instance from a double
value.
Creates a Fraction
instance with the 2 parts
of a fraction Y/Z.
Creates a Fraction
instance with the 3 parts
of a fraction X Y/Z.
Creates a Fraction from a String
.
A way to get the entire nested stack-trace of an throwable.
Gets a formatter instance using the default pattern in the
default locale.
Factory method to create a new CharSet using a special syntax.
Gets a formatter instance using the specified pattern in the
default locale.
Gets a formatter instance using the specified pattern and
locale.
Gets a formatter instance using the specified pattern and
time zone.
Gets a formatter instance using the specified pattern, time zone
and locale.
Gets the Java home directory as a File
.
Gets the Java IO temporary directory as a File
.
Gets the Java version number as a float
.
Returns the length of the specified array.
Find the Levenshtein distance between two Strings.
Gets the locale used by this formatter.
Returns the maximum number in this range.
Gets the maximum number in this range as a double
.
Gets the maximum number in this range as a double
.
Gets the maximum number in this range as a double
.
Gets the maximum number in this range as a double
.
Gets the maximum number in this range as a double
.
Gets the maximum number in this range as a float
.
Gets the maximum number in this range as a float
.
Gets the maximum number in this range as a float
.
Gets the maximum number in this range as a float
.
Gets the maximum number in this range as a float
.
Gets the maximum number in this range as a int
.
Gets the maximum number in this range as a int
.
Gets the maximum number in this range as a int
.
Gets the maximum number in this range cast to an int
.
Gets the maximum number in this range as a int
.
Gets the maximum number in this range as a long
.
Gets the maximum number in this range as a long
.
Gets the maximum number in this range as a long
.
Gets the maximum number in this range as a long
.
Gets the maximum number in this range as a long
.
Returns the maximum number in this range.
Returns the maximum number in this range.
Returns the maximum number in this range.
Returns the maximum number in this range.
Returns the maximum number in this range.
Gets the maximum number in this range.
Gets an estimate for the maximum string length that the
formatter will produce.
Returns the error message of this and any nested
Throwable
.
Returns the detail message string of this throwable.
Returns the detail message string of this throwable.
Returns the detail message string of this throwable.
Gets the combined the error message of this and any nested errors.
Returns the error message of the Throwable
in the chain
of Throwable
s at the specified index, numbered from 0.
Returns the error message of the Throwable
in the chain
of Throwable
s at the specified index, numbered from 0.
Returns the error message of the Throwable
in the chain
of Throwable
s at the specified index, numbered from 0.
Returns the error message of the Throwable
in the chain
of Throwable
s at the specified index, numbered from 0.
Returns the error message of the Throwable
in the chain
of Throwable
s at the specified index, numbered from 0.
Returns the error message of the Throwable
in the chain
of Throwable
s at the specified index, numbered from 0.
Returns the full message contained by the Nestable
and any nested Throwable
s.
Returns the error message of this and any nested Throwable
s
in an array of Strings, one element for each message.
Returns the error message of this and any nested Throwable
s
in an array of Strings, one element for each message.
Returns the error message of this and any nested Throwable
s
in an array of Strings, one element for each message.
Returns the error message of this and any nested Throwable
s
in an array of Strings, one element for each message.
Returns the error message of this and any nested Throwable
s
in an array of Strings, one element for each message.
Returns the error message of this and any nested Throwable
objects.
Returns the minimum number in this range.
Gets the minimum number in this range as a double
.
Gets the minimum number in this range as a double
.
Gets the minimum number in this range as a double
.
Gets the minimum number in this range as a double
.
Gets the minimum number in this range as a double
.
Gets the minimum number in this range as a float
.
Gets the minimum number in this range as a float
.
Gets the minimum number in this range as a float
.
Gets the minimum number in this range as a float
.
Gets the minimum number in this range as a float
.
Gets the minimum number in this range as a int
.
Gets the minimum number in this range as a int
.
Gets the minimum number in this range as a int
.
Gets the minimum number in this range as a int
.
Gets the minimum number in this range as a int
.
Gets the minimum number in this range as a long
.
Gets the minimum number in this range as a long
.
Gets the minimum number in this range as a long
.
Gets the minimum number in this range as a long
.
Gets the minimum number in this range as a long
.
Returns the minimum number in this range.
Returns the minimum number in this range.
Returns the minimum number in this range.
Returns the minimum number in this range.
Returns the minimum number in this range.
Gets the minimum number in this range.
Retrieve the name of this Enum item, set in the constructor.
Retrieve the name of this Enum item, set in the constructor.
Gets the String that is nested in between two instances of the
same String.
Gets the String that is nested in between two Strings.
Gets the text to output when null
found.
Gets the text to output when null
found.
Gets the numerator part of the fraction.
Returns the Object
being output.
Gets the package name of a Class
.
Gets the package name of an Object
.
Gets the package name from a String
.
Gets the pattern used by this formatter.
Remove and return everything before the first value of a
supplied String from another String.
Gets the proper numerator, always positive.
Gets the proper whole part of the fraction.
Obtains the value for the specified BitField, unshifted.
Creates a Fraction
instance with the 2 parts
of a fraction Y/Z.
Introspects the Throwable
to obtain the root cause.
Creates a compact stack trace for the root cause of the supplied
Throwable
.
Gets the class name minus the package name from a Class
.
Gets the short class name for a class.
Gets the class name minus the package name for an Object
.
Gets the class name minus the package name from a String.
Obtains the value for the specified BitField, unshifted.
Obtains the value for the specified BitField, appropriately
shifted right, as a short.
Gets the end text to output when a Collection
,
Map
or Array
size is output.
Gets the end text to output when a Collection
,
Map
or array size is output.
Gets the text to output when a Collection
,
Map
or Array
size is output.
Gets the start text to output when a Collection
,
Map
or array size is output.
Get the split time on the stopwatch.
Captures the stack trace associated with the specified
Throwable
object, decomposing it into a list of
stack frames.
Captures the stack trace associated with the specified
Throwable
object, decomposing it into a list of
stack frames.
Gets the stack trace from a Throwable as a String.
Gets the start character for this character range.
Gets the StringBuffer
being populated.
Gets the ToStringStyle
being used.
Gets the end text to output when an Object
is
output in summary mode.
Gets the end text to output when an Object
is
output in summary mode.
Gets the start text to output when an Object
is
output in summary mode.
Gets the start text to output when an Object
is
output in summary mode.
Returns the Throwable
in the chain of
Throwable
s at the specified index, numbered from 0.
Returns the Throwable
in the chain of
Throwable
s at the specified index, numbered from 0.
Returns the Throwable
in the chain of
Throwable
s at the specified index, numbered from 0.
Returns the Throwable
in the chain of
Throwable
s at the specified index, numbered from 0.
Returns the Throwable
in the chain of
Throwable
s at the specified index, numbered from 0.
Returns the Throwable
in the chain by index.
Returns the number of nested Throwable
s represented by
this Nestable
, including this Nestable
.
Returns the number of Throwable
s contained in the
Nestable
contained by this delegate.
Returns the number of nested Throwable
s represented by
this Nestable
, including this Nestable
.
Returns the number of nested Throwable
s represented by
this Nestable
, including this Nestable
.
Returns the number of nested Throwable
s represented by
this Nestable
, including this Nestable
.
Returns the number of nested Throwable
s represented by
this Nestable
, including this Nestable
.
Counts the number of Throwable
objects in the
exception chain.
Returns this Nestable
and any nested Throwable
s
in an array of Throwable
s, one element for each
Throwable
.
Returns this delegate's Nestable
and any nested
Throwable
s in an array of Throwable
s, one
element for each Throwable
.
Returns this Nestable
and any nested Throwable
s
in an array of Throwable
s, one element for each
Throwable
.
Returns this Nestable
and any nested Throwable
s
in an array of Throwable
s, one element for each
Throwable
.
Returns this Nestable
and any nested Throwable
s
in an array of Throwable
s, one element for each
Throwable
.
Returns this Nestable
and any nested Throwable
s
in an array of Throwable
s, one element for each
Throwable
.
Returns the list of Throwable
objects in the
exception chain.
Get the time on the stopwatch.
Gets a time formatter instance using the specified style in the
default time zone and locale.
Gets a time formatter instance using the specified style and
locale in the default time zone.
Gets a time formatter instance using the specified style and
time zone in the default locale.
Gets a time formatter instance using the specified style, time
zone and locale.
Gets the time zone used by this formatter.
Returns true
if the time zone of the
calendar overrides the time zone of the formatter.
Gets the last super class to stop appending fields for.
Gets the user directory as a File
.
Gets the user home directory as a File
.
Gets the value of this mutable.
Gets the value as a Byte instance.
Gets the value as a Double instance.
Gets the value as a Float instance.
Gets the value as a Integer instance.
Gets the value as a Long instance.
Gets the value as a Short instance.
Calls java.lang.reflect.Field.get(Object)
.
Obtains the value for the specified BitField, appropriately
shifted right.
Gets the toString that would be produced by Object
if a class did not override toString itself.
Thrown when an object is an instance of an unexpected type (a class or interface).
Instantiates with the expected and actual types.
Instantiates with the expected type, and actual object.
Instantiates with the specified message.
Tests whether the specified number
occurs within
this range using double
comparison.
Tests whether the specified range occurs entirely within this
range using double
comparison.
Thrown to indicate an incomplete argument to a method.
Instantiates with the specified description.
Instantiates with the specified description.
Represents a failed index search.
Find the index of the given value in the array.
Find the index of the given value in the array starting at the given index.
Find the index of the given value in the array.
Find the index of the given value in the array starting at the given index.
Find the index of the given value in the array.
Find the index of the given value in the array starting at the given index.
Find the index of the given value in the array.
Find the index of the given value within a given tolerance in the array.
Find the index of the given value in the array starting at the given index.
Find the index of the given value in the array starting at the given index.
Find the index of the given value in the array.
Find the index of the given value in the array starting at the given index.
Find the index of the given value in the array.
Find the index of the given value in the array starting at the given index.
Find the index of the given value in the array.
Find the index of the given value in the array starting at the given index.
Find the index of the given object in the array.
Find the index of the given object in the array starting at the given index.
Find the index of the given value in the array.
Find the index of the given value in the array starting at the given index.
Finds the first index within a String, handling null
.
Finds the first index within a String from a start position,
handling null
.
Finds the first index within a String, handling null
.
Finds the first index within a String, handling null
.
Search a String to find the first index of any
character in the given set of characters.
Search a String to find the first index of any
character in the given set of characters.
Find the first index of any of a set of potential substrings.
Search a String to find the first index of any
character not in the given set of characters.
Search a String to find the first index of any
character not in the given set of characters.
Compares two Strings, and returns the index at which the
Strings begin to differ.
Returns the index, numbered from 0, of the first occurrence of the
specified type, or a subclass, in the chain of Throwable
s.
Returns the index, numbered from 0, of the first occurrence of the
specified type, or a subclass, in the chain of Throwable
s.
Returns the index, numbered from 0, of the first occurrence of the
specified type, or a subclass, in the chain of Throwable
s.
Returns the index, numbered from 0, of the first occurrence of the
specified type, or a subclass, in the chain of Throwable
s.
Returns the index of the first occurrence of the specified type.
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.
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.
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.
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.
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.
Returns the index of the first occurrence of the specified type starting
from the specified index.
Returns the (zero based) index of the first Throwable
that matches the specified class (exactly) in the exception chain.
Returns the (zero based) index of the first Throwable
that matches the specified type in the exception chain from
a specified index.
Returns the (zero based) index of the first Throwable
that matches the specified class or subclass in the exception chain.
Returns the (zero based) index of the first Throwable
that matches the specified type in the exception chain from
a specified index.
Initialise the instance for first use.
The inner class separator String: "$"
.
The inner class separator character: '$' ==
.
Reusable Integer constant for minus one.
Reusable Integer constant for one.
Reusable Integer constant for zero.
IntRange
represents an inclusive range of int
s.
Constructs a new IntRange
using the specified
number as both the minimum and maximum in this range.
Constructs a new IntRange
with the specified
minimum and maximum numbers (both inclusive).
Constructs a new IntRange
using the specified
number as both the minimum and maximum in this range.
Constructs a new IntRange
with the specified
minimum and maximum numbers (both inclusive).
Gets the fraction as an int
.
Returns the value of this MutableByte as a int.
Returns the value of this MutableDouble as a int.
Returns the value of this MutableFloat as a int.
Returns the value of this MutableInt as a int.
Returns the value of this MutableLong as a int.
Returns the value of this MutableShort as a int.
Gets a fraction that is the inverse (1/fraction) of this one.
Is true
if this is Java version 1.1 (also 1.1.x versions).
Is true
if this is Java version 1.2 (also 1.2.x versions).
Is true
if this is Java version 1.3 (also 1.3.x versions).
Is true
if this is Java version 1.4 (also 1.4.x versions).
Is true
if this is Java version 1.5 (also 1.5.x versions).
Is true
if this is HP-UX.
Is true
if this is Linux.
Is true
if this is Solaris.
Is true
if this is SunOS.
Is true
if this is a POSIX compilant system,
as in any of AIX, HP-UX, Irix, Linux, MacOSX, Solaris or SUN OS.
Is true
if this is Windows.
Is true
if this is Windows 2000.
Is true
if this is Windows 95.
Is true
if this is Windows 98.
Is true
if this is Windows ME.
Is true
if this is Windows NT.
Is true
if this is Windows XP.
Returns whether all of the bits are set or not.
Checks if the String contains only unicode letters.
Checks if the String contains only unicode letters or digits.
Checks if the String contains only unicode letters, digits
or space (' '
).
Checks if the String contains only unicode letters and
space (' ').
Gets whether or not to append static fields.
Gets whether or not to append transient fields.
Gets whether to output array content detail.
Gets whether to output array content detail.
Checks whether the character is ASCII 7 bit.
Checks whether the character is ASCII 7 bit alphabetic.
Checks whether the character is ASCII 7 bit alphabetic lower case.
Checks whether the character is ASCII 7 bit numeric.
Checks whether the character is ASCII 7 bit alphabetic upper case.
Checks whether the character is ASCII 7 bit control.
Checks whether the character is ASCII 7 bit numeric.
Checks whether the character is ASCII 7 bit printable.
Checks if the string contains only ASCII printable characters.
Checks if one Class
can be assigned to a variable of
another Class
.
Checks if an array of Classes can be assigned to another array of Classes.
Checks if a String is whitespace, empty ("") or null.
Tests if the list of method names used in the search for Throwable
objects include the given name.
Gets whether to use full detail when the caller doesn't
specify.
Gets whether to use full detail when the caller doesn't
specify.
Checks whether the String
contains only
digit characters.
Checks whether the String
contains only
digit characters.
Checks if an array of primitive booleans is empty or null
.
Checks if an array of primitive bytes is empty or null
.
Checks if an array of primitive chars is empty or null
.
Checks if an array of primitive doubles is empty or null
.
Checks if an array of primitive floats is empty or null
.
Checks if an array of primitive ints is empty or null
.
Checks if an array of primitive longs is empty or null
.
Checks if an array of Objects is empty or null
.
Checks if an array of primitive shorts is empty or null
.
Checks if a String is empty ("") or null.
Returns true
if the fields that have been checked
are all equal.
Compares two arrays, using equals(), handling multi-dimensional arrays
correctly.
Is a Boolean value false
, handling null
.
Gets whether the field separator should be added at the end
of each buffer.
Gets whether the field separator should be added at the end
of each buffer.
Gets whether the field separator should be added at the start
of each buffer.
Gets whether the field separator should be added at the start
of each buffer.
Is this field to be output in full detail.
Checks whether the double value is infinite.
Checks whether the float value is infinite.
Is the specified class an inner class or static nested class.
Is the Java version at least the requested version.
Is the Java version at least the requested version.
Checks whether the double value is the special NaN value.
Checks whether the float value is the special NaN value.
Is this CharRange
negated.
Checks whether this Throwable
class can store a cause.
Checks if a String is not empty (""), not null and not whitespace only.
Checks if a String is not empty ("") and not null.
Checks whether the String a valid Java number.
Checks whether the String a valid Java number.
Checks if the String contains only unicode digits.
Checks if the String contains only unicode digits or space
(' '
).
ISO Latin Alphabet #1, also known as ISO-LATIN-1.
ISO8601 formatter for date without time zone.
ISO8601-like formatter for date with time zone.
ISO8601 formatter for date-time without time zone.
ISO8601 formatter for date-time with time zone.
Pattern used with FastDateFormat
and SimpleDateFormat
for the ISO8601 period format used in durations.
ISO8601 formatter for time without time zone.
ISO8601-like formatter for time without time zone.
ISO8601-like formatter for time with time zone.
ISO8601 formatter for time with time zone.
Checks if two calendar objects are on the same day ignoring time.
Checks if two date objects are on the same day ignoring time.
Checks if two calendar objects represent the same instant in time.
Checks if two date objects represent the same instant in time.
Checks whether two arrays are the same length, treating
null
arrays as length 0
.
Checks whether two arrays are the same length, treating
null
arrays as length 0
.
Checks whether two arrays are the same length, treating
null
arrays as length 0
.
Checks whether two arrays are the same length, treating
null
arrays as length 0
.
Checks whether two arrays are the same length, treating
null
arrays as length 0
.
Checks whether two arrays are the same length, treating
null
arrays as length 0
.
Checks whether two arrays are the same length, treating
null
arrays as length 0
.
Checks whether two arrays are the same length, treating
null
arrays as length 0
.
Checks whether two arrays are the same length, treating
null
arrays as length 0
.
Checks if two calendar objects represent the same local time.
Checks whether two arrays are the same type taking into account
multi-dimensional arrays.
Returns whether the field is set or not.
Gets whether to output short or long class names.
Gets whether to output short or long class names.
Returns whether the named charset is supported.
Checks if the Throwable class has a getCause
method.
Is a Boolean value true
, handling null
.
Validate an argument, throwing IllegalArgumentException
if the test result is false
.
Validate an argument, throwing IllegalArgumentException
if the test result is false
.
Validate an argument, throwing IllegalArgumentException
if the test result is false
.
Validate an argument, throwing IllegalArgumentException
if the test result is false
.
Validate an argument, throwing IllegalArgumentException
if the test result is false
.
Gets whether to use the class name.
Gets whether to use the class name.
Gets whether to use the field names passed in.
Gets whether to use the field names passed in.
Gets whether to use the identity hash code.
Gets whether to use the identity hash code.
Gets whether to output short or long class names.
Gets whether to output short or long class names.
Checks if the String contains only whitespace.
This constructs an Iterator
that will
start and stop over a date range based on the focused
date and the range style.
Gets an Iterator
over the Enum
objects in
an Enum
class.
Gets an Iterator
over the Enum
objects in
an Enum
class.
Gets an Iterator
over the Enum
objects
in an Enum
class.
Gets an Iterator
over the Enum
objects
in an Enum
class.
This constructs an Iterator
that will
start and stop over a date range based on the focused
date and the range style.
This constructs an Iterator
that will
start and stop over a date range based on the focused
date and the range style.
The toString representation of the Enum.
The toString representation of the Enum.
Find the last index of the given value within the array.
Find the last index of the given value in the array starting at the given index.
Find the last index of the given value within the array.
Find the last index of the given value in the array starting at the given index.
Find the last index of the given value within the array.
Find the last index of the given value in the array starting at the given index.
Find the last index of the given value within the array.
Find the last index of the given value within a given tolerance in the array.
Find the last index of the given value in the array starting at the given index.
Find the last index of the given value in the array starting at the given index.
Find the last index of the given value within the array.
Find the last index of the given value in the array starting at the given index.
Find the last index of the given value within the array.
Find the last index of the given value in the array starting at the given index.
Find the last index of the given value within the array.
Find the last index of the given value in the array starting at the given index.
Find the last index of the given object within the array.
Find the last index of the given object in the array starting at the given index.
Find the last index of the given value within the array.
Find the last index of the given value in the array starting at the given index.
Finds the last index within a String, handling null
.
Finds the last index within a String from a start position,
handling null
.
Finds the last index within a String, handling null
.
Finds the first index within a String, handling null
.
Find the latest index of any of a set of potential substrings.
Gets the leftmost len
characters of a String.
Left pad a String with spaces (' ').
Left pad a String with a specified character.
Left pad a String with a specified String.
The line.separator
System Property.
LONG locale dependent date or time style.
Reusable Long constant for minus one.
Reusable Long constant for one.
Reusable Long constant for zero.
LongRange
represents an inclusive range of long
s.
Constructs a new LongRange
using the specified
number as both the minimum and maximum in this range.
Constructs a new LongRange
with the specified
minimum and maximum numbers (both inclusive).
Constructs a new LongRange
using the specified
number as both the minimum and maximum in this range.
Constructs a new LongRange
with the specified
minimum and maximum numbers (both inclusive).
Gets the fraction as a long
.
Returns the value of this MutableByte as a long.
Returns the value of this MutableDouble as a long.
Returns the value of this MutableFloat as a long.
Returns the value of this MutableInt as a long.
Returns the value of this MutableLong as a long.
Returns the value of this MutableShort as a long.
Converts a String to lower case as per String.toLowerCase()
.
Whether to match subclasses via indexOf.
Gets the maximum of three byte
values.
Gets the maximum of three double
values.
Returns the maximum value in an array.
Gets the maximum of three float
values.
Returns the maximum value in an array.
Gets the maximum of three int
values.
Returns the maximum value in an array.
Gets the maximum of three long
values.
Returns the maximum value in an array.
Gets the maximum of three short
values.
Returns the maximum value in an array.
Gets the maximum of three int
values.
Gets the maximum of three long
values.
MEDIUM locale dependent date or time style.
Gets len
characters from the middle of a String.
Number of milliseconds in a standard day.
Number of milliseconds in a standard hour.
Number of milliseconds in a standard minute.
Number of milliseconds in a standard second.
Number of milliseconds in a standard day.
Number of milliseconds in a standard hour.
Number of milliseconds in a standard minute.
Number of milliseconds in a standard second.
Gets the minimum of three byte
values.
Gets the minimum of three double
values.
Returns the minimum value in an array.
Gets the minimum of three float
values.
Returns the minimum value in an array.
Gets the minimum of three int
values.
Returns the minimum value in an array.
Gets the minimum of three long
values.
Returns the minimum value in an array.
Gets the minimum of three short
values.
Returns the minimum value in an array.
Gets the minimum of three int
values.
Gets the minimum of three long
values.
The multi line toString style.
Multiplies the value of this fraction by another, returning the
result in reduced form.
Provides mutable access to a value.
Constructs a new MutableByte with the default value of zero.
Constructs a new MutableByte with the specified value.
Constructs a new MutableByte with the specified value.
A mutable double
wrapper.
Constructs a new MutableDouble with the default value of zero.
Constructs a new MutableDouble with the specified value.
Constructs a new MutableDouble with the specified value.
Constructs a new MutableFloat with the default value of zero.
Constructs a new MutableFloat with the specified value.
Constructs a new MutableFloat with the specified value.
Constructs a new MutableInt with the default value of zero.
Constructs a new MutableInt with the specified value.
Constructs a new MutableInt with the specified value.
Constructs a new MutableLong with the default value of zero.
Constructs a new MutableLong with the specified value.
Constructs a new MutableLong with the specified value.
A mutable Object
wrapper.
Constructs a new MutableObject with the default value of null
.
Constructs a new MutableObject with the specified value.
Constructs a new MutableShort with the default value of zero.
Constructs a new MutableShort with the specified value.
Constructs a new MutableShort with the specified value.
Gets a fraction that is the negative (-fraction) of this one.
Negates the specified boolean.
An interface to be implemented by
Throwable
extensions which would like to be able to nest root exceptions
inside themselves.
A shared implementation of the nestable exception functionality.
Constructs a new NestableDelegate
instance to manage the
specified Nestable
.
The base class of all errors which can contain other exceptions.
Constructs a new NestableError
without specified
detail message.
Constructs a new NestableError
with specified
detail message.
Constructs a new NestableError
with specified
detail message and nested Throwable
.
Constructs a new NestableError
with specified
nested Throwable
.
The base class of all exceptions which can contain other exceptions.
Constructs a new NestableException
without specified
detail message.
Constructs a new NestableException
with specified
detail message.
Constructs a new NestableException
with specified
detail message and nested Throwable
.
Constructs a new NestableException
with specified
nested Throwable
.
The base class of all runtime exceptions which can contain other
exceptions.
Constructs a new NestableRuntimeException
without specified
detail message.
Constructs a new NestableRuntimeException
with specified
detail message.
Constructs a new NestableRuntimeException
with specified
detail message and nested Throwable
.
Constructs a new NestableRuntimeException
with specified
nested Throwable
.
Returns the next pseudorandom, uniformly distributed boolean value
from the Math.random() sequence.
Returns the next pseudorandom, uniformly distributed boolean value
from the Math.random() sequence.
Returns the next pseudorandom, uniformly distributed boolean value
from the given random sequence.
Synonymous to the Math.random() call.
Returns the next pseudorandom, uniformly distributed float value
between 0.0
and 1.0
from the Math.random()
sequence.
Returns the next pseudorandom, uniformly distributed float value
between 0.0
and 1.0
from the given Random
sequence.
Returns the next pseudorandom, uniformly distributed float value
between 0.0
and 1.0
from the Math.random()
sequence.
Returns the next pseudorandom, uniformly distributed float value
between 0.0
and 1.0
from the Math.random()
sequence.
Returns the next pseudorandom, uniformly distributed float value
between 0.0
and 1.0
from the given Random
sequence.
Returns the next pseudorandom, uniformly distributed int value
from the Math.random() sequence.
Returns the next pseudorandom, uniformly distributed int value
from the Math.random() sequence.
Returns a pseudorandom, uniformly distributed int value between
0
(inclusive) and the specified value (exclusive), from
the Math.random() sequence.
Returns a pseudorandom, uniformly distributed int value
between 0
(inclusive) and the specified value
(exclusive), from the Math.random() sequence.
Returns the next pseudorandom, uniformly distributed int value
from the given random
sequence.
Returns a pseudorandom, uniformly distributed int value
between 0
(inclusive) and the specified value
(exclusive), from the given Random sequence.
Returns the next pseudorandom, uniformly distributed long value
from the Math.random() sequence.
Returns the next pseudorandom, uniformly distributed long value
from the Math.random() sequence.
Returns a pseudorandom, uniformly distributed long value between
0
(inclusive) and the specified value (exclusive), from
the Math.random() sequence.
Returns the next pseudorandom, uniformly distributed long value
from the given Random sequence.
The no field names toString style.
Validate an argument, throwing IllegalArgumentException
if the argument Collection has null
elements or is
null
.
Validate an argument, throwing IllegalArgumentException
if the argument Collection has null
elements or is
null
.
Validate an argument, throwing IllegalArgumentException
if the argument array has null
elements or is
null
.
Validate an argument, throwing IllegalArgumentException
if the argument array has null
elements or is
null
.
Validate an argument, throwing IllegalArgumentException
if the argument Collection is empty (null
or no elements).
Validate an argument, throwing IllegalArgumentException
if the argument Collection is empty (null
or no elements).
Validate an argument, throwing IllegalArgumentException
if the argument Map is empty (null
or no elements).
Validate an argument, throwing IllegalArgumentException
if the argument Map is empty (null
or no elements).
Validate an argument, throwing IllegalArgumentException
if the argument array is empty (null
or no elements).
Validate an argument, throwing IllegalArgumentException
if the argument array is empty (null
or no elements).
Validate an argument, throwing IllegalArgumentException
if the argument String is empty (null
or zero length).
Validate an argument, throwing IllegalArgumentException
if the argument String is empty (null
or zero length).
Thrown to indicate that a block of code has not been implemented.
Constructs a new NotImplementedException
with default message.
Constructs a new NotImplementedException
referencing
the specified class.
Constructs a new NotImplementedException
with specified
detail message.
Constructs a new NotImplementedException
with specified
detail message and nested Throwable
.
Constructs a new NotImplementedException
with specified
nested Throwable
and default message.
Validate an argument, throwing IllegalArgumentException
if the argument is null
.
Validate an argument, throwing IllegalArgumentException
if the argument is null
.
Class used as a null placeholder where null
has another meaning.
Thrown to indicate that an argument was null
and should
not have been.
Instantiates with the given argument name.
Represents a range of Number
objects.
NumberRange
represents an inclusive range of
Number
objects of the same type.
Constructs a new NumberRange
using
number
as both the minimum and maximum in
this range.
Constructs a new NumberRange
using the specified
number as both the minimum and maximum in this range.
Constructs a new NumberRange
with the specified
minimum and maximum numbers.
Constructs a new NumberRange
with the specified
minimum and maximum numbers (both inclusive).
Provides extra functionality for Java Number classes.
Provides extra functionality for Java Number classes.
NumberUtils
instances should NOT be constructed in standard programming.
NumberUtils
instances should NOT be constructed in standard programming.
Creates a random string whose length is the number of characters
specified.
Creates a random string whose length is the number of characters
specified.
Creates a random string whose length is the number of characters
specified.
Creates a random string whose length is the number of characters
specified.
Creates a random string based on a variety of options, using
default source of randomness.
Creates a random string based on a variety of options, using
supplied source of randomness.
Creates a random string whose length is the number of characters
specified.
Creates a random string whose length is the number of characters
specified.
Creates a random string whose length is the number of characters
specified.
Creates a random string whose length is the number of characters
specified.
Creates a random string whose length is the number of characters
specified.
Operations for random String
s.
RandomStringUtils
instances should NOT be constructed in
standard programming.
RandomUtils
is a wrapper that supports all possible
Random
methods via the
Math.random()
method and its system-wide
Random
object.
Range
represents a range of numbers of the same type.
Range() - constructor for class org.apache.commons.lang.math.
Range Constructs a new range.
A month range, the week starting on Monday.
A month range, the week starting on Sunday.
A week range, centered around the day focused.
A week range, starting on Monday.
A week range, starting on the day focused.
A week range, starting on Sunday.
Handle the deserialization of the class to ensure that multiple
copies are not wastefully created, or illegal enum types created.
Handle the deserialization of the class to ensure that multiple
copies are not wastefully created, or illegal enum types created.
Reduce the fraction to the smallest values for the numerator and
denominator, returning the result..
Append to the toString
an Object
array.
Append to the toString
the detail of an array type.
Compares two Object
s via reflection.
Compares two Object
s via reflection.
Compares two Object
s via reflection.
This method uses reflection to determine if the two Object
s
are equal.
This method uses reflection to determine if the two Object
s
are equal.
This method uses reflection to determine if the two Object
s
are equal.
This method uses reflection to build a valid hash code.
This method uses reflection to build a valid hash code.
This method uses reflection to build a valid hash code.
This method uses reflection to build a valid hash code.
This method uses reflection to build a valid hash code.
Forwards to ReflectionToStringBuilder
.
Forwards to ReflectionToStringBuilder
.
Forwards to ReflectionToStringBuilder
.
Forwards to ReflectionToStringBuilder
.
Assists in implementing Object.toString()
methods using reflection.
Removes the element at the specified position from the specified array.
Removes the element at the specified position from the specified array.
Removes the element at the specified position from the specified array.
Removes the element at the specified position from the specified array.
Removes the element at the specified position from the specified array.
Removes the element at the specified position from the specified array.
Removes the element at the specified position from the specified array.
Removes the element at the specified position from the specified array.
Removes the element at the specified position from the specified array.
Removes all occurances of a character from within the source string.
Removes all occurances of a substring from within the source string.
Removes from the list of method names used in the search for Throwable
objects.
Removes common frames from the cause trace given the two stack traces.
Removes the first occurrence of the specified element from the
specified array.
Removes the first occurrence of the specified element from the
specified array.
Removes the first occurrence of the specified element from the
specified array.
Removes the first occurrence of the specified element from the
specified array.
Removes the first occurrence of the specified element from the
specified array.
Removes the first occurrence of the specified element from the
specified array.
Removes the first occurrence of the specified element from the
specified array.
Removes the first occurrence of the specified element from the
specified array.
Removes the first occurrence of the specified element from the
specified array.
Removes a substring only if it is at the end of a source string,
otherwise returns the source string.
Remove the last field separator from the buffer.
Removes a substring only if it is at the begining of a source string,
otherwise returns the source string.
Repeat a String repeat
times to form a
new String.
Replaces all occurrences of a String within another String.
Replaces a String with another String inside a larger String,
for the first max
values of the search String.
Replaces all occurrences of a character in a String with another.
Replaces multiple characters in a String in one go.
Replaces a String with another String inside a larger String, once.
Resume the stopwatch after a suspend.
Reverses the order of the given array.
Reverses the order of the given array.
Reverses the order of the given array.
Reverses the order of the given array.
Reverses the order of the given array.
Reverses the order of the given array.
Reverses the order of the given array.
Reverses the order of the given array.
Reverses the order of the given array.
Reverses a String as per StringBuffer.reverse()
.
Reverses a String that is delimited by a specific character.
Reverses a String that is delimited by a specific character.
Gets the rightmost len
characters of a String.
Right pad a String with spaces (' ').
Right pad a String with a specified character.
Right pad a String with a specified String.
Round this date, leaving the field specified as the most
significant field.
Round this date, leaving the field specified as the most
significant field.
Round this date, leaving the field specified as the most
significant field.
Gets an appropriate rule for the padding required.
This is half a month, so this represents whether a date is in the top
or bottom half of the month.
Exception thrown when the Serialization process fails.
Constructs a new SerializationException
without specified
detail message.
Constructs a new SerializationException
with specified
detail message.
Constructs a new SerializationException
with specified
detail message and nested Throwable
.
Constructs a new SerializationException
with specified
nested Throwable
.
Assists with the serialization process and performs additional functionality based
on serialization.
SerializationUtils instances should NOT be constructed in standard programming.
Serializes an Object
to a byte array for
storage/serialization.
Serializes an Object
to the specified stream.
Sets whether or not to append static fields.
Sets whether or not to append transient fields.
Sets whether to output array content detail.
Sets whether to output array content detail.
Sets the array separator text.
Sets the array separator text.
Sets the array start text.
Sets the array start text.
Sets the content end text.
Sets the content end text.
Sets the content start text.
Sets the content start text.
Sets whether to use full detail when the caller doesn't
specify.
Sets whether to use full detail when the caller doesn't
specify.
Sets the default ToStringStyle
to use.
Sets the field name value separator text.
Sets the field name value separator text.
Sets the field separator text.
Sets the field separator text.
Sets whether the field separator should be added at the end
of each buffer.
Sets whether the field separator should be added at the end
of each buffer.
Sets whether the field separator should be added at the start
of each buffer.
Sets whether the field separator should be added at the start
of each buffer.
Sets the text to output when null
found.
Sets the text to output when null
found.
Sets whether to output short or long class names.
Sets whether to output short or long class names.
Replaces the bits with new values.
Sets the end text to output when a Collection
,
Map
or Array
size is output.
Sets the end text to output when a Collection
,
Map
or array size is output.
Sets the start text to output when a Collection
,
Map
or Array
size is output.
Sets the start text to output when a Collection
,
Map
or array size is output.
Sets the end text to output when an Object
is
output in summary mode.
Sets the end text to output when an Object
is
output in summary mode.
Sets the start text to output when an Object
is
output in summary mode.
Sets the start text to output when an Object
is
output in summary mode.
Sets the last super class to stop appending fields for.
Sets whether to use the class name.
Sets whether to use the class name.
Sets whether to use the field names passed in.
Sets whether to use the field names passed in.
Sets whether to use the identity hash code.
Sets whether to use the identity hash code.
Sets whether to output short or long class names.
Sets whether to output short or long class names.
Replaces the bits with new values.
Sets the value of this mutable.
Sets the value from any Number instance.
Sets the value from any Number instance.
Sets the value from any Number instance.
Sets the value from any Number instance.
Sets the value from any Number instance.
Sets the value from any Number instance.
SHORT locale dependent date or time style.
Reusable Short constant for minus one.
Reusable Short constant for one.
The short prefix toString style.
Reusable Short constant for zero.
Returns the value of this MutableShort as a short.
The simple toString style.
SMTP (and probably other) date headers.
Splits the provided text into an array, using whitespace as the
separator.
Splits the provided text into an array, separator specified.
Splits the provided text into an array, separators specified.
Splits the provided text into an array with a maximum length,
separators specified.
Splits the provided text into an array, separator string specified.
Splits the provided text into an array, separator string specified.
Splits the provided text into an array, using whitespace as the
separator, preserving all tokens, including empty tokens created by
adjacent separators.
Splits the provided text into an array, separator specified,
preserving all tokens, including empty tokens created by adjacent
separators.
Splits the provided text into an array, separators specified,
preserving all tokens, including empty tokens created by adjacent
separators.
Splits the provided text into an array with a maximum length,
separators specified, preserving all tokens, including empty tokens
created by adjacent separators.
Squeezes any repetitions of a character that is mentioned in the
supplied set.
Squeezes any repetitions of a character that is mentioned in the
supplied set.
StopWatch
provides a convenient API for timings.
Escapes and unescapes String
s for
Java, Java Script, HTML, XML, and SQL.
StringEscapeUtils
instances should NOT be constructed in
standard programming.
Convert a String
to an int
, returning
zero
if the conversion fails.
Convert a String
to an int
, returning
zero
if the conversion fails.
Convert a String
to an int
, returning a
default value if the conversion fails.
Convert a String
to an int
, returning a
default value if the conversion fails.
Operations on
String
that are
null
safe.
StringUtils
instances should NOT be constructed in
standard programming.
Strips whitespace from the start and end of a String.
Strips any of a set of characters from the start and end of a String.
Strips whitespace from the start and end of every String in an array.
Strips any of a set of characters from the start and end of every
String in an array.
Strips any of a set of characters from the end of a String.
Strips any of a set of characters from the start of a String.
Strips whitespace from the start and end of a String returning
an empty String if null
input.
Strips whitespace from the start and end of a String returning
null
if the String is empty ("") after the strip.
Produces a new boolean
array containing the elements
between the start and end indices.
Produces a new byte
array containing the elements
between the start and end indices.
Produces a new char
array containing the elements
between the start and end indices.
Produces a new double
array containing the elements
between the start and end indices.
Produces a new float
array containing the elements
between the start and end indices.
Produces a new int
array containing the elements
between the start and end indices.
Produces a new long
array containing the elements
between the start and end indices.
Produces a new array containing the elements between
the start and end indices.
Produces a new short
array containing the elements
between the start and end indices.
Gets a substring from the specified String avoiding exceptions.
Gets a substring from the specified String avoiding exceptions.
Gets the substring after the first occurrence of a separator.
Gets the substring after the last occurrence of a separator.
Gets the substring before the first occurrence of a separator.
Gets the substring before the last occurrence of a separator.
Gets the String that is nested in between two instances of the
same String.
Gets the String that is nested in between two Strings.
Subtracts the value of another fraction from the value of this one,
returning the result in reduced form.
Suspend the stopwatch for later resumption.
Swaps the case of a String changing upper and title case to
lower case, and lower case to upper case.
Swaps the case of a String using a word based algorithm.
Helpers for java.lang.System
.
SystemUtils instances should NOT be constructed in standard
programming.
Fraction
representation of 3/5.
Fraction
representation of 3/4.
Converts a Boolean to a boolean handling null
by returning false
.
Converts an int to a boolean using the convention that zero
is false
.
Converts an int to a boolean specifying the conversion values.
Converts an Integer to a boolean specifying the conversion values.
Converts a String to a boolean (optimised for performance).
Converts a String to a Boolean throwing an exception if no match found.
Converts a Boolean to a boolean handling null
.
Boolean factory that avoids creating new Boolean objecs all the time.
Converts an int to a Boolean using the convention that zero
is false
.
Converts an int to a Boolean specifying the conversion values.
Converts an Integer to a Boolean using the convention that zero
is false
.
Converts an Integer to a Boolean specifying the conversion values.
Converts a String to a Boolean.
Converts a String to a Boolean throwing an exception if no match.
Converts the Character to a char throwing an exception for null
.
Converts the Character to a char handling null
.
Converts the String to a char using the first character, throwing
an exception on empty Strings.
Converts the String to a char using the first character, defaulting
the value on empty Strings.
Converts the character to a Character.
Converts the String to a Character using the first character, returning
null for empty Strings.
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.
Convert a String
to a double
, returning
0.0d
if the conversion fails.
Convert a String
to a double
, returning a
default value if the conversion fails.
Convert a String
to a float
, returning
0.0f
if the conversion fails.
Convert a String
to a float
, returning a
default value if the conversion fails.
Return the computed hashCode
.
Convert a String
to an int
, returning
zero
if the conversion fails.
Convert a String
to an int
, returning a
default value if the conversion fails.
Converts a boolean to an int using the convention that
zero
is false
.
Converts a boolean to an int specifying the conversion values.
Converts a Boolean to an int specifying the conversion values.
Converts a Boolean to a Integer using the convention that
zero
is false
.
Converts a boolean to an Integer specifying the conversion values.
Converts a Boolean to an Integer specifying the conversion values.
Converts the character to the Integer it represents, throwing an
exception if the character is not numeric.
Converts the character to the Integer it represents, throwing an
exception if the character is not numeric.
Converts the character to the Integer it represents, throwing an
exception if the character is not numeric.
Converts the character to the Integer it represents, throwing an
exception if the character is not numeric.
Convert a String
to a long
, returning
zero
if the conversion fails.
Convert a String
to a long
, returning a
default value if the conversion fails.
Converts the given array into a
Map
.
Converts an array of primitive booleans to objects.
Converts an array of primitive bytes to objects.
Converts an array of primitive doubles to objects.
Converts an array of primitive floats to objects.
Converts an array of primitive ints to objects.
Converts an array of primitive longs to objects.
Converts an array of primitive shorts to objects.
Whether to print the stack trace top-down.
Converts an array of object Booleans to primitives.
Converts an array of object Booleans to primitives handling null
.
Converts an array of object Bytes to primitives.
Converts an array of object Bytes to primitives handling null
.
Converts an array of object Doubles to primitives.
Converts an array of object Doubles to primitives handling null
.
Converts an array of object Floats to primitives.
Converts an array of object Floats to primitives handling null
.
Converts an array of object Integers to primitives.
Converts an array of object Integer to primitives handling null
.
Converts an array of object Longs to primitives.
Converts an array of object Long to primitives handling null
.
Converts an array of object Shorts to primitives.
Converts an array of object Short to primitives handling null
.
Gets the fraction as a proper String
in the format X Y/Z.
Gets a summary of the split time that the stopwatch recorded as a string.
Gets a string representation of the character range.
Gets a string representation of the set.
Gets the range as a String
.
Human readable description of this Enum item.
Human readable description of this Enum item.
Gets a debugging string version of this formatter.
Gets the range as a String
.
Gets the fraction as a String
.
Gets the range as a String
.
Gets the range as a String
.
Returns the String value of this mutable.
Returns the String value of this mutable.
Returns the String value of this mutable.
Returns the String value of this mutable.
Returns the String value of this mutable.
Returns the String value of this mutable.
Returns the String value of this mutable.
Returns the string representation of this range.
Gets the range as a String
.
Gets the range as a String
.
Gets the String built by this builder.
Gets a summary of the time that the stopwatch recorded as a string.
Returns the built toString
.
Human readable description of this Enum
item.
Human readable description of this Enum
item.
Converts a boolean to a String returning one of the input Strings.
Converts a Boolean to a String returning one of the input Strings.
Converts the character to a String that contains the one character.
Converts the character to a String that contains the one character.
Outputs an array as a String, treating null
as an empty array.
Gets the toString
of an Object
returning
an empty string ("") if null
input.
This method uses reflection to build a suitable toString
using the default ToStringStyle
.
This method uses reflection to build a suitable toString
.
This method uses reflection to build a suitable toString
.
This method uses reflection to build a suitable toString
.
This method uses reflection to build a suitable toString
.
This method uses reflection to build a suitable toString
.
Outputs an array as a String handling null
s.
Gets the toString
of an Object
returning
a specified text if null
input.
Assists in implementing Object.toString()
methods.
Constructor for ToStringBuilder
.
Constructor for ToStringBuilder
specifying the
output style.
Constructor for ToStringBuilder
.
Converts a boolean to a String returning 'on'
or 'off'
.
Converts a boolean to a String returning 'true'
or 'false'
.
Converts a boolean to a String returning 'yes'
or 'no'
.
Translate characters in a String.
Removes control characters (char <= 32) from both
ends of this String, handling null
by returning
null
.
Whether to trim the repeated stack trace.
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
.
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 this date, leaving the field specified as the most
significant field.
Truncate this date, leaving the field specified as the most
significant field.
Truncate this date, leaving the field specified as the most
significant field.
Fraction
representation of 2/5.
Fraction
representation of 2/4.
Fraction
representation of 2/3.