Examples of TByteHashSet


Examples of gnu.trove.set.hash.TByteHashSet

     *
     * @param converters index converters
     * @throws IllegalArgumentException if several converters have the same index type
     */
    public IndexConverterManager(IndexSymbolConverter[] converters) {
        TByteHashSet types = new TByteHashSet(converters.length);
        for (IndexSymbolConverter converter : converters) {
            if (types.contains(converter.getType()))
                throw new IllegalArgumentException("Several converters for same type.");
            types.add(converter.getType());
        }
        this.converters = converters;
    }
View Full Code Here

Examples of gnu.trove.set.hash.TByteHashSet

     *
     * @param converters index converters
     * @throws IllegalArgumentException if several converters have the same index type
     */
    public IndexConverterManager(IndexSymbolConverter[] converters) {
        TByteHashSet types = new TByteHashSet(converters.length);
        for (IndexSymbolConverter converter : converters) {
            if (types.contains(converter.getType()))
                throw new IllegalArgumentException("Several converters for same type.");
            types.add(converter.getType());
        }
        this.converters = converters;
    }
View Full Code Here

Examples of gnu.trove.set.hash.TByteHashSet

     *
     * @param converters index converters
     * @throws IllegalArgumentException if several converters have the same index type
     */
    public IndexConverterManager(IndexSymbolConverter[] converters) {
        TByteHashSet types = new TByteHashSet(converters.length);
        for (IndexSymbolConverter converter : converters) {
            if (types.contains(converter.getType()))
                throw new IllegalArgumentException("Several converters for same type.");
            types.add(converter.getType());
        }
        this.converters = converters;
    }
View Full Code Here

Examples of org.elasticsearch.common.trove.set.hash.TByteHashSet

        }

        if (excluded == null || excluded.isEmpty()) {
            this.excluded = null;
        } else {
            this.excluded = new TByteHashSet(excluded.size());
            for (String s : excluded) {
                this.excluded.add(Byte.parseByte(s));
            }
        }
View Full Code Here

Examples of org.elasticsearch.common.trove.set.hash.TByteHashSet

        public AggregatorValueProc(TByteIntHashMap facets, Set<String> excluded, SearchScript script) {
            super(facets);
            if (excluded == null || excluded.isEmpty()) {
                this.excluded = null;
            } else {
                this.excluded = new TByteHashSet(excluded.size());
                for (String s : excluded) {
                    this.excluded.add(Byte.parseByte(s));
                }
            }
            this.script = script;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.