Top Deprecated By Reference
Apache Commons Lang 3.20.0

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
org.apache.commons.lang3.AnnotationUtils()

TODO Make private in 4.0.

org.apache.commons.lang3.ArchUtils()

TODO Make private in 4.0.

org.apache.commons.lang3.ArraySorter()

Will be removed in 4.0.0.

org.apache.commons.lang3.ArrayUtils()

TODO Make private in 4.0.

Returns:

A new array containing the existing elements and the new element
org.apache.commons.lang3.ArrayUtils.add
(final boolean[]
the array to add the element to, may be null
array
,
final int
the position of the new object
index
,
final boolean
the object to add
element
)

this method has been superseded by insert(int, boolean[], boolean...) and may be removed in a future release. Please note the handling of null input arrays differs in the new method: inserting X into a null array results in null not X.

Returns:

A new array containing the existing elements and the new element
org.apache.commons.lang3.ArrayUtils.add
(final byte[]
the array to add the element to, may be null
array
,
final int
the position of the new object
index
,
final byte
the object to add
element
)

this method has been superseded by insert(int, byte[], byte...) and may be removed in a future release. Please note the handling of null input arrays differs in the new method: inserting X into a null array results in null not X.

Returns:

A new array containing the existing elements and the new element
org.apache.commons.lang3.ArrayUtils.add
(final char[]
the array to add the element to, may be null
array
,
final int
the position of the new object
index
,
final char
the object to add
element
)

this method has been superseded by insert(int, char[], char...) and may be removed in a future release. Please note the handling of null input arrays differs in the new method: inserting X into a null array results in null not X.

Returns:

A new array containing the existing elements and the new element
org.apache.commons.lang3.ArrayUtils.add
(final double[]
the array to add the element to, may be null
array
,
final int
the position of the new object
index
,
final double
the object to add
element
)

this method has been superseded by insert(int, double[], double...) and may be removed in a future release. Please note the handling of null input arrays differs in the new method: inserting X into a null array results in null not X.

Returns:

A new array containing the existing elements and the new element
org.apache.commons.lang3.ArrayUtils.add
(final float[]
the array to add the element to, may be null
array
,
final int
the position of the new object
index
,
final float
the object to add
element
)

this method has been superseded by insert(int, float[], float...) and may be removed in a future release. Please note the handling of null input arrays differs in the new method: inserting X into a null array results in null not X.

Returns:

A new array containing the existing elements and the new element
org.apache.commons.lang3.ArrayUtils.add
(final int[]
the array to add the element to, may be null
array
,
final int
the position of the new object
index
,
final int
the object to add
element
)

this method has been superseded by insert(int, int[], int...) and may be removed in a future release. Please note the handling of null input arrays differs in the new method: inserting X into a null array results in null not X.

Returns:

A new array containing the existing elements and the new element
org.apache.commons.lang3.ArrayUtils.add
(final long[]
the array to add the element to, may be null
array
,
final int
the position of the new object
index
,
final long
the object to add
element
)

this method has been superseded by insert(int, long[], long...) and may be removed in a future release. Please note the handling of null input arrays differs in the new method: inserting X into a null array results in null not X.

Returns:

A new array containing the existing elements and the new element
org.apache.commons.lang3.ArrayUtils.add
(final short[]
the array to add the element to, may be null
array
,
final int
the position of the new object
index
,
final short
the object to add
element
)

this method has been superseded by insert(int, short[], short...) and may be removed in a future release. Please note the handling of null input arrays differs in the new method: inserting X into a null array results in null not X.

Returns:

A new array containing the existing elements and the new element
org.apache.commons.lang3.ArrayUtils.add
(final T[]
the array to add the element to, may be null
array
,
final int
the position of the new object
index
,
final T
the object to add
element
)

this method has been superseded by insert(int, T[], T...) and may be removed in a future release. Please note the handling of null input arrays differs in the new method: inserting X into a null array results in null not X.

Returns:

true if the arrays are equal
org.apache.commons.lang3.ArrayUtils.isEquals
(final Object
the left-hand side array to compare, may be null
array1
,
final Object
the right-hand side array to compare, may be null
array2
)

this method has been replaced by java.util.Objects.deepEquals(Object, Object) and will be removed from future releases.

Returns:

A new array containing the existing elements except the occurrences of the specified element.
org.apache.commons.lang3.ArrayUtils.removeAllOccurences
(final boolean[]
the input array, will not be modified, and may be null.
array
,
final boolean
the element to remove.
element
)

Use removeAllOccurrences(boolean[], boolean).

Returns:

A new array containing the existing elements except the occurrences of the specified element.
org.apache.commons.lang3.ArrayUtils.removeAllOccurences
(final byte[]
the input array, will not be modified, and may be null.
array
,
final byte
the element to remove.
element
)

Use removeAllOccurrences(byte[], byte).

Returns:

A new array containing the existing elements except the occurrences of the specified element.
org.apache.commons.lang3.ArrayUtils.removeAllOccurences
(final char[]
the input array, will not be modified, and may be null.
array
,
final char
the element to remove.
element
)

Use removeAllOccurrences(char[], char).

Returns:

A new array containing the existing elements except the occurrences of the specified element.
org.apache.commons.lang3.ArrayUtils.removeAllOccurences
(final double[]
the input array, will not be modified, and may be null.
array
,
final double
the element to remove.
element
)

Use removeAllOccurrences(double[], double).

Returns:

A new array containing the existing elements except the occurrences of the specified element.
org.apache.commons.lang3.ArrayUtils.removeAllOccurences
(final float[]
the input array, will not be modified, and may be null.
array
,
final float
the element to remove.
element
)

Use removeAllOccurrences(float[], float).

Returns:

A new array containing the existing elements except the occurrences of the specified element.
org.apache.commons.lang3.ArrayUtils.removeAllOccurences
(final int[]
the input array, will not be modified, and may be null.
array
,
final int
the element to remove.
element
)

Use removeAllOccurrences(int[], int).

Returns:

A new array containing the existing elements except the occurrences of the specified element.
org.apache.commons.lang3.ArrayUtils.removeAllOccurences
(final long[]
the input array, will not be modified, and may be null.
array
,
final long
the element to remove.
element
)

Use removeAllOccurrences(long[], long).

Returns:

A new array containing the existing elements except the occurrences of the specified element.
org.apache.commons.lang3.ArrayUtils.removeAllOccurences
(final short[]
the input array, will not be modified, and may be null.
array
,
final short
the element to remove.
element
)

Use removeAllOccurrences(short[], short).

Returns:

A new array containing the existing elements except the occurrences of the specified element.
org.apache.commons.lang3.ArrayUtils.removeAllOccurences
(final T[]
the input array, will not be modified, and may be null.
array
,
final T
the element to remove, may be null.
element
)

Use removeAllOccurrences(Object[], Object).

org.apache.commons.lang3.BooleanUtils()

TODO Make private in 4.0.

org.apache.commons.lang3.CharEncoding

Java 7 introduced java.nio.charset.StandardCharsets, which defines these constants as Charset objects. Use Charset#name() to get the string values provided in this class. This class will be removed in a future release.

org.apache.commons.lang3.CharEncoding()

Will be removed in 4.0.0.

Returns:

true if the charset is available in the current Java virtual machine
org.apache.commons.lang3.CharEncoding.isSupported
(final String
the name of the requested charset; may be either a canonical name or an alias, null returns false
name
)

Please use Charset#isSupported(String) instead, although be aware that null values are not accepted by that method and an IllegalCharsetNameException may be thrown.

org.apache.commons.lang3.CharSequenceUtils()

TODO Make private in 4.0.

org.apache.commons.lang3.CharSetUtils()

TODO Make private in 4.0.

org.apache.commons.lang3.CharUtils()

TODO Make private in 4.0.

Returns:

a Character representing c.
org.apache.commons.lang3.CharUtils.toCharacterObject
(final char
the character to convert
c
)

Use Character#valueOf(char).

org.apache.commons.lang3.ClassLoaderUtils()

TODO Make private in 4.0.

org.apache.commons.lang3.ClassPathUtils()

TODO Make private in 4.0.

org.apache.commons.lang3.ClassUtils()

TODO Make private in 4.0.

org.apache.commons.lang3.Conversion()

Will be removed in 4.0.0.

org.apache.commons.lang3.EnumUtils()

TODO Make private in 4.0.

org.apache.commons.lang3.Functions.FailableBiFunction<
Input type 1.
O1
,
Input type 2.
O2
,
Return type.
R
,
Thrown exception.
T extends Throwable
>

Use org.apache.commons.lang3.function.FailableBiFunction.

org.apache.commons.lang3.LocaleUtils()

TODO Make private in 4.0.

org.apache.commons.lang3.ObjectUtils()

TODO Make private in 4.0.

Returns:

object if it is not null, defaultValue otherwise.
org.apache.commons.lang3.ObjectUtils.defaultIfNull
(final T
the Object to test, may be null.
object
,
final T
the default value to return, may be null.
defaultValue
)

Use getIfNull(Object, Object).

Returns:

true if the values of both objects are the same.
org.apache.commons.lang3.ObjectUtils.equals
(final Object
the first object, may be null.
object1
,
final Object
the second object, may be null.
object2
)

this method has been replaced by java.util.Objects.equals(Object, Object) in Java 7 and will be removed from future releases.

Returns:

the hash code of the object, or zero if null.
org.apache.commons.lang3.ObjectUtils.hashCode
(final Object
the object to obtain the hash code of, may be null.
obj
)

this method has been replaced by java.util.Objects.hashCode(Object) in Java 7 and will be removed in future releases.

Returns:

the hash code of the objects, or zero if null.
org.apache.commons.lang3.ObjectUtils.hashCodeMulti
(final Object...
the objects to obtain the hash code of, may be null.
objects
)

this method has been replaced by java.util.Objects.hash(Object...) in Java 7 and will be removed in future releases.

org.apache.commons.lang3.ObjectUtils.identityToString(final StrBuilder
the builder to append to.
builder
,
final Object
the object to create a toString for.
object
)

as of 3.6, because StrBuilder was moved to commons-text, use one of the other identityToString methods instead.

Returns:

the passed in Object's toString, or nullStr if null input.
org.apache.commons.lang3.ObjectUtils.toString
(final Object
the Object to toString, may be null.
obj
,
final String
the String to return if null input, may be null.
nullStr
)

this method has been replaced by java.util.Objects.toString(Object, String) in Java 7 and will be removed in future releases.

org.apache.commons.lang3.RandomStringUtils()

TODO Make private in 4.0.

Returns:

the random string.
org.apache.commons.lang3.RandomStringUtils.random
(final int
the length of random string to create.
count
)

Use next(int) from secure(), secureStrong(), or insecure().

Returns:

the random string.
org.apache.commons.lang3.RandomStringUtils.random
(final int
the length of random string to create.
count
,
final boolean
if true, generated string may include alphabetic characters.
letters
,
final boolean
if true, generated string may include numeric characters.
numbers
)

Use next(int, boolean, boolean) from secure(), secureStrong(), or insecure().

Returns:

the random string.
org.apache.commons.lang3.RandomStringUtils.random
(final int
the length of random string to create.
count
,
final char...
the character array containing the set of characters to use, may be null.
chars
)

Use next(int, char...) from secure(), secureStrong(), or insecure().

Returns:

the random string.
org.apache.commons.lang3.RandomStringUtils.random
(final int
the length of random string to create.
count
,
final int
the position in set of chars to start at.
start
,
final int
the position in set of chars to end before.
end
,
final boolean
if true, generated string may include alphabetic characters.
letters
,
final boolean
if true, generated string may include numeric characters.
numbers
)

Use next(int, int, int, boolean, boolean) from secure(), secureStrong(), or insecure().

Returns:

the random string.
org.apache.commons.lang3.RandomStringUtils.random
(final int
the length of random string to create.
count
,
final int
the position in set of chars to start at.
start
,
final int
the position in set of chars to end before.
end
,
final boolean
if true, generated string may include alphabetic characters.
letters
,
final boolean
if true, generated string may include numeric characters.
numbers
,
final char...
the set of chars to choose randoms from. If null, then it will use the set of all chars.
chars
)

Use next(int, int, int, boolean, boolean, char...) from secure(), secureStrong(), or insecure().

Returns:

the random string.
org.apache.commons.lang3.RandomStringUtils.random
(final int
the length of random string to create.
count
,
final String
the String containing the set of characters to use, may be null, but must not be empty.
chars
)

Use next(int, String) from secure(), secureStrong(), or insecure().

Returns:

the random string.
org.apache.commons.lang3.RandomStringUtils.randomAlphabetic
(final int
the length of random string to create.
count
)

Use nextAlphabetic(int) from secure(), secureStrong(), or insecure().

Returns:

the random string.
org.apache.commons.lang3.RandomStringUtils.randomAlphabetic
(final int
the inclusive minimum length of the string to generate.
minLengthInclusive
,
final int
the exclusive maximum length of the string to generate.
maxLengthExclusive
)

Use nextAlphabetic(int, int) from secure(), secureStrong(), or insecure().

Returns:

the random string.
org.apache.commons.lang3.RandomStringUtils.randomAlphanumeric
(final int
the length of random string to create.
count
)

Use nextAlphanumeric(int) from secure(), secureStrong(), or insecure().

Returns:

the random string.
org.apache.commons.lang3.RandomStringUtils.randomAlphanumeric
(final int
the inclusive minimum length of the string to generate.
minLengthInclusive
,
final int
the exclusive maximum length of the string to generate.
maxLengthExclusive
)

Use nextAlphanumeric(int, int) from secure(), secureStrong(), or insecure().

Returns:

the random string.
org.apache.commons.lang3.RandomStringUtils.randomAscii
(final int
the length of random string to create.
count
)

Use nextAscii(int) from secure(), secureStrong(), or insecure().

Returns:

the random string.
org.apache.commons.lang3.RandomStringUtils.randomAscii
(final int
the inclusive minimum length of the string to generate.
minLengthInclusive
,
final int
the exclusive maximum length of the string to generate.
maxLengthExclusive
)

Use nextAscii(int, int) from secure(), secureStrong(), or insecure().

Returns:

the random string.
org.apache.commons.lang3.RandomStringUtils.randomGraph
(final int
the length of random string to create.
count
)

Use nextGraph(int) from secure(), secureStrong(), or insecure().

Returns:

the random string.
org.apache.commons.lang3.RandomStringUtils.randomGraph
(final int
the inclusive minimum length of the string to generate.
minLengthInclusive
,
final int
the exclusive maximum length of the string to generate.
maxLengthExclusive
)

Use nextGraph(int, int) from secure(), secureStrong(), or insecure().

Returns:

the random string.
org.apache.commons.lang3.RandomStringUtils.randomNumeric
(final int
the length of random string to create.
count
)

Use nextNumeric(int) from secure(), secureStrong(), or insecure().

Returns:

the random string.
org.apache.commons.lang3.RandomStringUtils.randomNumeric
(final int
the inclusive minimum length of the string to generate.
minLengthInclusive
,
final int
the exclusive maximum length of the string to generate.
maxLengthExclusive
)

Use nextNumeric(int, int) from secure(), secureStrong(), or insecure().

Returns:

the random string.
org.apache.commons.lang3.RandomStringUtils.randomPrint
(final int
the length of random string to create.
count
)

Use randomPrint(int) from secure(), secureStrong(), or insecure().

Returns:

the random string.
org.apache.commons.lang3.RandomStringUtils.randomPrint
(final int
the inclusive minimum length of the string to generate.
minLengthInclusive
,
final int
the exclusive maximum length of the string to generate.
maxLengthExclusive
)

Use randomPrint(int, int) from secure(), secureStrong(), or insecure().

org.apache.commons.lang3.RandomUtils()

TODO Make private in 4.0.

Returns:

the random byte array.
org.apache.commons.lang3.RandomUtils.nextBytes
(final int
the size of the returned array.
count
)

Use secure(), secureStrong(), or insecure().

Returns:

the random double.
org.apache.commons.lang3.RandomUtils.nextDouble
(final double
the smallest value that can be returned, must be non-negative.
startInclusive
,
final double
the upper bound (not included).
endExclusive
)

Use secure(), secureStrong(), or insecure().

Returns:

the random float
org.apache.commons.lang3.RandomUtils.nextFloat
(final float
the smallest value that can be returned, must be non-negative.
startInclusive
,
final float
the upper bound (not included).
endExclusive
)

Use secure(), secureStrong(), or insecure().

Returns:

the random integer.
org.apache.commons.lang3.RandomUtils.nextInt
(final int
the smallest value that can be returned, must be non-negative.
startInclusive
,
final int
the upper bound (not included).
endExclusive
)

Use secure(), secureStrong(), or insecure().

Returns:

the random long.
org.apache.commons.lang3.RandomUtils.nextLong
(final long
the smallest value that can be returned, must be non-negative.
startInclusive
,
final long
the upper bound (not included).
endExclusive
)

Use secure(), secureStrong(), or insecure().

Returns:

the range object, not null.
org.apache.commons.lang3.Range.between
(final T
the first value that defines the edge of the range, inclusive.
fromInclusive
,
final T
the second value that defines the edge of the range, inclusive.
toInclusive
)

Use of(Comparable, Comparable).

Returns:

the range object, not null.
org.apache.commons.lang3.Range.between
(final T
the first value that defines the edge of the range, inclusive.
fromInclusive
,
final T
the second value that defines the edge of the range, inclusive.
toInclusive
,
final Comparator<T>
the comparator to be used, null for natural ordering.
comparator
)

Use of(Object, Object, Comparator).

org.apache.commons.lang3.RegExUtils()

TODO Make private in 4.0.

Returns:

A new matcher for this pattern.
org.apache.commons.lang3.RegExUtils.dotAllMatcher
(final String
The expression to be compiled.
regex
,
final String
The character sequence to be matched.
text
)

Use dotAllMatcher(String, CharSequence).

Returns:

the text with any removes processed, null if null String input.
org.apache.commons.lang3.RegExUtils.removeAll
(final String
text to remove from, may be null.
text
,
final Pattern
the regular expression to which this string is to be matched
regex
)

Use removeAll(CharSequence, Pattern).

Returns:

the text with the first replacement processed, null if null String input.
org.apache.commons.lang3.RegExUtils.removeFirst
(final String
text to remove from, may be null.
text
,
final Pattern
the regular expression pattern to which this string is to be matched.
regex
)

Use removeFirst(CharSequence, Pattern).

Returns:

The resulting String.
org.apache.commons.lang3.RegExUtils.removePattern
(final String
the source string.
text
,
final String
the regular expression to which this string is to be matched.
regex
)

Use removePattern(CharSequence, String).

Returns:

the text with any replacements processed, null if null String input.
org.apache.commons.lang3.RegExUtils.replaceAll
(final String
text to search and replace in, may be null.
text
,
final Pattern
the regular expression pattern to which this string is to be matched.
regex
,
final String
the string to be substituted for each match.
replacement
)

Use replaceAll(CharSequence, Pattern, String).

Returns:

the text with the first replacement processed, null if null String input.
org.apache.commons.lang3.RegExUtils.replaceFirst
(final String
text to search and replace in, may be null.
text
,
final Pattern
the regular expression pattern to which this string is to be matched.
regex
,
final String
the string to be substituted for the first match.
replacement
)

Use replaceFirst(CharSequence, Pattern, String).

Returns:

The resulting String.
org.apache.commons.lang3.RegExUtils.replacePattern
(final String
the source string.
text
,
final String
the regular expression to which this string is to be matched.
regex
,
final String
the string to be substituted for each match.
replacement
)

Use replacePattern(CharSequence, String, String).

org.apache.commons.lang3.StringEscapeUtils

As of 3.6, use Apache Commons Text StringEscapeUtils instead.

org.apache.commons.lang3.StringEscapeUtils()

TODO Make private in 4.0.

Returns:

a new escaped String, null if null string input
org.apache.commons.lang3.StringEscapeUtils.escapeXml
(final String
the String to escape, may be null
input
)

Use escapeXml10(java.lang.String) or escapeXml11(java.lang.String) instead.

org.apache.commons.lang3.StringUtils()

TODO Make private in 4.0.

Returns:

A new String if suffix was appended, the same string otherwise.
org.apache.commons.lang3.StringUtils.appendIfMissing
(final String
The string.
str
,
final CharSequence
The suffix to append to the end of the string.
suffix
,
final CharSequence...
Additional suffixes that are valid terminators.
suffixes
)

Use Strings.CS.appendIfMissing(String, CharSequence, CharSequence...).

Returns:

A new String if suffix was appended, the same string otherwise.
org.apache.commons.lang3.StringUtils.appendIfMissingIgnoreCase
(final String
The string.
str
,
final CharSequence
The suffix to append to the end of the string.
suffix
,
final CharSequence...
Additional suffixes that are valid terminators.
suffixes
)

Use Strings.CI.appendIfMissing(String, CharSequence, CharSequence...).

Returns:

String without trailing separator, null if null String input.
org.apache.commons.lang3.StringUtils.chomp
(final String
the String to chomp from, may be null.
str
,
final String
separator String, may be null.
separator
)

This feature will be removed in Lang 4, use StringUtils#removeEnd(String, String) instead.

Returns:

< 0, 0, > 0, if str1 is respectively less, equal or greater than str2.
org.apache.commons.lang3.StringUtils.compare
(final String
the String to compare from.
str1
,
final String
the String to compare to.
str2
)

Use Strings.CS.compare(String, String).

Returns:

< 0, 0, > 0, if str1 is respectively less, equal ou greater than str2, ignoring case differences.
org.apache.commons.lang3.StringUtils.compareIgnoreCase
(final String
the String to compare from.
str1
,
final String
the String to compare to.
str2
)

Use Strings.CI.compare(String, String).

Returns:

true if the CharSequence contains the search CharSequence, false if not or null string input
org.apache.commons.lang3.StringUtils.contains
(final CharSequence
the CharSequence to check, may be null
seq
,
final CharSequence
the CharSequence to find, may be null
searchSeq
)

Use Strings.CS.contains(CharSequence, CharSequence).

Returns:

true if any of the search CharSequences are found, false otherwise.
org.apache.commons.lang3.StringUtils.containsAny
(final CharSequence
The CharSequence to check, may be null.
cs
,
final CharSequence...
The array of CharSequences to search for, may be null. Individual CharSequences may be null as well.
searchCharSequences
)

Use Strings.CS.containsAny(CharSequence, CharSequence...).

Returns:

true if any of the search CharSequences are found, false otherwise
org.apache.commons.lang3.StringUtils.containsAnyIgnoreCase
(final CharSequence
The CharSequence to check, may be null.
cs
,
final CharSequence...
The array of CharSequences to search for, may be null. Individual CharSequences may be null as well.
searchCharSequences
)

Use Strings.CI.containsAny(CharSequence, CharSequence...).

Returns:

true if the CharSequence contains the search CharSequence irrespective of case or false if not or null string input.
org.apache.commons.lang3.StringUtils.containsIgnoreCase
(final CharSequence
the CharSequence to check, may be null.
str
,
final CharSequence
the CharSequence to find, may be null.
searchStr
)

Use Strings.CI.contains(CharSequence, CharSequence).

Returns:

the passed in String, or the default if it was null.
org.apache.commons.lang3.StringUtils.defaultString
(final String
the String to check, may be null.
str
,
final String
the default String to return if the input is null, may be null.
nullDefault
)

Use Objects#toString(Object, String).

Returns:

true if the CharSequence ends with the suffix, case-sensitive, or both null.
org.apache.commons.lang3.StringUtils.endsWith
(final CharSequence
the CharSequence to check, may be null.
str
,
final CharSequence
the suffix to find, may be null.
suffix
)

Use Strings.CS.endsWith(CharSequence, CharSequence).

Returns:

true if the input sequence is null AND no searchStrings are provided, or the input sequence ends in any of the provided case-sensitive searchStrings.
org.apache.commons.lang3.StringUtils.endsWithAny
(final CharSequence
the CharSequence to check, may be null.
sequence
,
final CharSequence...
the case-sensitive CharSequences to find, may be empty or contain null.
searchStrings
)

Use Strings.CS.endsWithAny(CharSequence, CharSequence...).

Returns:

true if the CharSequence ends with the suffix, case-insensitive, or both null
org.apache.commons.lang3.StringUtils.endsWithIgnoreCase
(final CharSequence
the CharSequence to check, may be null
str
,
final CharSequence
the suffix to find, may be null
suffix
)

Use Strings.CI.endsWith(CharSequence, CharSequence).

Returns:

true if the CharSequences are equal (case-sensitive), or both null.
org.apache.commons.lang3.StringUtils.equals
(final CharSequence
the first CharSequence, may be null.
cs1
,
final CharSequence
the second CharSequence, may be null.
cs2
)

Use Strings.CS.equals(CharSequence, CharSequence).

Returns:

true if the string is equal (case-sensitive) to any other element of searchStrings; false if searchStrings is null or contains no matches.
org.apache.commons.lang3.StringUtils.equalsAny
(final CharSequence
to compare, may be null.
string
,
final CharSequence...
a vararg of strings, may be null.
searchStrings
)

Use Strings.CS.equalsAny(CharSequence, CharSequence...).

Returns:

true if the string is equal (case-insensitive) to any other element of searchStrings; false if searchStrings is null or contains no matches.
org.apache.commons.lang3.StringUtils.equalsAnyIgnoreCase
(final CharSequence
to compare, may be null.
string
,
final CharSequence...
a vararg of strings, may be null.
searchStrings
)

Use Strings.CI.equalsAny(CharSequence, CharSequence...).

Returns:

true if the CharSequences are equal (case-insensitive), or both null.
org.apache.commons.lang3.StringUtils.equalsIgnoreCase
(final CharSequence
the first CharSequence, may be null.
cs1
,
final CharSequence
the second CharSequence, may be null.
cs2
)

Use Strings.CI.equals(CharSequence, CharSequence).

Returns:

result score.
org.apache.commons.lang3.StringUtils.getFuzzyDistance
(final CharSequence
a full term that should be matched against, must not be null.
term
,
final CharSequence
the query that will be matched against a term, must not be null.
query
,
final Locale
This string matching logic is case-insensitive. A locale is necessary to normalize both Strings to lower case.
locale
)

As of 3.6, use Apache Commons Text FuzzyScore instead.

Returns:

result distance.
org.apache.commons.lang3.StringUtils.getJaroWinklerDistance
(final CharSequence
the first String, must not be null.
first
,
final CharSequence
the second String, must not be null.
second
)

As of 3.6, use Apache Commons Text JaroWinklerDistance instead.

Returns:

result distance.
org.apache.commons.lang3.StringUtils.getLevenshteinDistance
(CharSequence
the first String, must not be null.
s
,
CharSequence
the second String, must not be null.
t
)

As of 3.6, use Apache Commons Text LevenshteinDistance instead.

Returns:

result distance, or -1 if the distance would be greater than the threshold.
org.apache.commons.lang3.StringUtils.getLevenshteinDistance
(CharSequence
the first String, must not be null.
s
,
CharSequence
the second String, must not be null.
t
,
final int
the target threshold, must not be negative.
threshold
)

As of 3.6, use Apache Commons Text LevenshteinDistance instead.

Returns:

the first index of the search CharSequence, -1 if no match or null string input.
org.apache.commons.lang3.StringUtils.indexOf
(final CharSequence
the CharSequence to check, may be null.
seq
,
final CharSequence
the CharSequence to find, may be null.
searchSeq
)

Use Strings.CS.indexOf(CharSequence, CharSequence).

Returns:

the first index of the search CharSequence (always ≥ startPos), -1 if no match or null string input.
org.apache.commons.lang3.StringUtils.indexOf
(final CharSequence
the CharSequence to check, may be null.
seq
,
final CharSequence
the CharSequence to find, may be null.
searchSeq
,
final int
the start position, negative treated as zero.
startPos
)

Use Strings.CS.indexOf(CharSequence, CharSequence, int).

Returns:

the first index of the search CharSequence, -1 if no match or null string input.
org.apache.commons.lang3.StringUtils.indexOfIgnoreCase
(final CharSequence
the CharSequence to check, may be null.
str
,
final CharSequence
the CharSequence to find, may be null.
searchStr
)

Use Strings.CI.indexOf(CharSequence, CharSequence).

Returns:

the first index of the search CharSequence (always ≥ startPos), -1 if no match or null string input.
org.apache.commons.lang3.StringUtils.indexOfIgnoreCase
(final CharSequence
the CharSequence to check, may be null.
str
,
final CharSequence
the CharSequence to find, may be null.
searchStr
,
final int
the start position, negative treated as zero.
startPos
)

Use Strings.CI.indexOf(CharSequence, CharSequence, int).

Returns:

the last index of the search String, -1 if no match or null string input.
org.apache.commons.lang3.StringUtils.lastIndexOf
(final CharSequence
the CharSequence to check, may be null.
seq
,
final CharSequence
the CharSequence to find, may be null.
searchSeq
)

Use Strings.CS.lastIndexOf(CharSequence, CharSequence).

Returns:

the last index of the search CharSequence (always ≤ startPos), -1 if no match or null string input.
org.apache.commons.lang3.StringUtils.lastIndexOf
(final CharSequence
the CharSequence to check, may be null.
seq
,
final CharSequence
the CharSequence to find, may be null.
searchSeq
,
final int
the start position, negative treated as zero.
startPos
)

Use Strings.CS.lastIndexOf(CharSequence, CharSequence, int).

Returns:

the first index of the search CharSequence, -1 if no match or null string input.
org.apache.commons.lang3.StringUtils.lastIndexOfIgnoreCase
(final CharSequence
the CharSequence to check, may be null.
str
,
final CharSequence
the CharSequence to find, may be null.
searchStr
)

Use Strings.CI.lastIndexOf(CharSequence, CharSequence).

Returns:

the last index of the search CharSequence (always ≤ startPos), -1 if no match or null input.
org.apache.commons.lang3.StringUtils.lastIndexOfIgnoreCase
(final CharSequence
the CharSequence to check, may be null.
str
,
final CharSequence
the CharSequence to find, may be null.
searchStr
,
final int
the start position.
startPos
)

Use Strings.CI.lastIndexOf(CharSequence, CharSequence, int).

Returns:

A new String if prefix was prepended, the same string otherwise.
org.apache.commons.lang3.StringUtils.prependIfMissing
(final String
The string.
str
,
final CharSequence
The prefix to prepend to the start of the string.
prefix
,
final CharSequence...
Additional prefixes that are valid.
prefixes
)

Use Strings.CS.prependIfMissing(String, CharSequence, CharSequence...).

Returns:

A new String if prefix was prepended, the same string otherwise.
org.apache.commons.lang3.StringUtils.prependIfMissingIgnoreCase
(final String
The string.
str
,
final CharSequence
The prefix to prepend to the start of the string.
prefix
,
final CharSequence...
Additional prefixes that are valid (optional).
prefixes
)

Use Strings.CI.prependIfMissing(String, CharSequence, CharSequence...).

Returns:

the substring with the string removed if found, null if null String input.
org.apache.commons.lang3.StringUtils.remove
(final String
the source String to search, may be null.
str
,
final String
the String to search for and remove, may be null.
remove
)

Use Strings.CS.remove(String, String).

Returns:

the text with any removes processed, null if null String input.
org.apache.commons.lang3.StringUtils.removeAll
(final String
text to remove from, may be null.
text
,
final String
the regular expression to which this string is to be matched.
regex
)

Use RegExUtils#removeAll(String, String).

Returns:

the substring with the string removed if found, null if null String input.
org.apache.commons.lang3.StringUtils.removeEnd
(final String
the source String to search, may be null.
str
,
final String
the String to search for and remove, may be null.
remove
)

Use Strings.CS.removeEnd(String, CharSequence).

Returns:

the substring with the string removed if found, null if null String input.
org.apache.commons.lang3.StringUtils.removeEndIgnoreCase
(final String
the source String to search, may be null.
str
,
final String
the String to search for (case-insensitive) and remove, may be null.
remove
)

Use Strings.CI.removeEnd(String, CharSequence).

Returns:

the text with the first replacement processed, null if null String input.
org.apache.commons.lang3.StringUtils.removeFirst
(final String
text to remove from, may be null.
text
,
final String
the regular expression to which this string is to be matched.
regex
)

Use RegExUtils.replaceFirst(String, String, EMPTY).

Returns:

the substring with the string removed if found, null if null String input.
org.apache.commons.lang3.StringUtils.removeIgnoreCase
(final String
the source String to search, may be null.
str
,
final String
the String to search for (case-insensitive) and remove, may be null.
remove
)

Use Strings.CI.remove(String, String).

Returns:

The resulting String.
org.apache.commons.lang3.StringUtils.removePattern
(final String
the source string.
source
,
final String
the regular expression to which this string is to be matched.
regex
)

Use RegExUtils#removePattern(CharSequence, String).

Returns:

the substring with the string removed if found, null if null String input.
org.apache.commons.lang3.StringUtils.removeStart
(final String
the source String to search, may be null.
str
,
final String
the String to search for and remove, may be null.
remove
)

Use Strings.CS.removeStart(String, CharSequence).

Returns:

the substring with the string removed if found, null if null String input.
org.apache.commons.lang3.StringUtils.removeStartIgnoreCase
(final String
the source String to search, may be null.
str
,
final String
the String to search for (case-insensitive) and remove, may be null.
remove
)

Use Strings.CI.removeStart(String, CharSequence).

Returns:

the text with any replacements processed, null if null String input.
org.apache.commons.lang3.StringUtils.replace
(final String
text to search and replace in, may be null.
text
,
final String
the String to search for, may be null.
searchString
,
final String
the String to replace it with, may be null.
replacement
)

Use Strings.CS.replace(String, String, String).

Returns:

the text with any replacements processed, null if null String input.
org.apache.commons.lang3.StringUtils.replace
(final String
text to search and replace in, may be null.
text
,
final String
the String to search for, may be null.
searchString
,
final String
the String to replace it with, may be null.
replacement
,
final int
maximum number of values to replace, or -1 if no maximum.
max
)

Use Strings.CS.replace(String, String, String, int).

Returns:

the text with any replacements processed, null if null String input.
org.apache.commons.lang3.StringUtils.replaceAll
(final String
text to search and replace in, may be null.
text
,
final String
the regular expression to which this string is to be matched.
regex
,
final String
the string to be substituted for each match.
replacement
)

Use RegExUtils#replaceAll(String, String, String).

Returns:

the text with the first replacement processed, null if null String input.
org.apache.commons.lang3.StringUtils.replaceFirst
(final String
text to search and replace in, may be null.
text
,
final String
the regular expression to which this string is to be matched.
regex
,
final String
the string to be substituted for the first match.
replacement
)

Use RegExUtils#replaceFirst(String, String, String).

Returns:

the text with any replacements processed, null if null String input.
org.apache.commons.lang3.StringUtils.replaceIgnoreCase
(final String
text to search and replace in, may be null.
text
,
final String
the String to search for (case-insensitive), may be null.
searchString
,
final String
the String to replace it with, may be null.
replacement
)

Use Strings.CI.replace(String, String, String).

Returns:

the text with any replacements processed, null if null String input.
org.apache.commons.lang3.StringUtils.replaceIgnoreCase
(final String
text to search and replace in, may be null.
text
,
final String
the String to search for (case-insensitive), may be null.
searchString
,
final String
the String to replace it with, may be null.
replacement
,
final int
maximum number of values to replace, or -1 if no maximum.
max
)

Use Strings.CI.replace(String, String, String, int).

Returns:

the text with any replacements processed, null if null String input.
org.apache.commons.lang3.StringUtils.replaceOnce
(final String
text to search and replace in, may be null.
text
,
final String
the String to search for, may be null.
searchString
,
final String
the String to replace with, may be null.
replacement
)

Use Strings.CS.replaceOnce(String, String, String).

Returns:

the text with any replacements processed, null if null String input.
org.apache.commons.lang3.StringUtils.replaceOnceIgnoreCase
(final String
text to search and replace in, may be null.
text
,
final String
the String to search for (case-insensitive), may be null.
searchString
,
final String
the String to replace with, may be null.
replacement
)

Use Strings.CI.replaceOnce(String, String, String).

Returns:

The resulting String.
org.apache.commons.lang3.StringUtils.replacePattern
(final String
the source string.
source
,
final String
the regular expression to which this string is to be matched.
regex
,
final String
the string to be substituted for each match.
replacement
)

Use RegExUtils#replacePattern(CharSequence, String, String).

Returns:

true if the CharSequence starts with the prefix, case-sensitive, or both null.
org.apache.commons.lang3.StringUtils.startsWith
(final CharSequence
the CharSequence to check, may be null.
str
,
final CharSequence
the prefix to find, may be null.
prefix
)

Use Strings.CS.startsWith(CharSequence, CharSequence).

Returns:

true if the input sequence is null AND no searchStrings are provided, or the input sequence begins with any of the provided case-sensitive searchStrings.
org.apache.commons.lang3.StringUtils.startsWithAny
(final CharSequence
the CharSequence to check, may be null.
sequence
,
final CharSequence...
the case-sensitive CharSequence prefixes, may be empty or contain null.
searchStrings
)

Use Strings.CS.startsWithAny(CharSequence, CharSequence...).

Returns:

true if the CharSequence starts with the prefix, case-insensitive, or both null.
org.apache.commons.lang3.StringUtils.startsWithIgnoreCase
(final CharSequence
the CharSequence to check, may be null.
str
,
final CharSequence
the prefix to find, may be null.
prefix
)

Use Strings.CI.startsWith(CharSequence, CharSequence).

Returns:

a new String.
org.apache.commons.lang3.StringUtils.toString
(final byte[]
the byte array to read from.
bytes
,
final String
the encoding to use, if null then use the platform default.
charsetName
)

Use StringUtils#toEncodedString(byte[], Charset) instead of String constants in your code.

org.apache.commons.lang3.SystemProperties()

TODO Make private in 4.0.

Returns:

The system property value or null if the property is absent or a security problem occurs.
org.apache.commons.lang3.SystemProperties.getAwtToolkit
()

Deprecated without replacement.

Returns:

The system property value or null if the property is absent or a security problem occurs.
org.apache.commons.lang3.SystemProperties.getJavaAwtFonts
()

Deprecated without replacement.

Returns:

The system property value or null if the property is absent or a security problem occurs.
org.apache.commons.lang3.SystemProperties.getJavaAwtGraphicsenv
()

Deprecated without replacement.

Returns:

The system property value or null if the property is absent or a security problem occurs.
org.apache.commons.lang3.SystemProperties.getJavaAwtHeadless
()

Deprecated without replacement.

Returns:

The system property value or null if the property is absent or a security problem occurs.
org.apache.commons.lang3.SystemProperties.getJavaAwtPrinterjob
()

Deprecated without replacement.

Returns:

The system property value or null if the property is absent or a security problem occurs.
org.apache.commons.lang3.SystemProperties.getJavaCompiler
()

Deprecated without replacement.

Returns:

The system property value or null if the property is absent or a security problem occurs.
org.apache.commons.lang3.SystemProperties.getJavaEndorsedDirs
()

Deprecated without replacement.

Returns:

The system property value or null if the property is absent or a security problem occurs.
org.apache.commons.lang3.SystemProperties.getJavaExtDirs
()

Deprecated without replacement.

org.apache.commons.lang3.SystemUtils.AWT_TOOLKIT

Deprecated without replacement.

org.apache.commons.lang3.SystemUtils.FILE_SEPARATOR

Use File#separator, since it is guaranteed to be a string containing a single character and it does not require a privilege check.

org.apache.commons.lang3.SystemUtils.JAVA_COMPILER

Deprecated without replacement; see https://bugs.openjdk.org/browse/JDK-8305998

org.apache.commons.lang3.SystemUtils.LINE_SEPARATOR

Use System#lineSeparator() instead, since it does not require a privilege check.

org.apache.commons.lang3.SystemUtils.PATH_SEPARATOR

Use File#pathSeparator, since it is guaranteed to be a string containing a single character and it does not require a privilege check.

Returns:

true if JAVA_AWT_HEADLESS is "true", false otherwise.
org.apache.commons.lang3.SystemUtils.isJavaAwtHeadless
()

Deprecated without replacement.

org.apache.commons.lang3.ThreadUtils()

TODO Make private in 4.0.

Returns:

An unmodifiable Collection of active thread groups which match the given predicate and which is a subgroup of the given thread group.
org.apache.commons.lang3.ThreadUtils.findThreadGroups
(final ThreadGroup
the thread group.
threadGroup
,
final boolean
if true then evaluate the predicate recursively on all thread groups in all subgroups of the given group.
recurse
,
final ThreadUtils.ThreadGroupPredicate
the predicate.
predicate
)

Use findThreadGroups(ThreadGroup, boolean, Predicate).

Returns:

An unmodifiable Collection of active thread groups matching the given predicate.
org.apache.commons.lang3.ThreadUtils.findThreadGroups
(final ThreadUtils.ThreadGroupPredicate
the predicate.
predicate
)

Use findThreadGroups(Predicate).

Returns:

An unmodifiable Collection of active threads which match the given predicate and which belongs to the given thread group.
org.apache.commons.lang3.ThreadUtils.findThreads
(final ThreadGroup
the thread group.
threadGroup
,
final boolean
if true then evaluate the predicate recursively on all threads in all subgroups of the given group.
recurse
,
final ThreadUtils.ThreadPredicate
the predicate.
predicate
)

Use findThreads(ThreadGroup, boolean, Predicate).

Returns:

An unmodifiable Collection of active threads matching the given predicate.
org.apache.commons.lang3.ThreadUtils.findThreads
(final ThreadUtils.ThreadPredicate
the predicate.
predicate
)

Use findThreads(Predicate).

Returns:

the validated object (never null for method chaining).
org.apache.commons.lang3.Validate.notNull
(final T
the object to check.
object
)

Use Objects#requireNonNull(Object).

Returns:

the field type.
org.apache.commons.lang3.builder.Diff.getType
()

Unused, will be removed in 4.0.0.

org.apache.commons.lang3.builder.DiffBuilder(final T
this object.
left
,
final T
the object to diff against.
right
,
final ToStringStyle
the style to use when outputting the objects, null uses the default.
style
)

Use Builder.

org.apache.commons.lang3.builder.DiffBuilder(final T
this object.
left
,
final T
the object to diff against.
right
,
final ToStringStyle
the style to use when outputting the objects, null uses the default.
style
,
final boolean
If true, this will test if lhs and rhs are the same or equal. All of the append(fieldName, lhs, rhs) methods will abort without creating a field Diff if the trivially equal test is enabled and returns true. The result of this test is never changed throughout the life of this DiffBuilder.
testObjectsEquals
)

Use Builder.

org.apache.commons.lang3.builder.ReflectionDiffBuilder(final T
this object.
left
,
final T
the object to diff against.
right
,
final ToStringStyle
the style will use when outputting the objects, null uses the default
style
)

Use Builder.

Returns:

this instance.
org.apache.commons.lang3.builder.ReflectionDiffBuilder.setExcludeFieldNames
(final String...
The field names to exclude from the diff or null.
excludeFieldNames
)

Use Builder#setExcludeFieldNames(String[]).

org.apache.commons.lang3.concurrent.TimedSemaphore(final long
the time period.
timePeriod
,
final TimeUnit
the unit for the period.
timeUnit
,
final int
the limit for the semaphore.
limit
)

Use builder() and Builder.

org.apache.commons.lang3.concurrent.TimedSemaphore(final ScheduledExecutorService
the executor service.
service
,
final long
the time period.
timePeriod
,
final TimeUnit
the unit for the period.
timeUnit
,
final int
the limit for the semaphore.
limit
)

Use builder() and Builder.

org.apache.commons.lang3.event.EventUtils()

TODO Make private in 4.0.

Returns:

the cause of the Throwable, null if none found or null throwable input.
org.apache.commons.lang3.exception.ExceptionUtils.getCause
(final Throwable
the throwable to introspect for a cause, may be null.
throwable
)

This feature will be removed in Lang 4, use Throwable#getCause instead.

Returns:

the cause of the Throwable, null if none found or null throwable input.
org.apache.commons.lang3.exception.ExceptionUtils.getCause
(final Throwable
the throwable to introspect for a cause, may be null.
throwable
,
String[]
the method names, null treated as default set.
methodNames
)

This feature will be removed in Lang 4, use Throwable#getCause instead.

Returns:

cloned array of the default method names.
org.apache.commons.lang3.exception.ExceptionUtils.getDefaultCauseMethodNames
()

This feature will be removed in Lang 4.

Returns:

the given throwable.
org.apache.commons.lang3.exception.ExceptionUtils.throwUnchecked
(final T
the throwable to test and throw or return.
throwable
)

Use throwUnchecked(Throwable).

org.apache.commons.lang3.math.NumberUtils()

TODO Make private in 4.0.

Returns:

the value 0 if x == y; a value less than 0 if x < y; and a value greater than 0 if x > y.
org.apache.commons.lang3.math.NumberUtils.compare
(final byte
the first byte to compare.
x
,
final byte
the second byte to compare.
y
)

Use Byte#compare(byte, byte).

Returns:

the value 0 if x == y; a value less than 0 if x < y; and a value greater than 0 if x > y.
org.apache.commons.lang3.math.NumberUtils.compare
(final int
the first int to compare.
x
,
final int
the second int to compare.
y
)

Use Integer#compare(int, int).

Returns:

the value 0 if x == y; a value less than 0 if x < y; and a value greater than 0 if x > y.
org.apache.commons.lang3.math.NumberUtils.compare
(final long
the first long to compare.
x
,
final long
the second long to compare.
y
)

Use Long#compare(long, long).

Returns:

the value 0 if x == y; a value less than 0 if x < y; and a value greater than 0 if x > y.
org.apache.commons.lang3.math.NumberUtils.compare
(final short
the first short to compare.
x
,
final short
the second short to compare.
y
)

Use Short#compare(short, short).

Returns:

true if the string is a correctly formatted number.
org.apache.commons.lang3.math.NumberUtils.isNumber
(final String
the String to check.
str
)

This feature will be removed in Lang 4, use NumberUtils#isCreatable(String) instead.

Returns:

the value as a Boolean, never null.
org.apache.commons.lang3.mutable.MutableBoolean.getValue
()

Use get().

Returns:

the value as a Byte, never null.
org.apache.commons.lang3.mutable.MutableByte.getValue
()

Use get().

Returns:

the value as a Double, never null.
org.apache.commons.lang3.mutable.MutableDouble.getValue
()

Use get().

Returns:

the value as a Float, never null.
org.apache.commons.lang3.mutable.MutableFloat.getValue
()

Use get().

Returns:

the value as a Integer, never null.
org.apache.commons.lang3.mutable.MutableInt.getValue
()

Use get().

Returns:

the value as a Long, never null.
org.apache.commons.lang3.mutable.MutableLong.getValue
()

Use get().

Returns:

the value, may be null.
org.apache.commons.lang3.mutable.MutableObject.getValue
()

Use get().

Returns:

the value as a Short, never null.
org.apache.commons.lang3.mutable.MutableShort.getValue
()

Use get().

org.apache.commons.lang3.reflect.FieldUtils.removeFinalModifier(final Field
to remove the final modifier.
field
,
final boolean
whether to break scope restrictions using the AccessibleObject#setAccessible(boolean) method. false will only match public fields.
forceAccess
)

As of Java 12, we can no longer drop the final modifier, thus rendering this method obsolete. The JDK discussion about this change can be found here: https://mail.openjdk.java.net/pipermail/core-libs-dev/2018-November/056486.html

org.apache.commons.lang3.reflect.TypeUtils()

TODO Make private in 4.0.

org.apache.commons.lang3.stream.IntStreams()

TODO Make private in 4.0.

org.apache.commons.lang3.stream.Streams()

Will be private in 4.0.0.

Returns:

The FailableStream, which has been created by converting the stream.
org.apache.commons.lang3.stream.Streams.stream
(final Collection<E>
The stream, which is being converted.
collection
)

Use failableStream(Collection).

Returns:

The FailableStream, which has been created by converting the stream.
org.apache.commons.lang3.stream.Streams.stream
(final Stream<T>
The stream, which is being converted.
stream
)

Use failableStream(Stream).

org.apache.commons.lang3.text.StrLookup<
Unused.
V
>

As of 3.6, use Apache Commons Text StringLookupFactory.

org.apache.commons.lang3.time.DateFormatUtils.ISO_DATETIME_FORMAT

- as of 4.0, ISO_DATETIME_FORMAT will be replaced by ISO_8601_EXTENDED_DATETIME_FORMAT.

org.apache.commons.lang3.time.DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT

- as of 4.0, ISO_DATETIME_TIME_ZONE_FORMAT will be replaced by ISO_8601_EXTENDED_DATETIME_TIME_ZONE_FORMAT.

org.apache.commons.lang3.time.DateFormatUtils.ISO_DATE_FORMAT

- as of 4.0, ISO_DATE_FORMAT will be replaced by ISO_8601_EXTENDED_DATE_FORMAT.

org.apache.commons.lang3.time.DateFormatUtils.ISO_DATE_TIME_ZONE_FORMAT

- as of 4.0, ISO_DATE_TIME_ZONE_FORMAT will be removed.

org.apache.commons.lang3.time.DateFormatUtils.ISO_TIME_FORMAT

- as of 4.0, ISO_TIME_FORMAT will be removed.

org.apache.commons.lang3.time.DateFormatUtils.ISO_TIME_NO_T_FORMAT

- as of 4.0, ISO_TIME_NO_T_FORMAT will be replaced by ISO_8601_EXTENDED_TIME_FORMAT.

org.apache.commons.lang3.time.DateFormatUtils.ISO_TIME_NO_T_TIME_ZONE_FORMAT

- as of 4.0, ISO_TIME_NO_T_TIME_ZONE_FORMAT will be replaced by ISO_8601_EXTENDED_TIME_TIME_ZONE_FORMAT.

org.apache.commons.lang3.time.DateFormatUtils.ISO_TIME_TIME_ZONE_FORMAT

- as of 4.0, ISO_TIME_TIME_ZONE_FORMAT will be removed.

Returns:

the specified string buffer.
org.apache.commons.lang3.time.DatePrinter.format
(Calendar
the calendar to format.
calendar
,
StringBuffer
the buffer to format into.
buf
)

Use {format(Calendar, Appendable).

Returns:

the specified string buffer.
org.apache.commons.lang3.time.DatePrinter.format
(Date
the date to format.
date
,
StringBuffer
the buffer to format into.
buf
)

Use {format(Date, Appendable).

Returns:

the specified string buffer.
org.apache.commons.lang3.time.DatePrinter.format
(long
the millisecond value to format.
millis
,
StringBuffer
the buffer to format into.
buf
)

Use {format(long, Appendable).

org.apache.commons.lang3.time.DateUtils()

TODO Make private in 4.0.

Returns:

nanoseconds between 0 and 999,999.
org.apache.commons.lang3.time.DurationUtils.getNanosOfMiili
(final Duration
The duration to query.
duration
)

Use getNanosOfMilli(Duration).

Returns:

the specified string buffer.
org.apache.commons.lang3.time.FastDateFormat.applyRules
(final Calendar
the calendar to format.
calendar
,
final StringBuffer
the buffer to format into.
buf
)

Use format(Calendar, Appendable)

Returns:

the specified string buffer.
org.apache.commons.lang3.time.FastDateFormat.format
(final Calendar
the calendar to format.
calendar
,
final StringBuffer
the buffer to format into.
buf
)

Use {format(Calendar, Appendable).

Returns:

the specified string buffer.
org.apache.commons.lang3.time.FastDateFormat.format
(final Date
the date to format.
date
,
final StringBuffer
the buffer to format into.
buf
)

Use {format(Date, Appendable).

Returns:

the specified string buffer.
org.apache.commons.lang3.time.FastDateFormat.format
(final long
the millisecond value to format.
millis
,
final StringBuffer
the buffer to format into.
buf
)

Use {format(long, Appendable).

Returns:

the specified string buffer.
org.apache.commons.lang3.time.FastDatePrinter.applyRules
(final Calendar
the calendar to format.
calendar
,
final StringBuffer
the buffer to format into.
buf
)

Use format(Calendar) or format(Calendar, Appendable)

Returns:

the buffer passed in.
org.apache.commons.lang3.time.FastDatePrinter.format
(final Object
the object to format.
obj
,
final StringBuffer
the buffer to append to.
toAppendTo
,
final FieldPosition
the position; ignored.
pos
)

Use {format(Date), {format(Calendar), {format(long).

Returns:

the split time in milliseconds.
org.apache.commons.lang3.time.StopWatch.getSplitTime
()

Use getSplitDuration().

Returns:

the time this StopWatch was started in milliseconds, between the current time and midnight, January 1, 1970 UTC.
org.apache.commons.lang3.time.StopWatch.getStartTime
()

Use getStartInstant().

Returns:

the time this StopWatch was stopped in milliseconds, between the current time and midnight, January 1, 1970 UTC.
org.apache.commons.lang3.time.StopWatch.getStopTime
()

Use getStopInstant().