public final class ElementComparers
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T> org.eclipse.jface.viewers.IElementComparer |
fromEquivalence(java.lang.Class<T> type,
com.google.common.base.Equivalence<T> equivalence) |
static <T> org.eclipse.jface.viewers.IElementComparer |
fromEquivalence(com.google.common.reflect.TypeToken<T> type,
com.google.common.base.Equivalence<T> equivalence) |
static <T> com.google.common.base.Equivalence<T> |
toEquivalence(java.lang.Class<T> type,
org.eclipse.jface.viewers.IElementComparer comparer) |
static <T> com.google.common.base.Equivalence<T> |
toEquivalence(com.google.common.reflect.TypeToken<T> type,
org.eclipse.jface.viewers.IElementComparer comparer) |
public static <T> org.eclipse.jface.viewers.IElementComparer fromEquivalence(java.lang.Class<T> type, com.google.common.base.Equivalence<T> equivalence)
public static <T> org.eclipse.jface.viewers.IElementComparer fromEquivalence(com.google.common.reflect.TypeToken<T> type, com.google.common.base.Equivalence<T> equivalence)
public static <T> com.google.common.base.Equivalence<T> toEquivalence(java.lang.Class<T> type, org.eclipse.jface.viewers.IElementComparer comparer)
public static <T> com.google.common.base.Equivalence<T> toEquivalence(com.google.common.reflect.TypeToken<T> type, org.eclipse.jface.viewers.IElementComparer comparer)