public class TranslationSelectionStrategy<T extends org.apache.wicket.model.IModel> extends Object implements Comparator<ITranslation<T>>
Constructor and Description |
---|
TranslationSelectionStrategy(Set<String> keys) |
Modifier and Type | Method and Description |
---|---|
int |
compare(ITranslation<T> o1,
ITranslation<T> o2) |
ITranslation<T> |
select(Set<? extends ITranslation<T>> candidates) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public ITranslation<T> select(Set<? extends ITranslation<T>> candidates)
public int compare(ITranslation<T> o1, ITranslation<T> o2)
compare
in interface Comparator<ITranslation<T extends org.apache.wicket.model.IModel>>
Copyright © 2007–2015 Hippo B.V. (http://www.onehippo.com). All rights reserved.