MCPcopy Create free account

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

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

↓ 7 callersMethodappendToString
Appends to the {@code toString} another toString. <p> NOTE: It assumes that the toString has been created from the same ToStringStyle. </p> <p> A {@c
src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java:1790
↓ 7 callersMethodasFunction
Produces a {@link Function} for a given a <em>supplier</em> Method. You call the Function with one argument: the object receiving the method call. The
src/main/java/org/apache/commons/lang3/function/MethodInvokers.java:192
↓ 7 callersMethodavailableLocaleList
Obtains an unmodifiable and sorted list of installed locales. <p> This method is a wrapper around {@link Locale#getAvailableLocales()}. It is more ef
src/main/java/org/apache/commons/lang3/LocaleUtils.java:103
↓ 7 callersMethodbinaryToInt
Converts binary (represented as boolean array) into an int using the default (little endian, LSB0) byte and bit ordering. @param src the binary t
src/main/java/org/apache/commons/lang3/Conversion.java:306
↓ 7 callersMethodbinaryToLong
Converts binary (represented as boolean array) into a long using the default (little endian, LSB0) byte and bit ordering. @param src the binary t
src/main/java/org/apache/commons/lang3/Conversion.java:336
↓ 7 callersMethodbinaryToShort
Converts binary (represented as boolean array) into a short using the default (little endian, LSB0) byte and bit ordering. @param src the binary
src/main/java/org/apache/commons/lang3/Conversion.java:366
↓ 7 callersMethodbruteForce
(final int year, final int month, final int day, final String format, final int calendarType)
src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java:99
↓ 7 callersMethodbyteArrayToInt
Converts an array of byte into an int using the default (little-endian, LSB0) byte and bit ordering. @param src the byte array to convert. @param
src/main/java/org/apache/commons/lang3/Conversion.java:396
↓ 7 callersMethodbyteArrayToShort
Converts an array of byte into a short using the default (little-endian, LSB0) byte and bit ordering. @param src the byte array to convert. @para
src/main/java/org/apache/commons/lang3/Conversion.java:456
↓ 7 callersMethodcancel
(final boolean mayInterruptIfRunning)
src/main/java/org/apache/commons/lang3/concurrent/AbstractFutureProxy.java:44
↓ 7 callersMethodcardinality
Returns the number of bits set to {@code true} in this {@link BitSet}. @return the number of bits set to {@code true} in this {@link BitSet}.
src/main/java/org/apache/commons/lang3/util/FluentBitSet.java:136
↓ 7 callersMethodcheckInitialize
Helper method for testing the initialize() method. This method can operate with both an external and a temporary executor service. @return the result
src/test/java/org/apache/commons/lang3/concurrent/MultiBackgroundInitializerTest.java:190
↓ 7 callersMethodcheckInitialize
Helper method for checking whether the initialize() method was correctly called. start() must already have been invoked. @param init the initializer
src/test/java/org/apache/commons/lang3/concurrent/BackgroundInitializerTest.java:148
↓ 7 callersMethodcheckState
Checks the state of this circuit breaker and changes it if necessary. The return value indicates whether the circuit breaker is now in state <em>close
src/main/java/org/apache/commons/lang3/concurrent/CircuitBreaker.java:51
↓ 7 callersMethodclone
()
src/main/java/org/apache/commons/lang3/time/ImmutableTimeZone.java:38
↓ 7 callersMethodcompute
This method carries out the given operation with the provided argument. @param arg the argument for the calculation @return the result of
src/main/java/org/apache/commons/lang3/concurrent/Computable.java:45
↓ 7 callersMethodcontainsWhitespace
Tests whether the given CharSequence contains any whitespace characters. <p> Whitespace is defined by {@link Character#isWhitespace(char)}. </p> <pr
src/main/java/org/apache/commons/lang3/StringUtils.java:1385
↓ 7 callersMethodcreate
Creates a new instance of {@link ReadWriteLockVisitor} with the given object and lock. @param <O> The type of the object to protect. @param object Th
src/main/java/org/apache/commons/lang3/concurrent/locks/LockingVisitors.java:695
↓ 7 callersMethoddefaultString
Returns either the passed in String, or if the String is {@code null}, an empty String (""). <pre> StringUtils.defaultString(null) = "" StringUtils.
src/main/java/org/apache/commons/lang3/StringUtils.java:1599
↓ 7 callersMethoddiff
Retrieves a list of the differences between this object and the supplied object. @param obj the object to diff against, can be {@code null} @return a
src/main/java/org/apache/commons/lang3/builder/Diffable.java:53
↓ 7 callersMethodequalTo
Tests if the object passed to {@link #is} is equal to {@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:83
↓ 7 callersMethodequals
Checks the contents of this builder against another to see if they contain the same character content. @param obj the object to check, null returns
src/main/java/org/apache/commons/lang3/text/StrBuilder.java:1864
↓ 7 callersMethodescapeJava
Escapes the characters in a {@link String} using Java String rules. <p>Deals correctly with quotes and control-chars (tab, backslash, cr, ff, etc.) <
src/main/java/org/apache/commons/lang3/StringEscapeUtils.java:524
↓ 7 callersMethodescapeXml
Escapes the characters in a {@link String} using XML entities. <p>For example: {@code "bread" & "butter"} =&gt; {@code &quot;bread&quot; &amp; &quot;
src/main/java/org/apache/commons/lang3/StringEscapeUtils.java:575
↓ 7 callersMethodescapeXml11
Escapes the characters in a {@link String} using XML entities. <p>For example: {@code "bread" & "butter"} =&gt; {@code &quot;bread&quot; &amp; &quot;
src/main/java/org/apache/commons/lang3/StringEscapeUtils.java:656
↓ 7 callersMethodget
Invokes a supplier, and returns the result. @param supplier The supplier to invoke. @param <O> The suppliers output type. @param <T> The type of chec
src/main/java/org/apache/commons/lang3/Functions.java:477
↓ 7 callersMethodget
Invokes a supplier, and returns the result. @param supplier The supplier to invoke. @param <T> The suppliers output type. @param <E> The type of chec
src/main/java/org/apache/commons/lang3/function/Failable.java:408
↓ 7 callersMethodgetAccessibleConstructor
Finds a constructor given a class and signature, checking accessibility. <p> This finds the constructor and ensures that it is accessible. The constr
src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java:65
↓ 7 callersMethodgetAllFieldsList
Gets all fields of the given class and its parents (if any). @param cls the {@link Class} to query @return a list of Fields (possibly empt
src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java:72
↓ 7 callersMethodgetAsBoolean
Supplies a boolean. @return a result @throws E if the supplier fails
src/main/java/org/apache/commons/lang3/function/FailableBooleanSupplier.java:37
↓ 7 callersMethodgetContentStart
Gets the content start text. @return the current content start text.
src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java:1845
↓ 7 callersMethodgetDelimiterMatcher
Gets the field delimiter matcher. @return the delimiter matcher in use.
src/main/java/org/apache/commons/lang3/text/StrTokenizer.java:499
↓ 7 callersMethodgetImplicitLowerBounds
Gets an array containing a single value of {@code null} if {@link WildcardType#getLowerBounds()} returns an empty array. Otherwise, it returns the res
src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java:664
↓ 7 callersMethodgetLeft
Gets the left element from this triple. @return the left element, may be null.
src/main/java/org/apache/commons/lang3/tuple/Triple.java:147
↓ 7 callersMethodgetLineSeparator
Gets the current value from the system properties map for {@value #LINE_SEPARATOR}. <p> Returns {@code null} if the property cannot be read due to a {
src/main/java/org/apache/commons/lang3/SystemProperties.java:3695
↓ 7 callersMethodgetNullText
Gets the text to be appended when null is added. @return the null text, null means no append.
src/main/java/org/apache/commons/lang3/text/StrBuilder.java:1982
↓ 7 callersMethodgetRight
Gets the right element from this triple. @return the right element, may be null.
src/main/java/org/apache/commons/lang3/tuple/Triple.java:161
↓ 7 callersMethodgetRight
Gets the right element from this pair. <p>When treated as a key-value pair, this is the value.</p> @return the right element, may be null.
src/main/java/org/apache/commons/lang3/tuple/Pair.java:209
↓ 7 callersMethodgetStringBuffer
Gets the {@link StringBuffer} being populated. @return the {@link StringBuffer} being populated
src/main/java/org/apache/commons/lang3/builder/ToStringBuilder.java:1071
↓ 7 callersMethodgetValueDelimiterMatcher
Gets the variable default value delimiter matcher currently in use. <p> The variable default value delimiter is the character or characters that delim
src/main/java/org/apache/commons/lang3/text/StrSubstitutor.java:452
↓ 7 callersMethodgetVariablePrefixMatcher
Gets the variable prefix matcher currently in use. <p> The variable prefix is the character or characters that identify the start of a variable. This
src/main/java/org/apache/commons/lang3/text/StrSubstitutor.java:466
↓ 7 callersMethodgetVariableSuffixMatcher
Gets the variable suffix matcher currently in use. <p> The variable suffix is the character or characters that identify the end of a variable. This su
src/main/java/org/apache/commons/lang3/text/StrSubstitutor.java:489
↓ 7 callersMethodhashCode
Returns a suitable hash code for this mutable. @return a suitable hash code.
src/main/java/org/apache/commons/lang3/mutable/MutableInt.java:270
↓ 7 callersMethodhashCode
Returns a suitable hash code for this mutable. @return a suitable hash code.
src/main/java/org/apache/commons/lang3/mutable/MutableShort.java:270
↓ 7 callersMethodhashCode
Returns a suitable hash code for this mutable. @return a suitable hash code.
src/main/java/org/apache/commons/lang3/mutable/MutableByte.java:281
↓ 7 callersMethodhashCode
Returns a suitable hash code for this mutable. @return a suitable hash code.
src/main/java/org/apache/commons/lang3/mutable/MutableLong.java:270
↓ 7 callersMethodhashCode
Returns a suitable hash code for this mutable. @return a suitable hash code.
src/main/java/org/apache/commons/lang3/mutable/MutableFloat.java:291
↓ 7 callersMethodhashCode
Returns a suitable hash code for this mutable. @return a suitable hash code.
src/main/java/org/apache/commons/lang3/mutable/MutableDouble.java:287
↓ 7 callersMethodidentity
Returns a function that always returns its input argument. @param <T> The type of the input and output objects to the function @param <E> The type of
src/main/java/org/apache/commons/lang3/function/FailableFunction.java:59
↓ 7 callersMethodincrementAndCheckState
{@inheritDoc} <p>If the threshold is zero, the circuit breaker will be in a permanent <em>open</em> state.</p>
src/main/java/org/apache/commons/lang3/concurrent/ThresholdCircuitBreaker.java:113
↓ 7 callersMethodinitialize
Invokes the specified {@link ConcurrentInitializer} and returns the object produced by the initializer. This method just invokes the {@code get()} met
src/main/java/org/apache/commons/lang3/concurrent/ConcurrentUtils.java:289
↓ 7 callersMethodintValue
Returns the value of this MutableShort as an int. @return the numeric value represented by this object after conversion to type int.
src/main/java/org/apache/commons/lang3/mutable/MutableShort.java:301
↓ 7 callersMethodintValue
Returns the value of this MutableByte as an int. @return the numeric value represented by this object after conversion to type int.
src/main/java/org/apache/commons/lang3/mutable/MutableByte.java:312
↓ 7 callersMethodintValue
Returns the value of this MutableDouble as an int. @return the numeric value represented by this object after conversion to type int.
src/main/java/org/apache/commons/lang3/mutable/MutableDouble.java:320
↓ 7 callersMethodisAscii
Tests whether the character is ASCII 7 bit. <pre> CharUtils.isAscii('a') = true CharUtils.isAscii('A') = true CharUtils.isAscii('3') = true
src/main/java/org/apache/commons/lang3/CharUtils.java:92
↓ 7 callersMethodisCaseSensitive
Tests whether to ignore case. @return whether to ignore case.
src/main/java/org/apache/commons/lang3/Strings.java:891
↓ 7 callersMethodisOpen
Tests the current open state of this circuit breaker. A return value of <strong>true</strong> means that the circuit breaker is currently open indicat
src/main/java/org/apache/commons/lang3/concurrent/CircuitBreaker.java:86
↓ 7 callersMethodisOsNameMatch
Tests whether the operating system matches with a case-insensitive comparison. <p> This method is package private instead of private to support unit t
src/main/java/org/apache/commons/lang3/SystemUtils.java:2433
↓ 7 callersMethodisStatic
Tests whether a {@link Member} is static. @param member Member to test, may be null. @return {@code true} if {@code m} is static.
src/main/java/org/apache/commons/lang3/reflect/MemberUtils.java:303
↓ 7 callersMethodlastIndexOf
Used by the lastIndexOf(CharSequence methods) as a green implementation of lastIndexOf @param cs the {@link CharSequence} to be processed. @param sea
src/main/java/org/apache/commons/lang3/CharSequenceUtils.java:171
↓ 7 callersMethodlessThanOrEqualTo
Tests if the object passed to {@link #is} is less than or equal to {@code b} @param b the object to compare to the base object @return true if the va
src/main/java/org/apache/commons/lang3/compare/ComparableUtils.java:123
↓ 7 callersMethodlexx
Parses a classic date format string into Tokens @param format the format to parse, not null. @return array of Token[].
src/main/java/org/apache/commons/lang3/time/DurationFormatUtils.java:656
↓ 7 callersMethodlongValue
Returns the value of this MutableShort as a long. @return the numeric value represented by this object after conversion to type long.
src/main/java/org/apache/commons/lang3/mutable/MutableShort.java:311
↓ 7 callersMethodlongValue
Returns the value of this MutableByte as a long. @return the numeric value represented by this object after conversion to type long.
src/main/java/org/apache/commons/lang3/mutable/MutableByte.java:322
↓ 7 callersMethodlongValue
Returns the value of this MutableFloat as a long. @return the numeric value represented by this object after conversion to type long.
src/main/java/org/apache/commons/lang3/mutable/MutableFloat.java:351
↓ 7 callersMethodlongValue
Returns the value of this MutableDouble as a long. @return the numeric value represented by this object after conversion to type long.
src/main/java/org/apache/commons/lang3/mutable/MutableDouble.java:348
↓ 7 callersMethodmidString
Extracts some characters from the middle of the string builder without throwing an exception. <p> This method extracts {@code length} characters from
src/main/java/org/apache/commons/lang3/text/StrBuilder.java:2475
↓ 7 callersMethodnewRandom
()
src/test/java/org/apache/commons/lang3/StringUtilsJoinBenchmark.java:642
↓ 7 callersMethodnextAscii
Creates a random string whose length is the number of characters specified. <p> Characters will be chosen from the set of characters whose ASCII valu
src/main/java/org/apache/commons/lang3/RandomStringUtils.java:937
↓ 7 callersMethodofNonNull
Creates an immutable triple of three non-null objects inferring the generic types. @param <L> The left element type. @param <M> The middle element ty
src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java:113
↓ 7 callersMethodopen
Opens this circuit breaker. Its state is changed to open. Depending on a concrete implementation, it may close itself again if the monitored subsystem
src/main/java/org/apache/commons/lang3/concurrent/CircuitBreaker.java:93
↓ 7 callersMethodprepareStartTimer
Prepares an executor service mock to expect the start of the timer. @param service the mock @param future the future
src/test/java/org/apache/commons/lang3/concurrent/TimedSemaphoreTest.java:205
↓ 7 callersMethodrandom
()
src/main/java/org/apache/commons/lang3/RandomUtils.java:293
↓ 7 callersMethodrandomUtils
Gets the RandomUtils. @return the RandomUtils.
src/main/java/org/apache/commons/lang3/RandomStringUtils.java:1070
↓ 7 callersMethodreadFrom
If possible, reads chars from the provided {@link Readable} directly into underlying character buffer without making extra copies. @param readable o
src/main/java/org/apache/commons/lang3/text/StrBuilder.java:2510
↓ 7 callersMethodremoveListener
Removes an event listener. @param listener the event listener (may not be {@code null}). @throws NullPointerException if {@code listener} is
src/main/java/org/apache/commons/lang3/event/EventListenerSupport.java:337
↓ 7 callersMethodrun
Runs a runnable and rethrows any exception as a {@link RuntimeException}. @param runnable The runnable to run @param <T> The type of checked exceptio
src/main/java/org/apache/commons/lang3/Functions.java:539
↓ 7 callersMethodsetCloser
Sets the closer consumer called by {@link #close()}. @param closer the consumer called by {@link #close()}. @return {@code this} instance.
src/main/java/org/apache/commons/lang3/concurrent/AbstractConcurrentInitializer.java:88
↓ 7 callersMethodsetDelimiter
Sets the delimiter that separates each element. @param delimiter The delimiter that separates each element. @return {@code this} instance.
src/main/java/org/apache/commons/lang3/AppendableJoiner.java:126
↓ 7 callersMethodsetExcludeFieldNames
Sets the field names to exclude. @param excludeFieldNamesParam The excludeFieldNames to excluding from toString or {@code null}. @return {
src/main/java/org/apache/commons/lang3/builder/ReflectionToStringBuilder.java:778
↓ 7 callersMethodsetShort
Sets the bits. @param holder the short data containing the bits we're interested in. @return the value of holder with the specified bits set to {@cod
src/main/java/org/apache/commons/lang3/BitField.java:345
↓ 7 callersMethodshortArrayToInt
Converts an array of short into an int using the default (little-endian, LSB0) byte and bit ordering. @param src the short array to convert. @par
src/main/java/org/apache/commons/lang3/Conversion.java:1230
↓ 7 callersMethodsystemPropertiesLookup
Returns a new lookup which uses a copy of the current {@link System#getProperties() System properties}. <p> If a security manager blocked access to sy
src/main/java/org/apache/commons/lang3/text/StrLookup.java:148
↓ 7 callersMethodtest
()
src/test/java/org/apache/commons/lang3/FunctionsTest.java:164
↓ 7 callersMethodthrowOnOdd
()
src/test/java/org/apache/commons/lang3/function/FailableTest.java:153
↓ 7 callersMethodtoArray
Create a type-safe generic array. <p> The Java language does not allow an array to be created from a generic type: </p> <pre> public static &lt;T&
src/main/java/org/apache/commons/lang3/ArrayUtils.java:8985
↓ 7 callersMethodtoFailureMessage
(final Locale locale, final String languageTag, final TimeZone timeZone)
src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java:306
↓ 7 callersMethodtoLongString
Formats a {@link TypeVariable} including its {@link GenericDeclaration}. @param typeVariable the type variable to create a String representation for,
src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java:1530
↓ 7 callersMethodtoString
()
src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java:83
↓ 7 callersMethodtoString
()
src/test/java/org/apache/commons/lang3/CharSequenceUtilsTest.java:95
↓ 7 callersMethodtoString
()
src/test/java/org/apache/commons/lang3/exception/AbstractExceptionContextTest.java:44
↓ 7 callersMethodtoString
Gets a string representation of the set. @return string representation of the set.
src/main/java/org/apache/commons/lang3/CharSet.java:296
↓ 7 callersMethodtoString
Gets a summary of the time that this StopWatch recorded as a string. <p> The format used is ISO 8601-like, [<em>message</em> ]<em>hours</em>:<em>minu
src/main/java/org/apache/commons/lang3/time/StopWatch.java:819
↓ 7 callersMethodtoString
Represents this token as a String. @return String representation of the token.
src/main/java/org/apache/commons/lang3/time/DurationFormatUtils.java:200
↓ 7 callersMethodtoString
()
src/main/java/org/apache/commons/lang3/util/FluentBitSet.java:589
↓ 7 callersMethodunicodeEscaped
Converts the string to the Unicode format '\u0020'. <p>This format is the Java source code format.</p> <pre> CharUtils.unicodeEscaped(' ') = "\u00
src/main/java/org/apache/commons/lang3/CharUtils.java:569
↓ 6 callersMethodacquire
Acquires a permit from this semaphore. This method will block if the limit for the current period has already been reached. If {@link #shutdown()} has
src/main/java/org/apache/commons/lang3/concurrent/TimedSemaphore.java:293
↓ 6 callersMethodaddAndGet
Increments this instance's value by {@code operand}; this method returns the value associated with the instance immediately after the addition operati
src/main/java/org/apache/commons/lang3/mutable/MutableInt.java:111
↓ 6 callersMethodanyMatch
Returns whether any elements of this stream match the provided predicate. May not evaluate the predicate on all elements if not necessary for determi
src/main/java/org/apache/commons/lang3/Streams.java:192
↓ 6 callersMethodappendInternal
Appends to the {@code toString} an {@link Object}, correctly interpreting its type. <p> This method performs the main lookup by Class type to correct
src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java:1507
← previousnext →1,001–1,100 of 9,093, ranked by callers