Class DimtypedTypes


  • public final class DimtypedTypes
    extends java.lang.Object
    • Method Detail

      • coordinateParametrizedSubtypeOf

        public static java.lang.Class<? extends DimtypedTensorbacked> coordinateParametrizedSubtypeOf​(java.lang.Class<? extends DimtypedTensorbacked> subClass)
        Retrieves the single parametrized type (contained in DIMENSION_PARAMETRIZED_TYPES), which is implemented by the given subclass of DimtypedTensorbacked. If none or mor than one implemented interfaces are found, then corresponding exceptions are thrown.
        Parameters:
        subClass - a subclass of DimtypedTensorbacked, for which the parametrized subclass has to be found.
        Returns:
        the class which is parametrized by the coordinate types.
        Throws:
        java.util.NoSuchElementException - in case no well known parametrized subtype can be found
        java.lang.IllegalArgumentException - in case more than one well known parametrized subtype is found
      • dimensionsFrom

        public static java.util.Set<java.lang.Class<?>> dimensionsFrom​(java.lang.Class<? extends DimtypedTensorbacked> tensorbackedClass)