Packages

p

de.tototec.utils

functional

package functional

Type Members

  1. class CanEqualsSupport[T] extends AnyRef

    Convenience support to easily write correct equals and hashCode methods as well as canEqual methods.

    Convenience support to easily write correct equals and hashCode methods as well as canEqual methods.

    .Example [source,java] ---- class MyDataClass {

    private final String a; private final Long b;

    public MyDataClass(String a, Long b) { this.a = a; this.b = b; }

    private static final CanEqualsSupport<MyDataClass> eq = new CanEqualsSupport<>(MyDataClass.class, (a,b) -> a.canEqual(b), c -> c.a, c -> c.b );

  2. final class ChainedFunction1[P, P0, R] extends F1[P, R]
  3. trait CheckedF0[R] extends AnyRef
  4. trait CheckedF1[P, R] extends AnyRef
  5. final class Either[L, R] extends Serializable

    Value class representing exactly one of two options, left or right.

    Value class representing exactly one of two options, left or right.

    This class is immutable and thus threadsafe.

  6. trait F0[R] extends AnyRef
  7. trait F1[P, R] extends AnyRef
  8. trait F2[P0, P1, R] extends AnyRef
  9. trait F3[P0, P1, P2, R] extends AnyRef
  10. trait F4[P0, P1, P2, P3, R] extends AnyRef
  11. abstract class FList extends AnyRef

    Collection of static methods that mostly produce Lists and accept Iterables or Java arrays.

    Collection of static methods that mostly produce Lists and accept Iterables or Java arrays. Method String) produces a String.

  12. final class Optional[T] extends Iterable[T] with Serializable

    Value class representing an optional value.

    Value class representing an optional value.

    This class is immutable and thus thread-safe.

  13. trait Procedure0 extends AnyRef
  14. trait Procedure1[P] extends AnyRef
  15. trait Procedure2[P1, P2] extends AnyRef
  16. trait Procedure3[P1, P2, P3] extends AnyRef
  17. trait Procedure4[P1, P2, P3, P4] extends AnyRef
  18. final class Try[T] extends Serializable
  19. abstract class Tuple extends AnyRef
  20. class Tuple2[A, B] extends Serializable

    Value class representing a 2-tuple.

    Value class representing a 2-tuple.

    This class is immutable and thus thread-safe.

  21. class Tuple3[A, B, C] extends Serializable

    Value class representing a 3-tuple.

    Value class representing a 3-tuple.

    This class is immutable and thus thread-safe.

  22. class Tuple4[A, B, C, D] extends Serializable

    Value class representing a 4-tuple.

    Value class representing a 4-tuple.

    This class is immutable and thus thread-safe.

  23. class Tuple5[A, B, C, D, E] extends Serializable

    Value class representing a 5-tuple.

    Value class representing a 5-tuple.

    This class is immutable and thus thread-safe.

Ungrouped