Interface PartiallyComparable<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isMoreGeneralThan​(T other)
      Is this instance more general than (or at least as general as) the given instance?
      boolean isMoreSpecificThan​(T other)
      Is this instance more specific than (or at least as specific as) the given instance?
    • Method Detail

      • isMoreGeneralThan

        boolean isMoreGeneralThan​(T other)
        Is this instance more general than (or at least as general as) the given instance?
        Parameters:
        other - to compare.
        Returns:
        true iff this instance is more general than or as general as the provided instance.
      • isMoreSpecificThan

        boolean isMoreSpecificThan​(T other)
        Is this instance more specific than (or at least as specific as) the given instance?
        Parameters:
        other - to compare.
        Returns:
        true iff this instance is more specific than or as specific as the provided instance.