Class AbstractTypeOrdering<T>

java.lang.Object
org.hibernate.search.util.common.reflect.spi.AbstractTypeOrdering<T>

public abstract class AbstractTypeOrdering<T> extends Object
  • Constructor Details

    • AbstractTypeOrdering

      protected AbstractTypeOrdering()
  • Method Details

    • ascendingSuperTypes

      public Stream<? extends T> ascendingSuperTypes(T subType)
    • descendingSuperTypes

      public Stream<? extends T> descendingSuperTypes(T subType)
    • superClass

      protected abstract T superClass(T subType)
      Parameters:
      subType - A type (non-null)
      Returns:
      The superclass of the given type, or Object for interfaces, or null for Object.
    • declaredInterfaces

      protected abstract Stream<T> declaredInterfaces(T subType)
      Parameters:
      subType - A type (non-null)
      Returns:
      A stream of all the interfaces of the given type, possibly empty.