| Package | Description |
|---|---|
| com.landawn.abacus | |
| com.landawn.abacus.condition | |
| com.landawn.abacus.http | |
| com.landawn.abacus.util |
| Modifier and Type | Method and Description |
|---|---|
Properties<String,Object> |
DataSet.properties() |
| Modifier and Type | Method and Description |
|---|---|
static Or |
ConditionFactory.eqAndOr(Collection<?> entities)
Eq and or.
|
static Or |
ConditionFactory.eqAndOr(Collection<?> entities,
Collection<String> selectPropNames)
Eq and or.
|
static Or |
ConditionFactory.eqAndOr(List<? extends Map<String,?>> propsList)
Eq and or.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
HttpHeaders.Names.FOLLOW_ONLY_WHEN_PRERENDER_SHOWN
The HTTP
Follow-Only-When-Prerender-Shown header field name. |
static String |
HttpHeaders.Names.PUBLIC_KEY_PINS
The HTTP
Public-Key-Pins header field name. |
static String |
HttpHeaders.Names.PUBLIC_KEY_PINS_REPORT_ONLY
The HTTP
Public-Key-Pins-Report-Only header field name. |
static String |
HttpHeaders.Names.X_DOWNLOAD_OPTIONS
The HTTP
X-Download-Options header field name. |
| Modifier and Type | Class and Description |
|---|---|
static class |
ExceptionalStream.Seq
Mostly it's for android.
|
class |
If
This class is mainly designed for functional programming.
|
class |
InternalUtil
Deprecated.
DO NOT call the methods defined in this class. it's for internal use only.
|
class |
LinkedArrayHashMap<K,V>
It's designed to supported primitive/object array key.
|
class |
LinkedArrayHashSet<E>
It's designed to supported primitive/object array.
|
interface |
NoCachingNoUpdating
One-off Object.
|
static class |
NoCachingNoUpdating.DisposableArray<T>
One-off Object.
|
static class |
NoCachingNoUpdating.DisposableBooleanArray
One-off Object.
|
static class |
NoCachingNoUpdating.DisposableByteArray
One-off Object.
|
static class |
NoCachingNoUpdating.DisposableCharArray
One-off Object.
|
static class |
NoCachingNoUpdating.DisposableDeque<T>
One-off Object.
|
static class |
NoCachingNoUpdating.DisposableDoubleArray
One-off Object.
|
static class |
NoCachingNoUpdating.DisposableEntry<K,V>
One-off Object.
|
static class |
NoCachingNoUpdating.DisposableFloatArray
One-off Object.
|
static class |
NoCachingNoUpdating.DisposableIntArray
One-off Object.
|
static class |
NoCachingNoUpdating.DisposableLongArray
One-off Object.
|
static class |
NoCachingNoUpdating.DisposableObjArray
One-off Object.
|
static class |
NoCachingNoUpdating.DisposableShortArray
One-off Object.
|
class |
Objectory |
class |
ObjectPool<K,V>
It's is a multiple-thread safety map with fixed size.
|
class |
WD
A table of constant Strings/chars.
|
| Modifier and Type | Method and Description |
|---|---|
<TT,EE extends Exception> |
ExceptionalStream.__(Function<? super ExceptionalStream<T,E>,ExceptionalStream<TT,EE>> transfer) |
static <T> BiFunction<T,T,MergeResult> |
Fn.alternated()
Returns a stateful
BiFunction. |
static <T> BiFunction<T,T,MergeResult> |
MergeResult.alternated()
Deprecated.
Use
Fn.alternated() instead |
static <T,E extends Exception> |
N.applyToEach(List<T> c,
Throwables.Function<? super T,? extends T,E> converter) |
static <T,E extends Exception> |
N.applyToEach(T[] a,
Throwables.Function<? super T,? extends T,E> converter)
Updates each element in the specified array
a with specified function converter. |
static SQLBuilder |
SQLBuilder.SCSB.batchInsert(Collection<?> propsList)
Deprecated.
Generate the MySQL style batch insert sql.
|
static SQLBuilder |
SQLBuilder.ACSB.batchInsert(Collection<?> propsList)
Deprecated.
Generate the MySQL style batch insert sql.
|
static SQLBuilder |
SQLBuilder.LCSB.batchInsert(Collection<?> propsList)
Deprecated.
Generate the MySQL style batch insert sql.
|
static SQLBuilder |
SQLBuilder.PSB.batchInsert(Collection<?> propsList)
Generate the MySQL style batch insert sql.
|
static SQLBuilder |
SQLBuilder.PSC.batchInsert(Collection<?> propsList)
Generate the MySQL style batch insert sql.
|
static SQLBuilder |
SQLBuilder.PAC.batchInsert(Collection<?> propsList)
Generate the MySQL style batch insert sql.
|
static SQLBuilder |
SQLBuilder.PLC.batchInsert(Collection<?> propsList)
Generate the MySQL style batch insert sql.
|
static SQLBuilder |
SQLBuilder.NSB.batchInsert(Collection<?> propsList)
Generate the MySQL style batch insert sql.
|
static SQLBuilder |
SQLBuilder.NSC.batchInsert(Collection<?> propsList)
Generate the MySQL style batch insert sql.
|
static SQLBuilder |
SQLBuilder.NAC.batchInsert(Collection<?> propsList)
Generate the MySQL style batch insert sql.
|
static SQLBuilder |
SQLBuilder.NLC.batchInsert(Collection<?> propsList)
Generate the MySQL style batch insert sql.
|
static SQLBuilder |
SQLBuilder.MSB.batchInsert(Collection<?> propsList)
Deprecated.
Generate the MySQL style batch insert sql.
|
static SQLBuilder |
SQLBuilder.MSC.batchInsert(Collection<?> propsList)
Deprecated.
Generate the MySQL style batch insert sql.
|
static SQLBuilder |
SQLBuilder.MAC.batchInsert(Collection<?> propsList)
Deprecated.
Generate the MySQL style batch insert sql.
|
static SQLBuilder |
SQLBuilder.MLC.batchInsert(Collection<?> propsList)
Deprecated.
Generate the MySQL style batch insert sql.
|
static <A,T> Consumer<T> |
Fn.c(A a,
BiConsumer<A,T> biConsumer) |
static <A,B,T,E extends Throwable> |
Fn.Fnn.c(A a,
B b,
Throwables.TriConsumer<A,B,T,E> triConsumer) |
static <A,B,T> Consumer<T> |
Fn.c(A a,
B b,
TriConsumer<A,B,T> triConsumer) |
static <A,T,E extends Throwable> |
Fn.Fnn.c(A a,
Throwables.BiConsumer<A,T,E> biConsumer) |
static <A,T,U,E extends Throwable> |
Fn.Fnn.c(A a,
Throwables.TriConsumer<A,T,U,E> triConsumer) |
static <A,T,U> BiConsumer<T,U> |
Fn.c(A a,
TriConsumer<A,T,U> triConsumer) |
static <T,U> BiConsumer<T,U> |
Fn.c(BiConsumer<T,U> biConsumer) |
static <T> Consumer<T> |
Fn.c(Consumer<T> predicate) |
static <T,U,E extends Throwable> |
Fn.Fnn.c(Throwables.BiConsumer<T,U,E> biConsumer) |
static <T,E extends Throwable> |
Fn.Fnn.c(Throwables.Consumer<T,E> predicate) |
static <A,B,C,E extends Throwable> |
Fn.Fnn.c(Throwables.TriConsumer<A,B,C,E> triConsumer) |
static <A,B,C> TriConsumer<A,B,C> |
Fn.c(TriConsumer<A,B,C> triConsumer) |
static <T> u.Nullable<T> |
N.castIfAssignable(Object val,
Class<T> targetType)
Returns an empty
Nullable if val is null while targetType is primitive or can not be assigned to targetType. |
static <A,T,E extends Throwable> |
Fn.Fnn.cc(A a,
BiConsumer<A,T> biConsumer) |
static <A,B,T,E extends Exception> |
Fn.cc(A a,
B b,
Throwables.TriConsumer<A,B,T,E> triConsumer) |
static <A,B,T,E extends Throwable> |
Fn.Fnn.cc(A a,
B b,
TriConsumer<A,B,T> triConsumer) |
static <A,T,E extends Exception> |
Fn.cc(A a,
Throwables.BiConsumer<A,T,E> biConsumer) |
static <A,T,U,E extends Exception> |
Fn.cc(A a,
Throwables.TriConsumer<A,T,U,E> triConsumer) |
static <A,T,U,E extends Throwable> |
Fn.Fnn.cc(A a,
TriConsumer<A,T,U> triConsumer) |
static <T,U,E extends Throwable> |
Fn.Fnn.cc(BiConsumer<T,U> biConsumer) |
static <T,E extends Throwable> |
Fn.Fnn.cc(Consumer<T> consumer) |
static <T,U,E extends Exception> |
Fn.cc(Throwables.BiConsumer<T,U,E> biConsumer) |
static <T,E extends Exception> |
Fn.cc(Throwables.Consumer<T,E> consumer) |
static <A,B,C,E extends Exception> |
Fn.cc(Throwables.TriConsumer<A,B,C,E> triConsumer) |
static <A,B,C,E extends Throwable> |
Fn.Fnn.cc(TriConsumer<A,B,C> triConsumer) |
static <T> Predicate<T> |
Fn.Predicates.concurrentDistinct()
Returns a stateful
Predicate. |
static <T> Predicate<T> |
Fn.Predicates.concurrentDistinctBy(Function<? super T,?> mapper)
Returns a stateful
Predicate. |
static String[] |
StringUtil.MoreStringUtil.copyThenStrip(String[] strs) |
static String[] |
StringUtil.MoreStringUtil.copyThenTrim(String[] strs) |
static <T> Predicate<T> |
Fn.Predicates.distinct()
Returns a stateful
Predicate. |
static <T> Predicate<T> |
Fn.Predicates.distinctBy(Function<? super T,?> mapper)
Returns a stateful
Predicate. |
static <K,V,E extends Exception> |
Fn.Entries.ec(Throwables.BiConsumer<? super K,? super V,E> c) |
static <K,V,T,E extends Exception> |
Fn.Entries.ef(Throwables.BiFunction<? super K,? super V,? extends T,E> f) |
u.Optional<T> |
ExceptionalStream.elementAt(long position) |
static <K,V,E extends Exception> |
Fn.Entries.ep(Throwables.BiPredicate<? super K,? super V,E> p) |
static <A,T,R> Function<T,R> |
Fn.f(A a,
BiFunction<A,T,R> biFunction) |
static <A,B,T,R,E extends Throwable> |
Fn.Fnn.f(A a,
B b,
Throwables.TriFunction<A,B,T,R,E> triFunction) |
static <A,B,T,R> Function<T,R> |
Fn.f(A a,
B b,
TriFunction<A,B,T,R> triFunction) |
static <A,T,R,E extends Throwable> |
Fn.Fnn.f(A a,
Throwables.BiFunction<A,T,R,E> biFunction) |
static <A,T,U,R,E extends Throwable> |
Fn.Fnn.f(A a,
Throwables.TriFunction<A,T,U,R,E> triFunction) |
static <A,T,U,R> BiFunction<T,U,R> |
Fn.f(A a,
TriFunction<A,T,U,R> triFunction) |
static <T,U,R> BiFunction<T,U,R> |
Fn.f(BiFunction<T,U,R> biFunction) |
static <T,R> Function<T,R> |
Fn.f(Function<T,R> predicate) |
static <T,U,R,E extends Throwable> |
Fn.Fnn.f(Throwables.BiFunction<T,U,R,E> biFunction) |
static <T,R,E extends Throwable> |
Fn.Fnn.f(Throwables.Function<T,R,E> predicate) |
static <A,B,C,R,E extends Throwable> |
Fn.Fnn.f(Throwables.TriFunction<A,B,C,R,E> triFunction) |
static <A,B,C,R> TriFunction<A,B,C,R> |
Fn.f(TriFunction<A,B,C,R> triFunction) |
static <A,T,R,E extends Throwable> |
Fn.Fnn.ff(A a,
BiFunction<A,T,R> biFunction) |
static <A,B,T,R,E extends Exception> |
Fn.ff(A a,
B b,
Throwables.TriFunction<A,B,T,R,E> triFunction) |
static <A,B,T,R,E extends Throwable> |
Fn.Fnn.ff(A a,
B b,
TriFunction<A,B,T,R> triFunction) |
static <A,T,R,E extends Exception> |
Fn.ff(A a,
Throwables.BiFunction<A,T,R,E> biFunction) |
static <A,T,U,R,E extends Exception> |
Fn.ff(A a,
Throwables.TriFunction<A,T,U,R,E> triFunction) |
static <A,T,U,R,E extends Throwable> |
Fn.Fnn.ff(A a,
TriFunction<A,T,U,R> triFunction) |
static <T,U,R,E extends Throwable> |
Fn.Fnn.ff(BiFunction<T,U,R> biFunction) |
static <T,R,E extends Throwable> |
Fn.Fnn.ff(Function<T,R> function) |
static <T,U,R,E extends Exception> |
Fn.ff(Throwables.BiFunction<T,U,R,E> biFunction) |
static <T,U,R,E extends Exception> |
Fn.ff(Throwables.BiFunction<T,U,R,E> biFunction,
R defaultOnError) |
static <T,R,E extends Exception> |
Fn.ff(Throwables.Function<T,R,E> function) |
static <T,R,E extends Exception> |
Fn.ff(Throwables.Function<T,R,E> function,
R defaultOnError) |
static <A,B,C,R,E extends Exception> |
Fn.ff(Throwables.TriFunction<A,B,C,R,E> triFunction) |
static <A,B,C,R,E extends Exception> |
Fn.ff(Throwables.TriFunction<A,B,C,R,E> triFunction,
R defaultOnError) |
static <A,B,C,R,E extends Throwable> |
Fn.Fnn.ff(TriFunction<A,B,C,R> triFunction) |
static <T,U> BiPredicate<T,U> |
Fn.filterThenLimit(BiPredicate<T,U> predicate,
int limit)
Returns a stateful
Predicate. |
static <T> Predicate<T> |
Fn.filterThenLimit(Predicate<T> predicate,
int limit)
Returns a stateful
Predicate. |
ExceptionalStream<Boolean,E> |
ExceptionalStream.flatMapToBoolean(Throwables.Function<? super T,boolean[],? extends E> mapper) |
ExceptionalStream<Byte,E> |
ExceptionalStream.flatMapToByte(Throwables.Function<? super T,byte[],? extends E> mapper) |
ExceptionalStream<Character,E> |
ExceptionalStream.flatMapToChar(Throwables.Function<? super T,char[],? extends E> mapper) |
ExceptionalStream<Double,E> |
ExceptionalStream.flatMapToDouble(Throwables.Function<? super T,double[],? extends E> mapper) |
ExceptionalStream<Float,E> |
ExceptionalStream.flatMapToFloat(Throwables.Function<? super T,float[],? extends E> mapper) |
ExceptionalStream<Integer,E> |
ExceptionalStream.flatMapToInteger(Throwables.Function<? super T,int[],? extends E> mapper) |
ExceptionalStream<Long,E> |
ExceptionalStream.flatMapToLong(Throwables.Function<? super T,long[],? extends E> mapper) |
ExceptionalStream<Short,E> |
ExceptionalStream.flatMapToShort(Throwables.Function<? super T,short[],? extends E> mapper) |
static <T1,T2,T3> Tuple.Tuple3<T1,T2,T3> |
Tuple.flatten(Tuple.Tuple2<Tuple.Tuple2<T1,T2>,T3> tp) |
static <T1,T2,T3,T4,T5> |
Tuple.flatten(Tuple.Tuple3<Tuple.Tuple3<T1,T2,T3>,T4,T5> tp) |
void |
ExceptionalStream.forEachToBreak(MutableBoolean flagToBreak,
Throwables.Consumer<? super T,E> action) |
void |
ExceptionalStream.forEachToBreak(Throwables.BiConsumer<? super T,MutableBoolean,E> action) |
static <TP extends Tuple<TP>> |
Tuple.from(Collection<?> c) |
static <K,V> Tuple.Tuple2<K,V> |
Tuple.from(Map.Entry<K,V> entry) |
static <TP extends Tuple<TP>> |
Tuple.from(Object[] a) |
static <T> Function<Future<T>,T> |
Fn.futureGet() |
static <T> Function<Future<T>,T> |
Fn.futureGetOrDefaultOnError(T defaultValue) |
static ImmutableMap<String,Tuple.Tuple2<String,Boolean>> |
SQLBuilder.getProp2ColumnNameMap(Class<?> entityClass,
NamingPolicy namingPolicy)
Deprecated.
for internal use only.
|
DynamicSQLBuilder |
DynamicSQLBuilder.iF(boolean b,
Consumer<DynamicSQLBuilder> actionForTrue) |
DynamicSQLBuilder |
DynamicSQLBuilder.ifOrElse(boolean b,
Consumer<DynamicSQLBuilder> actionForTrue,
Consumer<DynamicSQLBuilder> actionForFalse) |
static <E1 extends Exception,E2 extends Exception> |
N.ifOrElse(boolean b,
Throwables.Runnable<E1> actionForTrue,
Throwables.Runnable<E2> actionForFalse)
If or else.
|
static <T,E1 extends Exception,E2 extends Exception> |
N.ifOrElse(boolean b,
T init,
Throwables.Consumer<? super T,E1> actionForTrue,
Throwables.Consumer<? super T,E2> actionForFalse)
If or else.
|
static <R,E extends Exception> |
N.ifOrEmpty(boolean b,
Throwables.Supplier<R,E> supplier)
Returns a
Nullable with value got from the specified supplier if b is true,
otherwise returns an empty Nullable if b is false. |
static <T,R,E extends Exception> |
N.ifOrEmpty(boolean b,
T init,
Throwables.Function<? super T,R,E> func)
Returns a
Nullable with value returned by func.apply(init) if b is true,
otherwise returns an empty Nullable if b is false. |
ExceptionalStream<Indexed<T>,E> |
ExceptionalStream.indexed() |
static <T> Function<T,Indexed<T>> |
Fn.indexed()
Returns a stateful
Predicate. |
static <U,T> BiConsumer<U,T> |
Fn.BiConsumers.indexed(IndexedBiConsumer<U,T> action)
Returns a stateful
BiPredicate. |
static <U,T,R> BiFunction<U,T,R> |
Fn.BiFunctions.indexed(IndexedBiFunction<U,T,R> func)
Returns a stateful
BiPredicate. |
static <T,U> BiPredicate<T,U> |
Fn.BiPredicates.indexed(IndexedBiPredicate<T,U> predicate)
Returns a stateful
BiPredicate. |
static <T> Consumer<T> |
Fn.Consumers.indexed(IndexedConsumer<T> action)
Returns a stateful
BiPredicate. |
static <T,R> Function<T,R> |
Fn.Functions.indexed(IndexedFunction<T,R> func)
Returns a stateful
Function. |
static <T> Predicate<T> |
Fn.indexed(IndexedPredicate<T> predicate)
Returns a stateful
Predicate. |
static <T> Predicate<T> |
Fn.Predicates.indexed(IndexedPredicate<T> predicate)
Returns a stateful
Predicate. |
static void |
N.invert(boolean[] a)
Inverts the element from
fromIndex to toIndex: set it to true if it's false, or set it to false if it's true. |
static void |
N.invert(boolean[] a,
int fromIndex,
int toIndex)
Inverts the element from
fromIndex to toIndex: set it to true if it's false, or set it to false if it's true. |
static <T,E extends Exception> |
Fn.Fnn.isNull() |
static <T> Predicate<T[]> |
Fn.isNullOrEmptyA() |
static <T,E extends Exception> |
Fn.Fnn.isNullOrEmptyA() |
static <T extends Collection> |
Fn.isNullOrEmptyC() |
static <T extends Collection,E extends Exception> |
Fn.Fnn.isNullOrEmptyC() |
static <T extends Map> |
Fn.isNullOrEmptyM() |
static <T extends Map,E extends Exception> |
Fn.Fnn.isNullOrEmptyM() |
static <T> Iterator<T> |
N.iterate(Iterable<? extends T> iterable) |
static <T> ObjIterator<T> |
N.iterate(T[] a) |
static <T> ObjIterator<T> |
N.iterate(T[] a,
int fromIndex,
int toIndex) |
static <T> LazyInitializer<T> |
N.lazyInit(Supplier<T> supplier) |
static <T,E extends Exception> |
N.lazyInitialize(Throwables.Supplier<T,E> supplier) |
static <T,U> BiPredicate<T,U> |
Fn.limitThenFilter(int limit,
BiPredicate<T,U> predicate)
Returns a stateful
Predicate. |
static <T> Predicate<T> |
Fn.limitThenFilter(int limit,
Predicate<T> predicate)
Returns a stateful
Predicate. |
static <T,R> Function<T,R> |
Fn.memoize(Function<? super T,? extends R> func) |
static <T> Supplier<T> |
Fn.memoize(Supplier<T> supplier)
Returns a
Supplier which returns a single instance created by calling the specified supplier.get(). |
static <T,E extends Exception> |
Fn.Fnn.notNull() |
static <T> Predicate<T[]> |
Fn.notNullOrEmptyA() |
static <T,E extends Exception> |
Fn.Fnn.notNullOrEmptyA() |
static <T extends Collection> |
Fn.notNullOrEmptyC() |
static <T extends Collection,E extends Exception> |
Fn.Fnn.notNullOrEmptyC() |
static <T extends Map> |
Fn.notNullOrEmptyM() |
static <T extends Map,E extends Exception> |
Fn.Fnn.notNullOrEmptyM() |
static <T,E extends Exception> |
ExceptionalStream.of(Throwables.Supplier<Collection<? extends T>,? extends E> supplier)
Lazy evaluation.
|
static <A,T> Predicate<T> |
Fn.p(A a,
BiPredicate<A,T> biPredicate) |
static <A,B,T,E extends Throwable> |
Fn.Fnn.p(A a,
B b,
Throwables.TriPredicate<A,B,T,E> triPredicate) |
static <A,B,T> Predicate<T> |
Fn.p(A a,
B b,
TriPredicate<A,B,T> triPredicate) |
static <A,T,E extends Throwable> |
Fn.Fnn.p(A a,
Throwables.BiPredicate<A,T,E> biPredicate) |
static <A,T,U,E extends Throwable> |
Fn.Fnn.p(A a,
Throwables.TriPredicate<A,T,U,E> triPredicate) |
static <A,T,U> BiPredicate<T,U> |
Fn.p(A a,
TriPredicate<A,T,U> triPredicate) |
static <T,U> BiPredicate<T,U> |
Fn.p(BiPredicate<T,U> biPredicate) |
static <T> Predicate<T> |
Fn.p(Predicate<T> predicate) |
static <T,U,E extends Throwable> |
Fn.Fnn.p(Throwables.BiPredicate<T,U,E> biPredicate) |
static <T,E extends Throwable> |
Fn.Fnn.p(Throwables.Predicate<T,E> predicate) |
static <A,B,C,E extends Throwable> |
Fn.Fnn.p(Throwables.TriPredicate<A,B,C,E> triPredicate) |
static <A,B,C> TriPredicate<A,B,C> |
Fn.p(TriPredicate<A,B,C> triPredicate) |
static <A,T,E extends Throwable> |
Fn.Fnn.pp(A a,
BiPredicate<A,T> biPredicate) |
static <A,B,T,E extends Exception> |
Fn.pp(A a,
B b,
Throwables.TriPredicate<A,B,T,E> triPredicate) |
static <A,B,T,E extends Throwable> |
Fn.Fnn.pp(A a,
B b,
TriPredicate<A,B,T> triPredicate) |
static <A,T,E extends Exception> |
Fn.pp(A a,
Throwables.BiPredicate<A,T,E> biPredicate) |
static <A,T,U,E extends Exception> |
Fn.pp(A a,
Throwables.TriPredicate<A,T,U,E> triPredicate) |
static <A,T,U,E extends Throwable> |
Fn.Fnn.pp(A a,
TriPredicate<A,T,U> triPredicate) |
static <T,U,E extends Throwable> |
Fn.Fnn.pp(BiPredicate<T,U> biPredicate) |
static <T,E extends Throwable> |
Fn.Fnn.pp(Predicate<T> predicate) |
static <T,U,E extends Exception> |
Fn.pp(Throwables.BiPredicate<T,U,E> biPredicate) |
static <T,E extends Exception> |
Fn.pp(Throwables.Predicate<T,E> predicate) |
static <A,B,C,E extends Exception> |
Fn.pp(Throwables.TriPredicate<A,B,C,E> triPredicate) |
static <A,B,C,E extends Throwable> |
Fn.Fnn.pp(TriPredicate<A,B,C> triPredicate) |
void |
ExceptionalStream.println() |
static <T,C extends Collection<T>> |
Fn.reuse(IntFunction<? extends C> supplier)
Deprecated.
|
static <T,C extends Collection<T>> |
Fn.reuse(Supplier<? extends C> supplier)
Deprecated.
|
Pair<R,L> |
Pair.reverse()
Returns a new instance of Pair<R, L>.
|
Triple<R,M,L> |
Triple.reverse()
Returns a new instance of Triple<R, M, L>.
|
static <A,T> Consumer<T> |
Fn.sc(Object mutex,
A a,
BiConsumer<A,T> biConsumer)
Synchronized
Consumer. |
static <A,T,E extends Throwable> |
Fn.Fnn.sc(Object mutex,
A a,
Throwables.BiConsumer<A,T,E> biConsumer)
Synchronized
Consumer. |
static <T,U> BiConsumer<T,U> |
Fn.sc(Object mutex,
BiConsumer<T,U> biConsumer)
Synchronized
BiConsumer. |
static <T> Consumer<T> |
Fn.sc(Object mutex,
Consumer<T> consumer)
Synchronized
Consumer. |
static <T,U,E extends Throwable> |
Fn.Fnn.sc(Object mutex,
Throwables.BiConsumer<T,U,E> biConsumer)
Synchronized
BiConsumer. |
static <T,E extends Throwable> |
Fn.Fnn.sc(Object mutex,
Throwables.Consumer<T,E> consumer)
Synchronized
Consumer. |
static <A,T,R> Function<T,R> |
Fn.sf(Object mutex,
A a,
BiFunction<A,T,R> biFunction)
Synchronized
Function. |
static <A,T,R,E extends Throwable> |
Fn.Fnn.sf(Object mutex,
A a,
Throwables.BiFunction<A,T,R,E> biFunction)
Synchronized
Function. |
static <T,U,R> BiFunction<T,U,R> |
Fn.sf(Object mutex,
BiFunction<T,U,R> biFunction)
Synchronized
BiFunction. |
static <T,R> Function<T,R> |
Fn.sf(Object mutex,
Function<T,R> function)
Synchronized
Function. |
static <T,U,R,E extends Throwable> |
Fn.Fnn.sf(Object mutex,
Throwables.BiFunction<T,U,R,E> biFunction)
Synchronized
BiFunction. |
static <T,R,E extends Throwable> |
Fn.Fnn.sf(Object mutex,
Throwables.Function<T,R,E> function)
Synchronized
Function. |
static <T> Predicate<T> |
Fn.Predicates.skipRepeats()
Returns a stateful
Predicate. |
ExceptionalStream<T,E> |
ExceptionalStream.skipUntil(Throwables.Predicate<? super T,? extends E> predicate) |
static <A,T> Predicate<T> |
Fn.sp(Object mutex,
A a,
BiPredicate<A,T> biPredicate)
Synchronized
Predicate. |
static <A,B,T,E extends Throwable> |
Fn.Fnn.sp(Object mutex,
A a,
B b,
Throwables.TriPredicate<A,B,T,E> triPredicate)
Synchronized
Predicate. |
static <A,B,T> Predicate<T> |
Fn.sp(Object mutex,
A a,
B b,
TriPredicate<A,B,T> triPredicate)
Synchronized
Predicate. |
static <A,T,E extends Throwable> |
Fn.Fnn.sp(Object mutex,
A a,
Throwables.BiPredicate<A,T,E> biPredicate)
Synchronized
Predicate. |
static <T,U> BiPredicate<T,U> |
Fn.sp(Object mutex,
BiPredicate<T,U> biPredicate)
Synchronized
BiPredicate. |
static <T> Predicate<T> |
Fn.sp(Object mutex,
Predicate<T> predicate)
Synchronized
Predicate. |
static <T,U,E extends Throwable> |
Fn.Fnn.sp(Object mutex,
Throwables.BiPredicate<T,U,E> biPredicate)
Synchronized
BiPredicate. |
static <T,E extends Throwable> |
Fn.Fnn.sp(Object mutex,
Throwables.Predicate<T,E> predicate)
Synchronized
Predicate. |
static <T> Predicate<T> |
Fn.timeLimit(Duration duration)
Returns a stateful
Predicate. |
static <T> Predicate<T> |
Fn.timeLimit(long timeInMillis)
Returns a stateful
Predicate. |
static <T> List<T> |
Tuple.toList(Tuple.Tuple1<? extends T> tp) |
static <T> List<T> |
Tuple.toList(Tuple.Tuple2<? extends T,? extends T> tp) |
static <T> List<T> |
Tuple.toList(Tuple.Tuple3<? extends T,? extends T,? extends T> tp) |
static <T> List<T> |
Tuple.toList(Tuple.Tuple4<? extends T,? extends T,? extends T,? extends T> tp) |
static <T> List<T> |
Tuple.toList(Tuple.Tuple5<? extends T,? extends T,? extends T,? extends T,? extends T> tp) |
static <T> List<T> |
Tuple.toList(Tuple.Tuple6<? extends T,? extends T,? extends T,? extends T,? extends T,? extends T> tp) |
static <T> List<T> |
Tuple.toList(Tuple.Tuple7<? extends T,? extends T,? extends T,? extends T,? extends T,? extends T,? extends T> tp) |
static <T> List<T> |
Tuple.toList(Tuple.Tuple8<? extends T,? extends T,? extends T,? extends T,? extends T,? extends T,? extends T,? extends T> tp) |
static <T> List<T> |
Tuple.toList(Tuple.Tuple9<? extends T,? extends T,? extends T,? extends T,? extends T,? extends T,? extends T,? extends T,? extends T> tp) |
static <R> u.Nullable<R> |
N.tryOrEmpty(Callable<R> cmd)
Returns a
Nullable with the value returned by action or an empty Nullable if exception happens. |
static <T,R,E extends Exception> |
N.tryOrEmpty(T init,
Throwables.Function<? super T,R,E> func)
Returns a
Nullable with the value returned by func.apply(init) or an empty Nullable if exception happens. |
Copyright © 2021. All rights reserved.