Library of static available Supplier<T> implementations, that cover the typical use cases.

Available Suppliers

ChannelExtractors

  • booleanChannel(String name) : extracts Boolean channel values from the MRecord

  • doubleChannel(String name) : extracts Double channel values from the MRecord

  • longChannel(String name) : extracts Long channel values from the MRecord

  • dateChannel(String name) : extracts Date channel values from the MRecord

  • stringChannel(String name) : extracts String channel values from the MRecord

  • channel(String name) : extracts a value from the MRecord where the type has not be given (and the inferred type is used)

BooleanOperators

StringOperators

Comparators

  • equals(T value, Supplier<T>) : checks whether value and supplied value are equal.

  • equals(Supplier<T> s1, Supplier<T> s2) : checks the two supplied values for equality.

  • compare(Supplier<T> s1, Supplier<T> s2) : determines a difference value for the two supplied values. If the values are equal the result is 0, if value of s1 is bigger, than the resulting number is >1, if value of s2 is bigger, than the resulting value is negative.

  • compare(T value, Supplier<T> supplier) : determines a difference value for the value and the supplied value. If the values are equal the result is 0, if value of s1 is bigger, than the resulting number is >1, if value of s2 is bigger, than the resulting value is negative.

Back to top

Reflow Maven skin by Andrius Velykis.