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

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

Go to download

Everything needed to run a comprehensive dev environment. Just type X_ and pick a service from autocomplete; new dev modules will be added as they are built. The only dev service not included in the uber jar is xapi-dev-maven, as it includes all runtime dependencies of maven, adding ~4 seconds to build time, and 6 megabytes to the final output jar size (without xapi-dev-maven, it's ~1MB).

The 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