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

net.openhft.koloboke.collect.map.hash.HashLongShortMapFactory Maven / Gradle / Ivy

Go to download

Carefully designed and efficient extension of the Java Collections Framework with primitive specializations and more, built for Java 8 (API)

The newest version!
/*
 * 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.map.hash;

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

import javax.annotation.Nonnull;

import java.util.Map;



/**
 * An immutable factory of {@code HashLongShortMap}s.
 *
 * @see HashLongShortMap
 * @see HashLongShortMaps#getDefaultFactory()
 */
public interface HashLongShortMapFactory
        extends LongShortMapFactory
        , LongHashFactory
        {


    

    

    

    

    

    
    

    
    


    @Override
    @Nonnull
     HashLongShortMap newMutableMap();

    @Override
    @Nonnull
     HashLongShortMap newMutableMap(int expectedSize);

    


    @Override
    @Nonnull
     HashLongShortMap newMutableMap(@Nonnull Map map1,
            @Nonnull Map map2, int expectedSize);

    @Override
    @Nonnull
     HashLongShortMap newMutableMap(@Nonnull Map map1,
            @Nonnull Map map2,
            @Nonnull Map map3, int expectedSize);

    @Override
    @Nonnull
     HashLongShortMap newMutableMap(@Nonnull Map map1,
            @Nonnull Map map2,
            @Nonnull Map map3,
            @Nonnull Map map4, int expectedSize);

    @Override
    @Nonnull
     HashLongShortMap newMutableMap(@Nonnull Map map1,
            @Nonnull Map map2,
            @Nonnull Map map3,
            @Nonnull Map map4,
            @Nonnull Map map5, int expectedSize);



    @Override
    @Nonnull
     HashLongShortMap newMutableMap(@Nonnull
            Consumer entriesSupplier
            , int expectedSize);

    @Override
    @Nonnull
     HashLongShortMap newMutableMap(
            @Nonnull long[] keys, @Nonnull short[] values, int expectedSize);

    @Override
    @Nonnull
     HashLongShortMap newMutableMap(
            @Nonnull Long[] keys, @Nonnull Short[] values, int expectedSize);

    @Override
    @Nonnull
     HashLongShortMap newMutableMap(@Nonnull Iterable keys,
            @Nonnull Iterable values, int expectedSize);

    

    @Override
    @Nonnull
     HashLongShortMap newMutableMap(
            @Nonnull Map map);

    @Override
    @Nonnull
     HashLongShortMap newMutableMap(@Nonnull Map map1,
            @Nonnull Map map2);

    @Override
    @Nonnull
     HashLongShortMap newMutableMap(@Nonnull Map map1,
            @Nonnull Map map2,
            @Nonnull Map map3);

    @Override
    @Nonnull
     HashLongShortMap newMutableMap(@Nonnull Map map1,
            @Nonnull Map map2,
            @Nonnull Map map3,
            @Nonnull Map map4);

    @Override
    @Nonnull
     HashLongShortMap newMutableMap(@Nonnull Map map1,
            @Nonnull Map map2,
            @Nonnull Map map3,
            @Nonnull Map map4,
            @Nonnull Map map5);



    @Override
    @Nonnull
     HashLongShortMap newMutableMap(@Nonnull
            Consumer entriesSupplier
            );

    @Override
    @Nonnull
     HashLongShortMap newMutableMap(
            @Nonnull long[] keys, @Nonnull short[] values);

    @Override
    @Nonnull
     HashLongShortMap newMutableMap(
            @Nonnull Long[] keys, @Nonnull Short[] values);

    @Override
    @Nonnull
     HashLongShortMap newMutableMap(@Nonnull Iterable keys,
            @Nonnull Iterable values);


    @Override
    @Nonnull
     HashLongShortMap newMutableMapOf(long k1, short v1);

    @Override
    @Nonnull
     HashLongShortMap newMutableMapOf(long k1, short v1,
            long k2, short v2);

    @Override
    @Nonnull
     HashLongShortMap newMutableMapOf(long k1, short v1,
            long k2, short v2, long k3, short v3);

    @Override
    @Nonnull
     HashLongShortMap newMutableMapOf(long k1, short v1,
            long k2, short v2, long k3, short v3,
            long k4, short v4);

    @Override
    @Nonnull
     HashLongShortMap newMutableMapOf(long k1, short v1,
            long k2, short v2, long k3, short v3,
            long k4, short v4, long k5, short v5);
    @Override
    @Nonnull
     HashLongShortMap newUpdatableMap();

    @Override
    @Nonnull
     HashLongShortMap newUpdatableMap(int expectedSize);

    


    @Override
    @Nonnull
     HashLongShortMap newUpdatableMap(@Nonnull Map map1,
            @Nonnull Map map2, int expectedSize);

    @Override
    @Nonnull
     HashLongShortMap newUpdatableMap(@Nonnull Map map1,
            @Nonnull Map map2,
            @Nonnull Map map3, int expectedSize);

    @Override
    @Nonnull
     HashLongShortMap newUpdatableMap(@Nonnull Map map1,
            @Nonnull Map map2,
            @Nonnull Map map3,
            @Nonnull Map map4, int expectedSize);

    @Override
    @Nonnull
     HashLongShortMap newUpdatableMap(@Nonnull Map map1,
            @Nonnull Map map2,
            @Nonnull Map map3,
            @Nonnull Map map4,
            @Nonnull Map map5, int expectedSize);



    @Override
    @Nonnull
     HashLongShortMap newUpdatableMap(@Nonnull
            Consumer entriesSupplier
            , int expectedSize);

    @Override
    @Nonnull
     HashLongShortMap newUpdatableMap(
            @Nonnull long[] keys, @Nonnull short[] values, int expectedSize);

    @Override
    @Nonnull
     HashLongShortMap newUpdatableMap(
            @Nonnull Long[] keys, @Nonnull Short[] values, int expectedSize);

    @Override
    @Nonnull
     HashLongShortMap newUpdatableMap(@Nonnull Iterable keys,
            @Nonnull Iterable values, int expectedSize);

    

    @Override
    @Nonnull
     HashLongShortMap newUpdatableMap(
            @Nonnull Map map);

    @Override
    @Nonnull
     HashLongShortMap newUpdatableMap(@Nonnull Map map1,
            @Nonnull Map map2);

    @Override
    @Nonnull
     HashLongShortMap newUpdatableMap(@Nonnull Map map1,
            @Nonnull Map map2,
            @Nonnull Map map3);

    @Override
    @Nonnull
     HashLongShortMap newUpdatableMap(@Nonnull Map map1,
            @Nonnull Map map2,
            @Nonnull Map map3,
            @Nonnull Map map4);

    @Override
    @Nonnull
     HashLongShortMap newUpdatableMap(@Nonnull Map map1,
            @Nonnull Map map2,
            @Nonnull Map map3,
            @Nonnull Map map4,
            @Nonnull Map map5);



    @Override
    @Nonnull
     HashLongShortMap newUpdatableMap(@Nonnull
            Consumer entriesSupplier
            );

    @Override
    @Nonnull
     HashLongShortMap newUpdatableMap(
            @Nonnull long[] keys, @Nonnull short[] values);

    @Override
    @Nonnull
     HashLongShortMap newUpdatableMap(
            @Nonnull Long[] keys, @Nonnull Short[] values);

    @Override
    @Nonnull
     HashLongShortMap newUpdatableMap(@Nonnull Iterable keys,
            @Nonnull Iterable values);


    @Override
    @Nonnull
     HashLongShortMap newUpdatableMapOf(long k1, short v1);

    @Override
    @Nonnull
     HashLongShortMap newUpdatableMapOf(long k1, short v1,
            long k2, short v2);

    @Override
    @Nonnull
     HashLongShortMap newUpdatableMapOf(long k1, short v1,
            long k2, short v2, long k3, short v3);

    @Override
    @Nonnull
     HashLongShortMap newUpdatableMapOf(long k1, short v1,
            long k2, short v2, long k3, short v3,
            long k4, short v4);

    @Override
    @Nonnull
     HashLongShortMap newUpdatableMapOf(long k1, short v1,
            long k2, short v2, long k3, short v3,
            long k4, short v4, long k5, short v5);

    


    @Override
    @Nonnull
     HashLongShortMap newImmutableMap(@Nonnull Map map1,
            @Nonnull Map map2, int expectedSize);

    @Override
    @Nonnull
     HashLongShortMap newImmutableMap(@Nonnull Map map1,
            @Nonnull Map map2,
            @Nonnull Map map3, int expectedSize);

    @Override
    @Nonnull
     HashLongShortMap newImmutableMap(@Nonnull Map map1,
            @Nonnull Map map2,
            @Nonnull Map map3,
            @Nonnull Map map4, int expectedSize);

    @Override
    @Nonnull
     HashLongShortMap newImmutableMap(@Nonnull Map map1,
            @Nonnull Map map2,
            @Nonnull Map map3,
            @Nonnull Map map4,
            @Nonnull Map map5, int expectedSize);



    @Override
    @Nonnull
     HashLongShortMap newImmutableMap(@Nonnull
            Consumer entriesSupplier
            , int expectedSize);

    @Override
    @Nonnull
     HashLongShortMap newImmutableMap(
            @Nonnull long[] keys, @Nonnull short[] values, int expectedSize);

    @Override
    @Nonnull
     HashLongShortMap newImmutableMap(
            @Nonnull Long[] keys, @Nonnull Short[] values, int expectedSize);

    @Override
    @Nonnull
     HashLongShortMap newImmutableMap(@Nonnull Iterable keys,
            @Nonnull Iterable values, int expectedSize);

    

    @Override
    @Nonnull
     HashLongShortMap newImmutableMap(
            @Nonnull Map map);

    @Override
    @Nonnull
     HashLongShortMap newImmutableMap(@Nonnull Map map1,
            @Nonnull Map map2);

    @Override
    @Nonnull
     HashLongShortMap newImmutableMap(@Nonnull Map map1,
            @Nonnull Map map2,
            @Nonnull Map map3);

    @Override
    @Nonnull
     HashLongShortMap newImmutableMap(@Nonnull Map map1,
            @Nonnull Map map2,
            @Nonnull Map map3,
            @Nonnull Map map4);

    @Override
    @Nonnull
     HashLongShortMap newImmutableMap(@Nonnull Map map1,
            @Nonnull Map map2,
            @Nonnull Map map3,
            @Nonnull Map map4,
            @Nonnull Map map5);



    @Override
    @Nonnull
     HashLongShortMap newImmutableMap(@Nonnull
            Consumer entriesSupplier
            );

    @Override
    @Nonnull
     HashLongShortMap newImmutableMap(
            @Nonnull long[] keys, @Nonnull short[] values);

    @Override
    @Nonnull
     HashLongShortMap newImmutableMap(
            @Nonnull Long[] keys, @Nonnull Short[] values);

    @Override
    @Nonnull
     HashLongShortMap newImmutableMap(@Nonnull Iterable keys,
            @Nonnull Iterable values);


    @Override
    @Nonnull
     HashLongShortMap newImmutableMapOf(long k1, short v1);

    @Override
    @Nonnull
     HashLongShortMap newImmutableMapOf(long k1, short v1,
            long k2, short v2);

    @Override
    @Nonnull
     HashLongShortMap newImmutableMapOf(long k1, short v1,
            long k2, short v2, long k3, short v3);

    @Override
    @Nonnull
     HashLongShortMap newImmutableMapOf(long k1, short v1,
            long k2, short v2, long k3, short v3,
            long k4, short v4);

    @Override
    @Nonnull
     HashLongShortMap newImmutableMapOf(long k1, short v1,
            long k2, short v2, long k3, short v3,
            long k4, short v4, long k5, short v5);
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy