-
Notifications
You must be signed in to change notification settings - Fork 136
Type Interfaces : Visitable
johnmcclean-aol edited this page Nov 22, 2016
·
1 revision
A Visitable represents a Value that can be non-null or null and allows clients to visit those states.
In cyclops-react it has the following methods
- visit : allows users to visit present and null states
String visited = Maybe.just(10)
.visit(some->"present",()->"null");
CompletableFutureTValue, Convertable.SupplierToConvertable, Eval.Module.Always, Eval.Module.Later, EvalTValue, FeatureToggle.Disabled, FeatureToggle.Enabled, FutureW, FutureWTValue, Ior.Both, Ior.Primary, Ior.Secondary, LazyImmutable, Maybe.Just, Maybe.Lazy, Maybe.Nothing, MaybeTValue, Mutable, MutableBoolean, MutableByte, MutableChar, MutableDouble, MutableFloat, MutableInt, MutableLong, MutableShort, OptionalTValue, Try.Failure, Try.Success, TryTValue, Value.ValueImpl, ValueSubscriber, Xor.Primary, Xor.Secondary, XorTValue
oops - my bad