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

net.openhft.koloboke.collect.set.hash.HashByteSetFactory Maven / Gradle / Ivy

/*
 * Copyright 2014 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package net.openhft.koloboke.collect.set.hash;

import net.openhft.koloboke.collect.*;
import net.openhft.koloboke.collect.hash.*;
import java.util.function.Consumer;
import net.openhft.koloboke.collect.set.ByteSetFactory;

import javax.annotation.Nonnull;

import java.util.Iterator;


/**
 * An immutable factory of {@code HashByteSet}s.
 *
 * @see HashByteSet
 * @see HashByteSets#getDefaultFactory()
 */
public interface HashByteSetFactory
        extends ByteSetFactory
        , ByteHashFactory
         {



    

    

    

    @Override
    @Nonnull
     HashByteSet newMutableSet();

    @Override
    @Nonnull
     HashByteSet newMutableSet(int expectedSize);

    

    @Override
    @Nonnull
     HashByteSet newMutableSet(@Nonnull Iterable elements, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newMutableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newMutableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2,
            @Nonnull Iterable elems3, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newMutableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2,
            @Nonnull Iterable elems3,
            @Nonnull Iterable elems4, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newMutableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2,
            @Nonnull Iterable elems3,
            @Nonnull Iterable elems4,
            @Nonnull Iterable elems5, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newMutableSet(@Nonnull Iterator elements, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newMutableSet(@Nonnull
            Consumer elementsSupplier
            , int expectedSize);

    

    @Override
    @Nonnull
     HashByteSet newMutableSet(@Nonnull byte[] elements, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newMutableSet(@Nonnull Byte[] elements, int expectedSize);

    

    @Override
    @Nonnull
     HashByteSet newMutableSet(@Nonnull Iterable elements);

    @Override
    @Nonnull
     HashByteSet newMutableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2);

    @Override
    @Nonnull
     HashByteSet newMutableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2,
            @Nonnull Iterable elems3);

    @Override
    @Nonnull
     HashByteSet newMutableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2,
            @Nonnull Iterable elems3,
            @Nonnull Iterable elems4);

    @Override
    @Nonnull
     HashByteSet newMutableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2,
            @Nonnull Iterable elems3,
            @Nonnull Iterable elems4,
            @Nonnull Iterable elems5);

    @Override
    @Nonnull
     HashByteSet newMutableSet(@Nonnull Iterator elements);

    @Override
    @Nonnull
     HashByteSet newMutableSet(@Nonnull
            Consumer elementsSupplier
            );

    

    @Override
    @Nonnull
     HashByteSet newMutableSet(@Nonnull byte[] elements);

    @Override
    @Nonnull
     HashByteSet newMutableSet(@Nonnull Byte[] elements);


    @Override
    @Nonnull
     HashByteSet newMutableSetOf(byte e1);

    @Override
    @Nonnull
     HashByteSet newMutableSetOf(byte e1, byte e2);

    @Override
    @Nonnull
     HashByteSet newMutableSetOf(byte e1, byte e2,
            byte e3);

    @Override
    @Nonnull
     HashByteSet newMutableSetOf(byte e1, byte e2,
            byte e3, byte e4);

    @Override
    @Nonnull
     HashByteSet newMutableSetOf(byte e1, byte e2,
            byte e3, byte e4, byte e5,
            byte... restElements);
    @Override
    @Nonnull
     HashByteSet newUpdatableSet();

    @Override
    @Nonnull
     HashByteSet newUpdatableSet(int expectedSize);

    

    @Override
    @Nonnull
     HashByteSet newUpdatableSet(@Nonnull Iterable elements, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newUpdatableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newUpdatableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2,
            @Nonnull Iterable elems3, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newUpdatableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2,
            @Nonnull Iterable elems3,
            @Nonnull Iterable elems4, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newUpdatableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2,
            @Nonnull Iterable elems3,
            @Nonnull Iterable elems4,
            @Nonnull Iterable elems5, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newUpdatableSet(@Nonnull Iterator elements, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newUpdatableSet(@Nonnull
            Consumer elementsSupplier
            , int expectedSize);

    

    @Override
    @Nonnull
     HashByteSet newUpdatableSet(@Nonnull byte[] elements, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newUpdatableSet(@Nonnull Byte[] elements, int expectedSize);

    

    @Override
    @Nonnull
     HashByteSet newUpdatableSet(@Nonnull Iterable elements);

    @Override
    @Nonnull
     HashByteSet newUpdatableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2);

    @Override
    @Nonnull
     HashByteSet newUpdatableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2,
            @Nonnull Iterable elems3);

    @Override
    @Nonnull
     HashByteSet newUpdatableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2,
            @Nonnull Iterable elems3,
            @Nonnull Iterable elems4);

    @Override
    @Nonnull
     HashByteSet newUpdatableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2,
            @Nonnull Iterable elems3,
            @Nonnull Iterable elems4,
            @Nonnull Iterable elems5);

    @Override
    @Nonnull
     HashByteSet newUpdatableSet(@Nonnull Iterator elements);

    @Override
    @Nonnull
     HashByteSet newUpdatableSet(@Nonnull
            Consumer elementsSupplier
            );

    

    @Override
    @Nonnull
     HashByteSet newUpdatableSet(@Nonnull byte[] elements);

    @Override
    @Nonnull
     HashByteSet newUpdatableSet(@Nonnull Byte[] elements);


    @Override
    @Nonnull
     HashByteSet newUpdatableSetOf(byte e1);

    @Override
    @Nonnull
     HashByteSet newUpdatableSetOf(byte e1, byte e2);

    @Override
    @Nonnull
     HashByteSet newUpdatableSetOf(byte e1, byte e2,
            byte e3);

    @Override
    @Nonnull
     HashByteSet newUpdatableSetOf(byte e1, byte e2,
            byte e3, byte e4);

    @Override
    @Nonnull
     HashByteSet newUpdatableSetOf(byte e1, byte e2,
            byte e3, byte e4, byte e5,
            byte... restElements);

    

    @Override
    @Nonnull
     HashByteSet newImmutableSet(@Nonnull Iterable elements, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newImmutableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newImmutableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2,
            @Nonnull Iterable elems3, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newImmutableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2,
            @Nonnull Iterable elems3,
            @Nonnull Iterable elems4, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newImmutableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2,
            @Nonnull Iterable elems3,
            @Nonnull Iterable elems4,
            @Nonnull Iterable elems5, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newImmutableSet(@Nonnull Iterator elements, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newImmutableSet(@Nonnull
            Consumer elementsSupplier
            , int expectedSize);

    

    @Override
    @Nonnull
     HashByteSet newImmutableSet(@Nonnull byte[] elements, int expectedSize);

    @Override
    @Nonnull
     HashByteSet newImmutableSet(@Nonnull Byte[] elements, int expectedSize);

    

    @Override
    @Nonnull
     HashByteSet newImmutableSet(@Nonnull Iterable elements);

    @Override
    @Nonnull
     HashByteSet newImmutableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2);

    @Override
    @Nonnull
     HashByteSet newImmutableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2,
            @Nonnull Iterable elems3);

    @Override
    @Nonnull
     HashByteSet newImmutableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2,
            @Nonnull Iterable elems3,
            @Nonnull Iterable elems4);

    @Override
    @Nonnull
     HashByteSet newImmutableSet(@Nonnull Iterable elems1,
            @Nonnull Iterable elems2,
            @Nonnull Iterable elems3,
            @Nonnull Iterable elems4,
            @Nonnull Iterable elems5);

    @Override
    @Nonnull
     HashByteSet newImmutableSet(@Nonnull Iterator elements);

    @Override
    @Nonnull
     HashByteSet newImmutableSet(@Nonnull
            Consumer elementsSupplier
            );

    

    @Override
    @Nonnull
     HashByteSet newImmutableSet(@Nonnull byte[] elements);

    @Override
    @Nonnull
     HashByteSet newImmutableSet(@Nonnull Byte[] elements);


    @Override
    @Nonnull
     HashByteSet newImmutableSetOf(byte e1);

    @Override
    @Nonnull
     HashByteSet newImmutableSetOf(byte e1, byte e2);

    @Override
    @Nonnull
     HashByteSet newImmutableSetOf(byte e1, byte e2,
            byte e3);

    @Override
    @Nonnull
     HashByteSet newImmutableSetOf(byte e1, byte e2,
            byte e3, byte e4);

    @Override
    @Nonnull
     HashByteSet newImmutableSetOf(byte e1, byte e2,
            byte e3, byte e4, byte e5,
            byte... restElements);
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy