Uses of Class
net.bmahe.genetics4j.gp.spec.mutation.ImmutableRule
-
Uses of ImmutableRule in net.bmahe.genetics4j.gp.spec.mutation
Modifier and TypeMethodDescriptionImmutableRule.Builder.build()
Builds a newImmutableRule
.static ImmutableRule
Creates an immutable copy of aRule
value.static ImmutableRule
ImmutableRule.of
(Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) Construct a new immutableRule
instance.final ImmutableRule
ImmutableRule.withApplicator
(BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> value) Copy the current immutable object by setting a value for theapplicator
attribute.final ImmutableRule
ImmutableRule.withPredicate
(Predicate<TreeNode<Operation<?>>> value) Copy the current immutable object by setting a value for thepredicate
attribute.Modifier and TypeMethodDescriptionprivate boolean
ImmutableRule.equalTo
(int synthetic, ImmutableRule another) ModifierConstructorDescriptionprivate
ImmutableRule
(ImmutableRule original, Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator)