MCPcopy Create free account

hub / github.com/apache/commons-lang / functions

Functions9,093 in github.com/apache/commons-lang

↓ 10 callersMethodgetFragment
Gets a Calendar fragment for any unit. @param calendar the calendar to work with, not null. @param fragment the Calendar field part of calendar to ca
src/main/java/org/apache/commons/lang3/time/DateUtils.java:413
↓ 10 callersMethodgetGenericComponentType
{@inheritDoc}
src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java:77
↓ 10 callersMethodgetIfBlank
Returns either the passed in CharSequence, or if the CharSequence is {@link #isBlank(CharSequence) blank} (whitespaces, empty ({@code ""}), or {@code
src/main/java/org/apache/commons/lang3/StringUtils.java:2193
↓ 10 callersMethodgetIfEmpty
Returns either the passed in CharSequence, or if the CharSequence is empty or {@code null}, the value supplied by {@code defaultStrSupplier}. <p> Cal
src/main/java/org/apache/commons/lang3/StringUtils.java:2222
↓ 10 callersMethodgetNanosOfMiili
Gets the nanosecond part of a Duration converted to milliseconds. <p> Handy when calling an API that takes a long of milliseconds and an int of nanose
src/main/java/org/apache/commons/lang3/time/DurationUtils.java:108
↓ 10 callersMethodgetOffset
(final int era, final int year, final int month, final int day, final int dayOfWeek, final int milliseconds)
src/main/java/org/apache/commons/lang3/time/GmtTimeZone.java:79
↓ 10 callersMethodgetThrowableList
Gets the list of {@link Throwable} objects in the exception chain. <p>A throwable without cause will return a list containing one element - the input
src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java:514
↓ 10 callersMethodhashCode
()
src/test/java/org/apache/commons/lang3/builder/HashCodeBuilderTest.java:92
↓ 10 callersMethodhashCode
Returns the value's hash code or {@code 0} if the value is {@code null}. @return the value's hash code or {@code 0} if the value is {@code null}.
src/main/java/org/apache/commons/lang3/mutable/MutableObject.java:103
↓ 10 callersMethodhexToInt
Converts an array of char into an int using the default (little-endian, LSB0) byte and bit ordering. @param src the hexadecimal string to convert
src/main/java/org/apache/commons/lang3/Conversion.java:776
↓ 10 callersMethodhexToLong
Converts an array of char into a long using the default (little-endian, LSB0) byte and bit ordering. @param src the hexadecimal string to convert
src/main/java/org/apache/commons/lang3/Conversion.java:804
↓ 10 callersMethodhexToShort
Converts an array of char into a short using the default (little-endian, LSB0) byte and bit ordering. @param src the hexadecimal string to conver
src/main/java/org/apache/commons/lang3/Conversion.java:832
↓ 10 callersMethodincrement
(final Map<K, MutableInt> occurrences, final K boxed)
src/main/java/org/apache/commons/lang3/ArrayUtils.java:2199
↓ 10 callersMethodinvoke
Handles a method invocation on the proxy object. @param proxy the proxy instance. @param method the method to be invoked. @param parameters the param
src/main/java/org/apache/commons/lang3/event/EventUtils.java:75
↓ 10 callersMethodinvokeExactStaticMethod
Invokes a {@code static} method whose parameter types match exactly the object types. <p> This uses reflection to invoke the method obtained from a c
src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java:710
↓ 10 callersMethodis
Creates a range using the specified element as both the minimum and maximum in this range. <p>The range uses the natural ordering of the elements to
src/main/java/org/apache/commons/lang3/Range.java:129
↓ 10 callersMethodisAnyBlank
Tests if any of the CharSequences are {@link #isBlank(CharSequence) blank} (whitespaces, empty ({@code ""}), or {@code null}). <p> Whitespace is defi
src/main/java/org/apache/commons/lang3/StringUtils.java:3459
↓ 10 callersMethodisAsciiControl
Tests whether the character is ASCII 7 bit control. <pre> CharUtils.isAsciiControl('a') = false CharUtils.isAsciiControl('A') = false CharUti
src/main/java/org/apache/commons/lang3/CharUtils.java:187
↓ 10 callersMethodisNoneEmpty
Tests if none of the CharSequences are empty ("") or null. <pre> StringUtils.isNoneEmpty((String) null) = false StringUtils.isNoneEmpty((String[])
src/main/java/org/apache/commons/lang3/StringUtils.java:3686
↓ 10 callersMethodisNotBlank
Tests if a CharSequence is not {@link #isBlank(CharSequence) blank} (whitespaces, empty ({@code ""}), or {@code null}). <p> Whitespace is defined by
src/main/java/org/apache/commons/lang3/StringUtils.java:3711
↓ 10 callersMethodisSupported
Tests whether the named charset is supported. <p>This is similar to <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html#
src/main/java/org/apache/commons/lang3/CharEncoding.java:99
↓ 10 callersMethodleft
Gets the leftmost {@code len} characters of a String. <p> If {@code len} characters are not available, or the String is {@code null}, the String will
src/main/java/org/apache/commons/lang3/StringUtils.java:5137
↓ 10 callersMethodmax
Returns the greater of two {@link Comparable} values, ignoring null. <p> For three or more values, use {@link ObjectUtils#max(Comparable...)}. </p> @
src/main/java/org/apache/commons/lang3/compare/ComparableUtils.java:222
↓ 10 callersMethodmax
Returns the maximum value in an array. @param array an array, must not be null or empty. @return the maximum value in the array. @throws NullPointer
src/main/java/org/apache/commons/lang3/math/IEEE754rUtils.java:41
↓ 10 callersMethodmin
Returns the lesser of two {@link Comparable} values, ignoring null. <p> For three or more values, use {@link ObjectUtils#min(Comparable...)}. </p> @p
src/main/java/org/apache/commons/lang3/compare/ComparableUtils.java:239
↓ 10 callersMethodnewRecursive
()
src/test/java/org/apache/commons/lang3/builder/EqualsBuilderReflectJreImplementationTest.java:262
↓ 10 callersMethodnext
Convenience method to advance parse position by 1 @param pos ParsePosition @return {@code pos}
src/main/java/org/apache/commons/lang3/text/ExtendedMessageFormat.java:368
↓ 10 callersMethodnextInt
(final int n)
src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java:81
↓ 10 callersMethodnextLong
Generates a random long between 0 (inclusive) and {@link Long#MAX_VALUE} ({@value Long#MAX_VALUE} exclusive). @return the random long. @see #nextLong
src/main/java/org/apache/commons/lang3/RandomUtils.java:220
↓ 10 callersMethodnonNull
Streams the non-null elements of a collection. @param <E> The type of elements in the collection. @param collection the collection to stream or null.
src/main/java/org/apache/commons/lang3/stream/Streams.java:626
↓ 10 callersMethodnullTriple
Gets the immutable triple of nulls singleton. @param <L> The left element of this triple. Value is {@code null}. @param <M> The middle element of thi
src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java:80
↓ 10 callersMethodof
(final Constructor<?> constructor)
src/main/java/org/apache/commons/lang3/reflect/MemberUtils.java:40
↓ 10 callersMethodof
Runs the lambda and returns the duration of its execution. @param <E> The type of exception throw by the lambda. @param consumer What to execute. @re
src/main/java/org/apache/commons/lang3/time/DurationUtils.java:169
↓ 10 callersMethodon
Maps the given instances as unchecked. @param <T> The result type returned by the Futures' {@link #get()} and {@link #get(long, TimeUnit)} methods. @
src/main/java/org/apache/commons/lang3/concurrent/UncheckedFuture.java:58
↓ 10 callersMethodreflectionAppend
Tests if two {@code objects} by using reflection. <p>It uses {@code AccessibleObject.setAccessible} to gain access to private fields. This means that
src/main/java/org/apache/commons/lang3/builder/EqualsBuilder.java:942
↓ 10 callersMethodremoveAll
Removes each substring of the text String that matches the given regular expression. This method is a {@code null} safe equivalent to: <ul> <li>{@cod
src/main/java/org/apache/commons/lang3/StringUtils.java:5835
↓ 10 callersMethodremovePattern
Removes each substring of the source String that matches the given regular expression using the DOTALL option. This call is a {@code null} safe equiv
src/main/java/org/apache/commons/lang3/StringUtils.java:6007
↓ 10 callersMethodrethrow
Rethrows a {@link Throwable} as an unchecked exception. If the argument is already unchecked, namely a {@link RuntimeException} or {@link Error} then
src/main/java/org/apache/commons/lang3/function/Failable.java:516
↓ 10 callersMethodright
Gets the rightmost {@code len} characters of a String. <p> If {@code len} characters are not available, or the String is {@code null}, the String wil
src/main/java/org/apache/commons/lang3/StringUtils.java:6931
↓ 10 callersMethodroundToJanuaryFirst
Any January 1 could be considered as the ultimate extreme. Instead of comparing the results if the input has a difference of 1 millisecond we check th
src/test/java/org/apache/commons/lang3/time/DateUtilsRoundingTest.java:174
↓ 10 callersMethodsetInclusive
Sets the bits from the specified {@code fromIndex} (inclusive) to the specified {@code toIndex} (inclusive) to {@code true}. @param fromIndex index o
src/main/java/org/apache/commons/lang3/util/FluentBitSet.java:519
↓ 10 callersMethodsetQuoteMatcher
Sets the quote matcher to use. <p> The quote character is used to wrap data between the tokens. This enables delimiters to be entered as data. </p> @
src/main/java/org/apache/commons/lang3/text/StrTokenizer.java:1026
↓ 10 callersMethodsetValue
Sets the value of this mutable. @param value the value to store. @throws NullPointerException if the object is null and null is invalid. @throws Clas
src/main/java/org/apache/commons/lang3/mutable/Mutable.java:65
↓ 10 callersMethodsplitByWholeSeparator
Splits the provided text into an array, separator string specified. <p> The separator(s) will not be included in the returned String array. Adjacent
src/main/java/org/apache/commons/lang3/StringUtils.java:7339
↓ 10 callersMethodsubSequence
Returns a new {@link CharSequence} that is a subsequence of this sequence starting with the {@code char} value at the specified index. <p>This provid
src/main/java/org/apache/commons/lang3/CharSequenceUtils.java:394
↓ 10 callersMethodtoByte
Converts a {@link String} to a {@code byte}, returning {@code zero} if the conversion fails. <p> If the string is {@code null}, {@code zero} is retur
src/main/java/org/apache/commons/lang3/math/NumberUtils.java:1233
↓ 10 callersMethodtoDuration
Converts an amount and TimeUnit into a Duration. @param amount the amount of the duration, measured in terms of the unit, positive or negative @par
src/main/java/org/apache/commons/lang3/time/DurationUtils.java:233
↓ 10 callersMethodtoInteger
Converts a boolean to an int using the convention that {@code true} is {@code 1} and {@code false} is {@code 0}. <pre> BooleanUtils.toInteger(true)
src/main/java/org/apache/commons/lang3/BooleanUtils.java:890
↓ 10 callersMethodtoShort
Converts a {@link String} to a {@code short}, returning {@code zero} if the conversion fails. <p> If the string is {@code null}, {@code zero} is retu
src/main/java/org/apache/commons/lang3/math/NumberUtils.java:1641
↓ 10 callersMethodtoString
()
src/test/java/org/apache/commons/lang3/ObjectUtilsTest.java:117
↓ 10 callersMethodtrim
Trims the builder by removing characters less than or equal to a space from the beginning and end. @return {@code this} instance.
src/main/java/org/apache/commons/lang3/text/StrBuilder.java:3031
↓ 10 callersMethodwithUpperBounds
Specify upper bounds of the wildcard type to build. @param bounds to set. @return {@code this} instance.
src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java:218
↓ 10 callersMethodwrapperToPrimitive
Converts the specified wrapper class to its corresponding primitive class. <p> This method is the counter part of {@code primitiveToWrapper()}. If th
src/main/java/org/apache/commons/lang3/ClassUtils.java:1731
↓ 10 callersMethodwrite
(final int arg0)
src/test/java/org/apache/commons/lang3/SerializationUtilsTest.java:352
↓ 9 callersMethodaddProcessors
Adds the given {@link Processor} with the given keys to the map. @param keys The keys. @param processor The {@link Processor} to add. @throws Il
src/main/java/org/apache/commons/lang3/ArchUtils.java:63
↓ 9 callersMethodappend
Tests if two {@code boolean}s are equal. @param fieldName the field name. @param lhs the left-hand side {@code boolean}. @param rhs the r
src/main/java/org/apache/commons/lang3/builder/DiffBuilder.java:290
↓ 9 callersMethodappendDigits
Appends two digits to the given buffer. @param buffer the buffer to append to. @param value the value to append digits from. @throws IOException If a
src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java:922
↓ 9 callersMethodappendTo
Appends the value of the specified calendar to the output buffer based on the rule implementation. @param buf the output buffer. @param calendar cale
src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java:319
↓ 9 callersMethodapplyAsBoolean
Applies this function to the given arguments. @param t the first function argument. @param u the second function argument. @return the function resul
src/main/java/org/apache/commons/lang3/function/ToBooleanBiFunction.java:41
↓ 9 callersMethodassertUnescapeJava
(final String unescaped, final String original)
src/test/java/org/apache/commons/lang3/StringEscapeUtilsTest.java:75
↓ 9 callersMethodbetween
Creates a predicate to test if {@code [b <= a <= c]} or {@code [b >= a >= c]} where the {@code a} is the tested object. @param b the object to compar
src/main/java/org/apache/commons/lang3/compare/ComparableUtils.java:136
↓ 9 callersMethodcheckCsvUnescapeWriter
(final String expected, final String value)
src/test/java/org/apache/commons/lang3/StringEscapeUtilsTest.java:97
↓ 9 callersMethodcopyArrayGrow1
Returns a copy of the given array of size 1 greater than the argument. The last value of the array is left to the default value. @param array The arr
src/main/java/org/apache/commons/lang3/ArrayUtils.java:2089
↓ 9 callersMethoddiff
(final TypeTestClass obj)
src/test/java/org/apache/commons/lang3/builder/ReflectionDiffBuilderTest.java:189
↓ 9 callersMethoddivideBy
Divide the value of this fraction by another. @param fraction the fraction to divide by, must not be {@code null} @return a {@link Fraction} instanc
src/main/java/org/apache/commons/lang3/math/Fraction.java:597
↓ 9 callersMethodfindThreads
Finds all active threads which match the given predicate. @param predicate the predicate. @return An unmodifiable {@link Collection} of active thread
src/main/java/org/apache/commons/lang3/ThreadUtils.java:328
↓ 9 callersMethodfirstNonNull
Returns the first value in the array which is not {@code null}. If all the values are {@code null} or the array is {@code null} or empty then {@code n
src/main/java/org/apache/commons/lang3/ObjectUtils.java:590
↓ 9 callersMethodformat
Formats a {@link Calendar} object. @param calendar the calendar to format. @return the formatted string.
src/main/java/org/apache/commons/lang3/time/FastDateFormat.java:405
↓ 9 callersMethodgetClassPrefix
(final Object object)
src/test/java/org/apache/commons/lang3/builder/MultilineRecursiveToStringStyleTest.java:167
↓ 9 callersMethodgetContextEntries
Gets the full list of label-value pairs defined in the contextual data. @return the list of pairs, not {@code null}
src/main/java/org/apache/commons/lang3/exception/ExceptionContext.java:56
↓ 9 callersMethodgetDateInstance
Gets a date formatter instance using the specified style in the default time zone and locale. @param style date style: {@link #FULL}, {@link #LONG},
src/main/java/org/apache/commons/lang3/time/FastDateFormat.java:131
↓ 9 callersMethodgetImplicitUpperBounds
Gets an array containing the sole value of {@link Object} if {@link WildcardType#getUpperBounds()} returns an empty array. Otherwise, it returns the r
src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java:678
↓ 9 callersMethodgetShortValue
Gets the value for the specified BitField, appropriately shifted right, as a short. <p> Many users of a BitField will want to treat the specified bits
src/main/java/org/apache/commons/lang3/BitField.java:183
↓ 9 callersMethodgetThrowables
Gets the list of {@link Throwable} objects in the exception chain. <p>A throwable without cause will return an array containing one element - the inp
src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java:542
↓ 9 callersMethodgreaterThan
Tests if the object passed to {@link #is} is greater than {@code b} @param b the object to compare to the base object @return true if the value retur
src/main/java/org/apache/commons/lang3/compare/ComparableUtils.java:93
↓ 9 callersMethodhasPrevious
Checks whether there are any previous tokens that can be iterated to. @return true if there are previous tokens.
src/main/java/org/apache/commons/lang3/text/StrTokenizer.java:583
↓ 9 callersMethodidentityHashCodeHex
Returns the hexadecimal hash code for the given object per {@link System#identityHashCode(Object)}. <p> Short hand for {@code Integer.toHexString(Syst
src/main/java/org/apache/commons/lang3/ObjectUtils.java:773
↓ 9 callersMethodinvokeExactConstructor
Returns a new instance of the specified class inferring the right constructor from the types of the arguments. <p> This locates and calls a construct
src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java:258
↓ 9 callersMethodisArrayEmpty
Checks if an array is empty or {@code null}. @param array the array to test. @return {@code true} if the array is empty or {@code null}.
src/main/java/org/apache/commons/lang3/ArrayUtils.java:3496
↓ 9 callersMethodisAsciiAlphaLower
Tests whether the character is ASCII 7 bit alphabetic lower case. <pre> CharUtils.isAsciiAlphaLower('a') = true CharUtils.isAsciiAlphaLower('A')
src/main/java/org/apache/commons/lang3/CharUtils.java:130
↓ 9 callersMethodisAsciiAlphaUpper
Tests whether the character is ASCII 7 bit alphabetic upper case. <pre> CharUtils.isAsciiAlphaUpper('a') = false CharUtils.isAsciiAlphaUpper('A'
src/main/java/org/apache/commons/lang3/CharUtils.java:168
↓ 9 callersMethodisAsciiPrintable
Tests whether the character is ASCII 7 bit printable. <pre> CharUtils.isAsciiPrintable('a') = true CharUtils.isAsciiPrintable('A') = true Cha
src/main/java/org/apache/commons/lang3/CharUtils.java:245
↓ 9 callersMethodisInfinite
Checks whether the float value is infinite. @return true if infinite
src/main/java/org/apache/commons/lang3/mutable/MutableFloat.java:333
↓ 9 callersMethodisNegated
Is this {@link CharRange} negated. <p>A negated range includes everything except that defined by the start and end characters.</p> @return {@code tr
src/main/java/org/apache/commons/lang3/CharRange.java:332
↓ 9 callersMethodlessThan
Tests if the object passed to {@link #is} is less than {@code b} @param b the object to compare to the base object @return true if the value returned
src/main/java/org/apache/commons/lang3/compare/ComparableUtils.java:113
↓ 9 callersMethodnanoTime
Returns the current time in nanoseconds. This method is used to obtain the current time. This is needed to calculate the check intervals correctly. @
src/main/java/org/apache/commons/lang3/concurrent/EventCountCircuitBreaker.java:493
↓ 9 callersMethodnextDouble
Generates a random double between 0 (inclusive) and {@link Double#MAX_VALUE} ({@value Double#MAX_VALUE} exclusive). @return the random double. @see #
src/main/java/org/apache/commons/lang3/RandomUtils.java:139
↓ 9 callersMethodnextIndex
Gets the index of the next token to return. @return the next token index.
src/main/java/org/apache/commons/lang3/text/StrTokenizer.java:648
↓ 9 callersMethodor
Performs a logical <strong>OR</strong> of this bit set with the bit set argument. This bit set is modified so that a bit in it has the value {@code tr
src/main/java/org/apache/commons/lang3/util/FluentBitSet.java:358
↓ 9 callersMethodrandom
Gets the current thread's {@link ThreadLocalRandom} for {@code shuffle} methods that don't take a {@link Random} argument. @return the current Thread
src/main/java/org/apache/commons/lang3/ArrayUtils.java:5011
↓ 9 callersMethodrandomLong
Generates a random long between 0 (inclusive) and {@link Long#MAX_VALUE} ({@value Long#MAX_VALUE}, exclusive). @return the random long. @see #randomL
src/main/java/org/apache/commons/lang3/RandomUtils.java:416
↓ 9 callersMethodreduce
Reduce the fraction to the smallest values for the numerator and denominator, returning the result. <p> For example, if this fraction represents 2/4,
src/main/java/org/apache/commons/lang3/math/Fraction.java:849
↓ 9 callersMethodsetA
(final int a)
src/test/java/org/apache/commons/lang3/builder/EqualsBuilderTest.java:171
↓ 9 callersMethodsetDelimiterChar
Sets the field delimiter character. @param delim the delimiter character to use. @return {@code this} instance.
src/main/java/org/apache/commons/lang3/text/StrTokenizer.java:916
↓ 9 callersMethodsetDelimiterMatcher
Sets the field delimiter matcher. <p> The delimiter is used to separate one token from another. </p> @param delim the delimiter matcher to use. @ret
src/main/java/org/apache/commons/lang3/text/StrTokenizer.java:929
↓ 9 callersMethodsetIncludeFieldNames
Sets the field names to include. {@code null} or empty means all fields are included. All fields are included by default. This method will override th
src/main/java/org/apache/commons/lang3/builder/ReflectionToStringBuilder.java:807
↓ 9 callersMethodsetQuoteChar
Sets the quote character to use. <p> The quote character is used to wrap data between the tokens. This enables delimiters to be entered as data. </p>
src/main/java/org/apache/commons/lang3/text/StrTokenizer.java:1012
↓ 9 callersMethodsetRight
Sets the right element of the pair. @param right the new value of the right element, may be null.
src/main/java/org/apache/commons/lang3/tuple/MutablePair.java:175
↓ 9 callersMethodsetValueDelimiterMatcher
Sets the variable default value delimiter matcher to use. <p> The variable default value delimiter is the character or characters that delimit the var
src/main/java/org/apache/commons/lang3/text/StrSubstitutor.java:974
↓ 9 callersMethodstop
Stops this StopWatch. <p> This method ends a new timing session, allowing the time to be retrieved. </p> @throws IllegalStateException if this StopW
src/main/java/org/apache/commons/lang3/time/StopWatch.java:760
← previousnext →801–900 of 9,093, ranked by callers