All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xapi.collect.service.CollectionService Maven / Gradle / Ivy

There is a newer version: 0.5
Show newest version
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();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy