Interface Validation

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @Deprecated
    @FunctionalInterface
    public interface Validation
    Deprecated.
    • Method Summary

      Modifier and Type Method Description
      boolean validate​(java.lang.Object o)
      Deprecated.
      This method should return true if the inputted YAPIONValue value is considered to be valid.
    • Method Detail

      • validate

        boolean validate​(java.lang.Object o)
        Deprecated.
        This method should return true if the inputted YAPIONValue value is considered to be valid.
        Parameters:
        o - the value of the YAPIONValue
        Returns:
        true if valid, false otherwise