Skip navigation links
A C N O P T V W 

A

Action - Interface in net.kemitix.conditional
An action to perform in a clause when a Condition is met.
and(Supplier<Boolean>) - Method in interface net.kemitix.conditional.Condition
Logically AND combine the current Condition with the clause.
and(Supplier<Boolean>) - Method in interface net.kemitix.conditional.Value.ValueClause
Logically AND combine the current Value.ValueClause with clause.
andNot(Supplier<Boolean>) - Method in interface net.kemitix.conditional.Condition
Logically AND combine the current Condition with boolean opposite of the clause.
andNot(Supplier<Boolean>) - Method in interface net.kemitix.conditional.Value.ValueClause
Logically AND combine the current Value.ValueClause with boolean opposite of the clause.

C

Condition - Interface in net.kemitix.conditional
If-then-else in a functional-style.

N

net.kemitix.conditional - package net.kemitix.conditional
The MIT License (MIT) Copyright (c) 2017 Paul Campbell Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

O

optional() - Method in interface net.kemitix.conditional.Value.ValueClause.ValueSupplier
Returns the value in an Optional if the Value.ValueClause is true, or an empty Optional if it is false.
or(Supplier<Boolean>) - Method in interface net.kemitix.conditional.Condition
Logically OR combine the current Condition with the clause.
or(Supplier<Boolean>) - Method in interface net.kemitix.conditional.Value.ValueClause
Logically OR combine the current Value.ValueClause with clause.
orNot(Supplier<Boolean>) - Method in interface net.kemitix.conditional.Condition
Logically OR combine the current Condition with the boolean opposite of the clause.
orNot(Supplier<Boolean>) - Method in interface net.kemitix.conditional.Value.ValueClause
Logically OR combine the current Value.ValueClause with boolean opposite of the clause.
otherwise(Action) - Method in interface net.kemitix.conditional.Condition
Perform this response if the Condition is false.
otherwise(Supplier<Boolean>) - Method in interface net.kemitix.conditional.Condition
Create a new Condition for the clause as a continuation to an existing Condition.
otherwise(Supplier<T>) - Method in interface net.kemitix.conditional.Value.ValueClause.ValueSupplier
Determine the value by whether the Value.ValueClause was true or false.

P

perform() - Method in interface net.kemitix.conditional.Action
The action to perform.

T

then(Action) - Method in interface net.kemitix.conditional.Condition
Perform this response if the Condition is true.
then(Supplier<T>) - Method in interface net.kemitix.conditional.Value.ValueClause
Create a Value.ValueClause.ValueSupplier with the Supplier should the Value.ValueClause be true.

V

Value - Interface in net.kemitix.conditional
A Value from an if-then-else in a functional-style.
Value.ValueClause<T> - Interface in net.kemitix.conditional
An intermediate state in determining the final Value.
Value.ValueClause.ValueSupplier<T> - Interface in net.kemitix.conditional
An intermediate result of the Value.

W

where(boolean) - Static method in interface net.kemitix.conditional.Condition
Create a new Condition for the clause.
where(boolean, Supplier<T>, Supplier<T>) - Static method in interface net.kemitix.conditional.Value
Return one of two values depending on the value of a clause.
where(boolean, Supplier<T>) - Static method in interface net.kemitix.conditional.Value
Return an Optional either containing a value, if the clause is true, or empty.
where(boolean) - Static method in interface net.kemitix.conditional.Value
Create a new Value.ValueClause for the clause.
whereNot(boolean) - Static method in interface net.kemitix.conditional.Condition
Create a new Condition for the boolean opposite of the clause.
whereNot(boolean) - Static method in interface net.kemitix.conditional.Value
Create a new Value.ValueClause for the boolean opposite of the clause.
A C N O P T V W 
Skip navigation links

Copyright © 2015–2018. All rights reserved.