public class TypeHierarchyUtils extends Object
| Constructor and Description |
|---|
TypeHierarchyUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T,M> TypeDistance<M> |
findCoercion(T source,
T target,
org.aksw.sparqlify.core.cast.CoercionSystemOld<T,M> coercions,
org.aksw.sparqlify.core.cast.DirectSuperTypeProvider<T> DirectSuperTypeProvider) |
static <T> Integer[] |
getDistance(T[] a,
T[] b,
org.aksw.sparqlify.core.cast.DirectSuperTypeProvider<T> DirectSuperTypeProvider) |
static <T> Integer |
getDistance(T given,
T there,
org.aksw.sparqlify.core.cast.DirectSuperTypeProvider<T> DirectSuperTypeProvider) |
static <T> Integer[] |
getDistance(T ra,
T rb,
T[] a,
T[] b,
org.aksw.sparqlify.core.cast.DirectSuperTypeProvider<T> DirectSuperTypeProvider)
Including return types
|
static <M> Integer |
getRelation(TypeDistance<M>[] a,
TypeDistance<M>[] b) |
static <M> Integer |
getRelation(TypeDistance<M> a,
TypeDistance<M> b) |
static <T,M> TypeDistance<M>[] |
getTypeDistance(T[] a,
T[] b,
org.aksw.sparqlify.core.cast.CoercionSystemOld<T,M> coercions,
org.aksw.sparqlify.core.cast.DirectSuperTypeProvider<T> DirectSuperTypeProvider) |
static <T,M> TypeDistance<M> |
getTypeDistance(T source,
T target,
org.aksw.sparqlify.core.cast.CoercionSystemOld<T,M> coercions,
org.aksw.sparqlify.core.cast.DirectSuperTypeProvider<T> DirectSuperTypeProvider) |
static List<XClass> |
resolve(TypeSystem datatypeSystem,
Collection<TypeToken> typeNames) |
public static <M> Integer getRelation(TypeDistance<M> a, TypeDistance<M> b)
public static <M> Integer getRelation(TypeDistance<M>[] a, TypeDistance<M>[] b)
public static <T,M> TypeDistance<M>[] getTypeDistance(T[] a, T[] b, org.aksw.sparqlify.core.cast.CoercionSystemOld<T,M> coercions, org.aksw.sparqlify.core.cast.DirectSuperTypeProvider<T> DirectSuperTypeProvider)
public static <T,M> TypeDistance<M> getTypeDistance(T source, T target, org.aksw.sparqlify.core.cast.CoercionSystemOld<T,M> coercions, org.aksw.sparqlify.core.cast.DirectSuperTypeProvider<T> DirectSuperTypeProvider)
public static List<XClass> resolve(TypeSystem datatypeSystem, Collection<TypeToken> typeNames)
public static <T> Integer getDistance(T given, T there, org.aksw.sparqlify.core.cast.DirectSuperTypeProvider<T> DirectSuperTypeProvider)
public static <T,M> TypeDistance<M> findCoercion(T source, T target, org.aksw.sparqlify.core.cast.CoercionSystemOld<T,M> coercions, org.aksw.sparqlify.core.cast.DirectSuperTypeProvider<T> DirectSuperTypeProvider)
public static <T> Integer[] getDistance(T[] a, T[] b, org.aksw.sparqlify.core.cast.DirectSuperTypeProvider<T> DirectSuperTypeProvider)
public static <T> Integer[] getDistance(T ra, T rb, T[] a, T[] b, org.aksw.sparqlify.core.cast.DirectSuperTypeProvider<T> DirectSuperTypeProvider)
ra - rb - a - b - Copyright © 2013. All Rights Reserved.