Uses of Class
net.bmahe.genetics4j.gp.ImmutableOperation
-
Uses of ImmutableOperation in net.bmahe.genetics4j.gp
Modifier and TypeMethodDescriptionImmutableOperation.Builder.build()
Builds a newImmutableOperation
.static <T> ImmutableOperation
<T> Creates an immutable copy of aOperation
value.static <T> ImmutableOperation
<T> ImmutableOperation.of
(String name, Iterable<? extends Class> acceptedTypes, Class returnedType, BiFunction<T[], Object[], Object> compute) Construct a new immutableOperation
instance.static <T> ImmutableOperation
<T> ImmutableOperation.of
(String name, List<Class> acceptedTypes, Class returnedType, BiFunction<T[], Object[], Object> compute) Construct a new immutableOperation
instance.final ImmutableOperation
<T> ImmutableOperation.withAcceptedTypes
(Class... elements) Copy the current immutable object with elements that replace the content ofacceptedTypes
.final ImmutableOperation
<T> ImmutableOperation.withAcceptedTypes
(Iterable<? extends Class> elements) Copy the current immutable object with elements that replace the content ofacceptedTypes
.final ImmutableOperation
<T> ImmutableOperation.withCompute
(BiFunction<T[], Object[], Object> value) Copy the current immutable object by setting a value for thecompute
attribute.final ImmutableOperation
<T> Copy the current immutable object by setting a value for thename
attribute.final ImmutableOperation
<T> ImmutableOperation.withPrettyName
(String value) Copy the current immutable object by setting a value for theprettyName
attribute.final ImmutableOperation
<T> ImmutableOperation.withReturnedType
(Class value) Copy the current immutable object by setting a value for thereturnedType
attribute.Modifier and TypeMethodDescriptionprivate boolean
ImmutableOperation.equalTo
(int synthetic, ImmutableOperation<?> another)