xapi.collect.impl.ClassToDelegate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xapi-core-collect Show documentation
Show all versions of xapi-core-collect Show documentation
Core interfaces for our collections api.
package xapi.collect.impl;
import java.util.Comparator;
import java.util.Map.Entry;
import javax.inject.Provider;
import xapi.collect.api.ClassTo;
import xapi.collect.api.IntTo;
import xapi.collect.proxy.CollectionProxy;
public abstract class ClassToDelegate
extends ObjectToAbstract,V>
implements ClassTo
{
public static abstract class ManyAbstract extends ClassToDelegate>
implements ClassTo.Many{
@SuppressWarnings("unchecked")
public ManyAbstract(
Class valueType,
CollectionProxy,IntTo> store,
Provider,IntTo>>> iteratorProvider, Comparator> keyComparator,
Comparator> valueComparator) {
super(Class.class.cast(IntTo.class), store, iteratorProvider, keyComparator, valueComparator);
}
}
@SuppressWarnings("unchecked")
public ClassToDelegate(
Class valueType,
CollectionProxy,V> store,
Provider,V>>> iteratorProvider, Comparator> keyComparator,
Comparator valueComparator) {
super(Class.class.cast(Class.class), valueType, store, iteratorProvider, keyComparator, valueComparator);
}
}