Package | Description |
---|---|
eu.bandm.tools.util |
Collection of mostly unrelated, tiny, ubiquitously needed
auxiliary classes for many different purposes.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
Operators.MultiFun<X,Y>
Deprecated.
Represents multi-valued functions with domain
X and
codomain Y . |
Modifier and Type | Field and Description |
---|---|
static Operators.Fun<Object,Class<?>> |
Operators.getClass
Deprecated.
|
static Operators.Fun<Object,Integer> |
Operators.hashCode
Deprecated.
|
static Operators.Fun<Object,String> |
Operators.toString
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <X> Operators.Fun<Set<X>,Set<Set<X>>> |
Operators.binomial(int k)
Deprecated.
|
static <X,Y,Z> Operators.Fun<X,Z> |
OperatorsFusion.compose(Operators.Fun<? super X,? extends Y> f,
Operators.Fun<? super Y,? extends Z> g)
Deprecated.
|
static <X,Y,Z> Operators.Fun<X,Z> |
Operators.compose(Operators.Fun<? super X,? extends Y> first,
Operators.Fun<? super Y,? extends Z> second)
Deprecated.
|
static <X,Y> Operators.Fun<X,Y> |
Operators.constantFun(Y c)
Deprecated.
|
static <O> Operators.Fun<Object[],O> |
OperatorsReflect.constructor(Class<? extends O> objType,
Class<?>... paramTypes)
Deprecated.
|
static <O> Operators.Fun<Object[],O> |
OperatorsReflect.constructor(Constructor<? extends O> cons)
Deprecated.
|
static Operators.Fun<Collection<?>,String> |
OperatorsFusion.enumerate(String sep)
Deprecated.
|
static Operators.Fun<Collection<?>,String> |
Operators.enumerate(String sep)
Deprecated.
|
static <O,F> Operators.Fun<O,F> |
OperatorsReflect.field(Class<? super O> objType,
Class<? extends F> fldType,
Field fld)
Deprecated.
|
static <O,F> Operators.Fun<O,F> |
OperatorsReflect.field(Class<? super O> objType,
Class<? extends F> fldType,
String fldName)
Deprecated.
|
static <T,S> Operators.Fun<Collection<T>,S> |
Operators.fold(Operators.ICons<? super T,S> f)
Deprecated.
|
static <X,Y> Operators.Fun<X,Y> |
OperatorsFusion.fuse(Operators.Fun<X,Y> f)
Deprecated.
|
static <X> Operators.Fun<X,X> |
Operators.identityFun()
Deprecated.
|
static <X> Operators.Fun<X,X> |
Operators.identityFun(Class<X> domain)
Deprecated.
|
static <X,Y> Operators.Fun<X,Y> |
Operators.ifThenElse(Operators.Test<? super X> c,
Operators.Fun<? super X,? extends Y> f,
Operators.Fun<? super X,? extends Y> g)
Deprecated.
|
static <X,Y> Operators.Fun<Collection<X>,Collection<Y>> |
Operators.map(Operators.Fun<? super X,? extends Y> fun)
Deprecated.
|
static <X,Y,Z> Operators.Fun<Map<X,Y>,Map<X,Z>> |
Operators.mapMap(Operators.Fun<? super Y,? extends Z> fun)
Deprecated.
|
static <X,Y> Operators.Fun<Set<X>,Set<Y>> |
Operators.mapSet(Operators.Fun<? super X,? extends Y> fun)
Deprecated.
|
static <O,R> Operators.Fun<O,R> |
OperatorsReflect.method(Class<? super O> objType,
Class<? extends R> returnType,
Method method,
Object... params)
Deprecated.
|
static <O,R> Operators.Fun<O,R> |
OperatorsReflect.method(Class<? super O> objType,
Class<? extends R> returnType,
String methodName,
Object... params)
Deprecated.
|
static <R> Operators.Fun<Object[],R> |
OperatorsReflect.method(Object obj,
Class<? extends R> returnType,
Method method)
Deprecated.
|
static <R> Operators.Fun<Object[],R> |
OperatorsReflect.method(Object obj,
Class<? extends R> returnType,
String methodName,
Class<?>... paramTypes)
Deprecated.
|
static <R> Operators.Fun<Object[],R> |
OperatorsReflect.methodStatic(Class<?> objType,
Class<? extends R> returnType,
String methodName,
Class<?>... paramTypes)
Deprecated.
|
static <X> Operators.Fun<Set<X>,Set<Set<X>>> |
Operators.power()
Deprecated.
|
static <K,V> Operators.Fun<Map<K,V>,Map<V,Set<K>>> |
Operators.reverseMap()
Deprecated.
|
static <X,Y> Operators.Fun<X,Y> |
Operators.toFun(Operators.ICons<? super X,Y> f)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <L1,L2,R1,R2> |
Operators.compose(Operators.Fun<? super L1,? extends L2> f,
Operators.Fun<? super R1,? extends R2> g,
Operators.Rel<L2,R2> h)
Deprecated.
|
static <L1,L2,R1,R2> |
Operators.compose(Operators.Fun<? super L1,? extends L2> f,
Operators.Fun<? super R1,? extends R2> g,
Operators.Rel<L2,R2> h)
Deprecated.
|
static <X,Y> Operators.BinRel<X> |
Operators.compose(Operators.Fun<? super X,? extends Y> f,
Operators.BinRel<Y> g)
Deprecated.
|
static <X,Y,Z> Operators.Cons<X,Z> |
OperatorsFusion.compose(Operators.Fun<? super X,? extends Y> f,
Operators.Cons<? super Y,Z> g)
Deprecated.
|
static <X,Y,Z> Operators.Cons<X,Z> |
Operators.compose(Operators.Fun<? super X,? extends Y> f,
Operators.Cons<? super Y,Z> g)
Deprecated.
|
static <X,Y,Z> Operators.Fun<X,Z> |
OperatorsFusion.compose(Operators.Fun<? super X,? extends Y> f,
Operators.Fun<? super Y,? extends Z> g)
Deprecated.
|
static <X,Y,Z> Operators.Fun<X,Z> |
OperatorsFusion.compose(Operators.Fun<? super X,? extends Y> f,
Operators.Fun<? super Y,? extends Z> g)
Deprecated.
|
static <X,Y,Z> Operators.Fun<X,Z> |
Operators.compose(Operators.Fun<? super X,? extends Y> first,
Operators.Fun<? super Y,? extends Z> second)
Deprecated.
|
static <X,Y,Z> Operators.Fun<X,Z> |
Operators.compose(Operators.Fun<? super X,? extends Y> first,
Operators.Fun<? super Y,? extends Z> second)
Deprecated.
|
static <X,Y,Z> Operators.ICons<X,Z> |
Operators.compose(Operators.Fun<? super X,? extends Y> f,
Operators.ICons<? super Y,Z> g)
Deprecated.
|
static <X,Y,Z> Operators.MCons<X,Z> |
Operators.compose(Operators.Fun<? super X,? extends Y> f,
Operators.MCons<? super Y,Z> g)
Deprecated.
|
static <X,Y> Operators.Test<X> |
Operators.compose(Operators.Fun<? super X,? extends Y> f,
Operators.Test<Y> g)
Deprecated.
|
static <X,Y> Operators.Visit<X> |
Operators.compose(Operators.Fun<? super X,? extends Y> f,
Operators.Visit<? super Y> g)
Deprecated.
|
static <X,Y,Z> Operators.MProd<Z,Y> |
Operators.compose(Operators.MProd<? extends X,Y> f,
Operators.Fun<? super X,? extends Z> g)
Deprecated.
|
static <X,Y> Operators.Fun<X,Y> |
OperatorsFusion.fuse(Operators.Fun<X,Y> f)
Deprecated.
|
static <X,Y> Operators.Fun<X,Y> |
Operators.ifThenElse(Operators.Test<? super X> c,
Operators.Fun<? super X,? extends Y> f,
Operators.Fun<? super X,? extends Y> g)
Deprecated.
|
static <X,Y> Operators.Fun<X,Y> |
Operators.ifThenElse(Operators.Test<? super X> c,
Operators.Fun<? super X,? extends Y> f,
Operators.Fun<? super X,? extends Y> g)
Deprecated.
|
static <X> Operators.BinRel<X> |
Operators.kernel(Operators.Fun<X,?> f)
Deprecated.
Return a binary relation that holds for elements with equal
images under a given function.
|
static <X,Y> Operators.Fun<Collection<X>,Collection<Y>> |
Operators.map(Operators.Fun<? super X,? extends Y> fun)
Deprecated.
|
static <X,Y> List<Y> |
Operators.map(Operators.Fun<? super X,? extends Y> fun,
Collection<? extends X> elems)
Deprecated.
Apply a function to all elements of a collection.
|
static <X,Y> Set<Y> |
Operators.map(Operators.Fun<? super X,? extends Y> fun,
Set<? extends X> elems)
Deprecated.
Apply a function to all elements of a set.
|
static <X,Y,Z> Map<X,Z> |
Operators.map(Operators.Fun<? super Y,? extends Z> fun,
Map<X,? extends Y> elems)
Deprecated.
Apply a function to all value elements of a map, preserving the
keys.
|
static <X,Y,Z> Operators.Fun<Map<X,Y>,Map<X,Z>> |
Operators.mapMap(Operators.Fun<? super Y,? extends Z> fun)
Deprecated.
|
static <X,Y> Operators.Fun<Set<X>,Set<Y>> |
Operators.mapSet(Operators.Fun<? super X,? extends Y> fun)
Deprecated.
|
static <X> Operators.MultiFun<X,X> |
Operators.toMultiFun(Operators.Fun<? super X,? extends X> f)
Deprecated.
|
static <X> Operators.Test<X> |
Operators.toTest(Operators.Fun<? super X,Boolean> f)
Deprecated.
|
static <X> Operators.Visit<X> |
Operators.toVisit(Operators.Fun<? super X,?> f)
Deprecated.
|
static <X,Y> Collection<Y> |
Operators.virtualMap(Operators.Fun<? super X,? extends Y> fun,
Collection<? extends X> elems)
Deprecated.
Apply a function to all elements of a collection.
|
static <X,Y,Z> Map<X,Z> |
Operators.virtualMap(Operators.Fun<? super Y,? extends Z> fun,
Map<X,Y> elems)
Deprecated.
Apply a function to all value elements of a map, preserving the
keys.
|
see also the complete user documentation .