Interface ValueLikening<T>

Type Parameters:
T - The type of value.

public interface ValueLikening<T>
Aspect providing means to liken its value to another one.
Since:
4.2.405
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final AspectType<ValueLikening<?>>
    The aspect's technical type to be used for requesting it from an Aspectable.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    likenTo(T value)
    Likens to the given value.
  • Field Details

  • Method Details

    • likenTo

      boolean likenTo(T value)
      Likens to the given value.
      Parameters:
      value - The value to compare to.
      Returns:
      true, if the held value and the given one are alike.
      Since:
      4.2.405