Class AbstractTypeOrdering<T>
java.lang.Object
org.hibernate.search.util.common.reflect.spi.AbstractTypeOrdering<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionascendingSuperTypes
(T subType) declaredInterfaces
(T subType) descendingSuperTypes
(T subType) protected abstract T
superClass
(T subType)
-
Constructor Details
-
AbstractTypeOrdering
protected AbstractTypeOrdering()
-
-
Method Details
-
ascendingSuperTypes
-
descendingSuperTypes
-
superClass
- Parameters:
subType
- A type (non-null)- Returns:
- The superclass of the given type, or Object for interfaces, or null for Object.
-
declaredInterfaces
- Parameters:
subType
- A type (non-null)- Returns:
- A stream of all the interfaces of the given type, possibly empty.
-