Class DimtypedTypes
- java.lang.Object
-
- org.tensorics.core.tensorbacked.dimtyped.DimtypedTypes
-
public final class DimtypedTypes extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Class<? extends DimtypedTensorbacked>
coordinateParametrizedSubtypeOf(java.lang.Class<? extends DimtypedTensorbacked> subClass)
Retrieves the single parametrized type (contained inDIMENSION_PARAMETRIZED_TYPES
), which is implemented by the given subclass ofDimtypedTensorbacked
.static java.util.Set<java.lang.Class<?>>
dimensionsFrom(java.lang.Class<? extends DimtypedTensorbacked> tensorbackedClass)
-
-
-
Method Detail
-
coordinateParametrizedSubtypeOf
public static java.lang.Class<? extends DimtypedTensorbacked> coordinateParametrizedSubtypeOf(java.lang.Class<? extends DimtypedTensorbacked> subClass)
Retrieves the single parametrized type (contained inDIMENSION_PARAMETRIZED_TYPES
), which is implemented by the given subclass ofDimtypedTensorbacked
. If none or mor than one implemented interfaces are found, then corresponding exceptions are thrown.- Parameters:
subClass
- a subclass ofDimtypedTensorbacked
, 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 foundjava.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)
-
-