Uses of Record Class
com.guinetik.hexafun.examples.counter.Counter
Packages that use Counter
-
Uses of Counter in com.guinetik.hexafun.examples.counter
Fields in com.guinetik.hexafun.examples.counter with type parameters of type CounterModifier and TypeFieldDescriptionstatic final com.guinetik.hexafun.hexa.UseCaseKey<CounterInputs.AddInput,com.guinetik.hexafun.fun.Result<Counter>> CounterUseCases.ADDstatic final com.guinetik.hexafun.hexa.UseCaseKey<CounterInputs.DecrementInput,com.guinetik.hexafun.fun.Result<Counter>> CounterUseCases.DECREMENTstatic final com.guinetik.hexafun.hexa.UseCaseKey<CounterInputs.IncrementInput,com.guinetik.hexafun.fun.Result<Counter>> CounterUseCases.INCREMENTMethods in com.guinetik.hexafun.examples.counter that return CounterModifier and TypeMethodDescriptionCounter.add(int amount) CounterInputs.AddInput.counter()Returns the value of thecounterrecord component.CounterInputs.DecrementInput.counter()Returns the value of thecounterrecord component.CounterInputs.IncrementInput.counter()Returns the value of thecounterrecord component.Counter.decrement()Counter.increment()static CounterCounter.of(int value) static CounterCounter.zero()Methods in com.guinetik.hexafun.examples.counter that return types with arguments of type CounterModifier and TypeMethodDescriptioncom.guinetik.hexafun.fun.Result<Counter>Add amount to a counter.com.guinetik.hexafun.fun.Result<Counter>Decrement a counter.com.guinetik.hexafun.fun.Result<Counter>Increment a counter.Methods in com.guinetik.hexafun.examples.counter with parameters of type CounterModifier and TypeMethodDescriptioncom.guinetik.hexafun.fun.Result<Counter>Add amount to a counter.com.guinetik.hexafun.fun.Result<Counter>Decrement a counter.com.guinetik.hexafun.fun.Result<Counter>Increment a counter.Constructors in com.guinetik.hexafun.examples.counter with parameters of type CounterModifierConstructorDescriptionCreates an instance of aAddInputrecord class.DecrementInput(Counter counter) Creates an instance of aDecrementInputrecord class.IncrementInput(Counter counter) Creates an instance of aIncrementInputrecord class.