Package akka.util

Interface Subclassification<K>


  • public interface Subclassification<K>
    Typeclass which describes a classification hierarchy. Observe the contract between isEqual and isSubclass!
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isEqual​(K x, K y)
      True if and only if x and y are of the same class.
      boolean isSubclass​(K x, K y)
      True if and only if x is a subclass of y; equal classes must be considered sub-classes!
    • Method Detail

      • isEqual

        boolean isEqual​(K x,
                        K y)
        True if and only if x and y are of the same class.
      • isSubclass

        boolean isSubclass​(K x,
                           K y)
        True if and only if x is a subclass of y; equal classes must be considered sub-classes!