public class ModelMergerUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ModelMergerUtil.ImplementationProcessor<T> |
Constructor and Description |
---|
ModelMergerUtil() |
Modifier and Type | Method and Description |
---|---|
static <T> Processor<T> |
createFilteringProcessor(Processor<? super T> processor) |
static <T> java.util.List<T> |
getFilteredImplementations(T element) |
static <T> T |
getFirstImplementation(T t) |
static <T,V> V |
getImplementation(java.lang.Class<V> clazz,
java.util.Collection<T> elements) |
static <T,V> V |
getImplementation(java.lang.Class<V> clazz,
T... elements) |
static <T,V> V |
getImplementation(T element,
java.lang.Class<V> clazz) |
static <T> java.util.List<T> |
getImplementations(T element) |
static <T,V> java.util.Collection<V> |
getImplementations(T element,
java.lang.Class<V> clazz) |
public static <T> T getFirstImplementation(T t)
public static <T,V> V getImplementation(java.lang.Class<V> clazz, java.util.Collection<T> elements)
public static <T,V> V getImplementation(java.lang.Class<V> clazz, T... elements)
public static <T,V> V getImplementation(T element, java.lang.Class<V> clazz)
public static <T,V> java.util.Collection<V> getImplementations(T element, java.lang.Class<V> clazz)
public static <T> java.util.List<T> getImplementations(T element)
public static <T> java.util.List<T> getFilteredImplementations(T element)