xapi.collect.service.CollectionService 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.service;
import xapi.collect.api.ClassTo;
import xapi.collect.api.CollectionOptions;
import xapi.collect.api.Fifo;
import xapi.collect.api.IntTo;
import xapi.collect.api.ObjectTo;
import xapi.collect.api.StringDictionary;
import xapi.collect.api.StringTo;
public interface CollectionService {
IntTo newList(Class cls, CollectionOptions opts);
IntTo newSet(Class cls, CollectionOptions opts);
ObjectTo newMap(Class key, Class cls, CollectionOptions opts);
ObjectTo.Many newMultiMap(Class key, Class cls, CollectionOptions opts);
ClassTo newClassMap(Class cls, CollectionOptions opts);
ClassTo.Many newClassMultiMap(Class cls, CollectionOptions opts);
StringTo newStringMap(Class cls, CollectionOptions opts);
StringTo.Many newStringMultiMap(Class cls, CollectionOptions opts);
StringDictionary newDictionary();
Fifo newFifo();
}