Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
net.openhft.koloboke.collect.map.hash.HashObjIntMapFactory 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.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 HashObjIntMap}s.
*
* @see HashObjIntMap
* @see HashObjIntMaps#getDefaultFactory()
*/
public interface HashObjIntMapFactory
extends ObjIntMapFactory>
, ObjHashFactory>
{
/**
* {@inheritDoc} Defaults to {@link Equivalence#defaultEquality()}.
*/
@Override
@Nonnull Equivalence getKeyEquivalence();
/**
* Returns a copy of this factory, with exception that it constructs maps with
* {@linkplain HashObjIntMap#keyEquivalence() key equivalence} set to the given
* {@code Equivalence}.
*
* @param keyEquivalence the new key equivalence
* @return a copy of this factory, which constructs maps with the given {@code keyEquivalence}
*/
@Nonnull
HashObjIntMapFactory
withKeyEquivalence(@Nonnull Equivalence keyEquivalence);
@Override
@Nonnull
HashObjIntMap newMutableMap();
@Override
@Nonnull
HashObjIntMap newMutableMap(int expectedSize);
@Override
@Nonnull
HashObjIntMap newMutableMap(
@Nonnull Map map, int expectedSize);
@Override
@Nonnull
HashObjIntMap newMutableMap(@Nonnull Map map1,
@Nonnull Map map2, int expectedSize);
@Override
@Nonnull
HashObjIntMap newMutableMap(@Nonnull Map map1,
@Nonnull Map map2,
@Nonnull Map map3, int expectedSize);
@Override
@Nonnull
HashObjIntMap newMutableMap(@Nonnull Map map1,
@Nonnull Map map2,
@Nonnull Map map3,
@Nonnull Map map4, int expectedSize);
@Override
@Nonnull
HashObjIntMap newMutableMap(@Nonnull Map map1,
@Nonnull Map map2,
@Nonnull Map map3,
@Nonnull Map map4,
@Nonnull Map map5, int expectedSize);
@Override
@Nonnull
HashObjIntMap newMutableMap(@Nonnull
Consumer> entriesSupplier
, int expectedSize);
@Override
@Nonnull
HashObjIntMap newMutableMap(
@Nonnull K2[] keys, @Nonnull int[] values, int expectedSize);
@Override
@Nonnull
HashObjIntMap newMutableMap(
@Nonnull K2[] keys, @Nonnull Integer[] values, int expectedSize);
@Override
@Nonnull
HashObjIntMap newMutableMap(@Nonnull Iterable keys,
@Nonnull Iterable values, int expectedSize);
@Override
@Nonnull
HashObjIntMap newMutableMap(
@Nonnull Map map);
@Override
@Nonnull
HashObjIntMap newMutableMap(@Nonnull Map map1,
@Nonnull Map map2);
@Override
@Nonnull
HashObjIntMap newMutableMap(@Nonnull Map map1,
@Nonnull Map map2,
@Nonnull Map map3);
@Override
@Nonnull
HashObjIntMap newMutableMap(@Nonnull Map map1,
@Nonnull Map map2,
@Nonnull Map map3,
@Nonnull Map map4);
@Override
@Nonnull
HashObjIntMap newMutableMap(@Nonnull Map map1,
@Nonnull Map map2,
@Nonnull Map map3,
@Nonnull Map map4,
@Nonnull Map map5);
@Override
@Nonnull
HashObjIntMap newMutableMap(@Nonnull
Consumer> entriesSupplier
);
@Override
@Nonnull
HashObjIntMap newMutableMap(
@Nonnull K2[] keys, @Nonnull int[] values);
@Override
@Nonnull
HashObjIntMap newMutableMap(
@Nonnull K2[] keys, @Nonnull Integer[] values);
@Override
@Nonnull
HashObjIntMap newMutableMap(@Nonnull Iterable keys,
@Nonnull Iterable values);
@Override
@Nonnull
HashObjIntMap newMutableMapOf(K2 k1, int v1);
@Override
@Nonnull
HashObjIntMap newMutableMapOf(K2 k1, int v1,
K2 k2, int v2);
@Override
@Nonnull
HashObjIntMap newMutableMapOf(K2 k1, int v1,
K2 k2, int v2, K2 k3, int v3);
@Override
@Nonnull
HashObjIntMap newMutableMapOf(K2 k1, int v1,
K2 k2, int v2, K2 k3, int v3,
K2 k4, int v4);
@Override
@Nonnull
HashObjIntMap newMutableMapOf(K2 k1, int v1,
K2 k2, int v2, K2 k3, int v3,
K2 k4, int v4, K2 k5, int v5);
@Override
@Nonnull
HashObjIntMap newUpdatableMap();
@Override
@Nonnull
HashObjIntMap newUpdatableMap(int expectedSize);
@Override
@Nonnull
HashObjIntMap newUpdatableMap(
@Nonnull Map map, int expectedSize);
@Override
@Nonnull
HashObjIntMap newUpdatableMap(@Nonnull Map map1,
@Nonnull Map map2, int expectedSize);
@Override
@Nonnull
HashObjIntMap newUpdatableMap(@Nonnull Map map1,
@Nonnull Map map2,
@Nonnull Map map3, int expectedSize);
@Override
@Nonnull
HashObjIntMap newUpdatableMap(@Nonnull Map map1,
@Nonnull Map map2,
@Nonnull Map map3,
@Nonnull Map map4, int expectedSize);
@Override
@Nonnull
HashObjIntMap newUpdatableMap(@Nonnull Map map1,
@Nonnull Map map2,
@Nonnull Map map3,
@Nonnull Map map4,
@Nonnull Map map5, int expectedSize);
@Override
@Nonnull
HashObjIntMap newUpdatableMap(@Nonnull
Consumer> entriesSupplier
, int expectedSize);
@Override
@Nonnull
HashObjIntMap newUpdatableMap(
@Nonnull K2[] keys, @Nonnull int[] values, int expectedSize);
@Override
@Nonnull
HashObjIntMap newUpdatableMap(
@Nonnull K2[] keys, @Nonnull Integer[] values, int expectedSize);
@Override
@Nonnull
HashObjIntMap newUpdatableMap(@Nonnull Iterable keys,
@Nonnull Iterable values, int expectedSize);
@Override
@Nonnull
HashObjIntMap newUpdatableMap(
@Nonnull Map map);
@Override
@Nonnull
HashObjIntMap newUpdatableMap(@Nonnull Map map1,
@Nonnull Map map2);
@Override
@Nonnull
HashObjIntMap newUpdatableMap(@Nonnull Map map1,
@Nonnull Map map2,
@Nonnull Map map3);
@Override
@Nonnull
HashObjIntMap newUpdatableMap(@Nonnull Map map1,
@Nonnull Map map2,
@Nonnull Map map3,
@Nonnull Map map4);
@Override
@Nonnull
HashObjIntMap newUpdatableMap(@Nonnull Map map1,
@Nonnull Map map2,
@Nonnull Map map3,
@Nonnull Map map4,
@Nonnull Map map5);
@Override
@Nonnull
HashObjIntMap newUpdatableMap(@Nonnull
Consumer> entriesSupplier
);
@Override
@Nonnull
HashObjIntMap newUpdatableMap(
@Nonnull K2[] keys, @Nonnull int[] values);
@Override
@Nonnull
HashObjIntMap newUpdatableMap(
@Nonnull K2[] keys, @Nonnull Integer[] values);
@Override
@Nonnull
HashObjIntMap newUpdatableMap(@Nonnull Iterable keys,
@Nonnull Iterable values);
@Override
@Nonnull
HashObjIntMap newUpdatableMapOf(K2 k1, int v1);
@Override
@Nonnull
HashObjIntMap newUpdatableMapOf(K2 k1, int v1,
K2 k2, int v2);
@Override
@Nonnull
HashObjIntMap newUpdatableMapOf(K2 k1, int v1,
K2 k2, int v2, K2 k3, int v3);
@Override
@Nonnull
HashObjIntMap newUpdatableMapOf(K2 k1, int v1,
K2 k2, int v2, K2 k3, int v3,
K2 k4, int v4);
@Override
@Nonnull
HashObjIntMap newUpdatableMapOf(K2 k1, int v1,
K2 k2, int v2, K2 k3, int v3,
K2 k4, int v4, K2 k5, int v5);
@Override
@Nonnull
HashObjIntMap newImmutableMap(
@Nonnull Map map, int expectedSize);
@Override
@Nonnull
HashObjIntMap newImmutableMap(@Nonnull Map map1,
@Nonnull Map map2, int expectedSize);
@Override
@Nonnull
HashObjIntMap newImmutableMap(@Nonnull Map map1,
@Nonnull Map map2,
@Nonnull Map map3, int expectedSize);
@Override
@Nonnull
HashObjIntMap newImmutableMap(@Nonnull Map map1,
@Nonnull Map map2,
@Nonnull Map map3,
@Nonnull Map map4, int expectedSize);
@Override
@Nonnull
HashObjIntMap newImmutableMap(@Nonnull Map map1,
@Nonnull Map map2,
@Nonnull Map map3,
@Nonnull Map map4,
@Nonnull Map map5, int expectedSize);
@Override
@Nonnull
HashObjIntMap newImmutableMap(@Nonnull
Consumer> entriesSupplier
, int expectedSize);
@Override
@Nonnull
HashObjIntMap newImmutableMap(
@Nonnull K2[] keys, @Nonnull int[] values, int expectedSize);
@Override
@Nonnull
HashObjIntMap newImmutableMap(
@Nonnull K2[] keys, @Nonnull Integer[] values, int expectedSize);
@Override
@Nonnull
HashObjIntMap newImmutableMap(@Nonnull Iterable keys,
@Nonnull Iterable values, int expectedSize);
@Override
@Nonnull
HashObjIntMap newImmutableMap(
@Nonnull Map map);
@Override
@Nonnull
HashObjIntMap newImmutableMap(@Nonnull Map map1,
@Nonnull Map map2);
@Override
@Nonnull
HashObjIntMap newImmutableMap(@Nonnull Map map1,
@Nonnull Map map2,
@Nonnull Map map3);
@Override
@Nonnull
HashObjIntMap newImmutableMap(@Nonnull Map map1,
@Nonnull Map map2,
@Nonnull Map map3,
@Nonnull Map map4);
@Override
@Nonnull
HashObjIntMap newImmutableMap(@Nonnull Map map1,
@Nonnull Map map2,
@Nonnull Map map3,
@Nonnull Map map4,
@Nonnull Map map5);
@Override
@Nonnull
HashObjIntMap newImmutableMap(@Nonnull
Consumer> entriesSupplier
);
@Override
@Nonnull
HashObjIntMap newImmutableMap(
@Nonnull K2[] keys, @Nonnull int[] values);
@Override
@Nonnull
HashObjIntMap newImmutableMap(
@Nonnull K2[] keys, @Nonnull Integer[] values);
@Override
@Nonnull
HashObjIntMap newImmutableMap(@Nonnull Iterable keys,
@Nonnull Iterable values);
@Override
@Nonnull
HashObjIntMap newImmutableMapOf(K2 k1, int v1);
@Override
@Nonnull
HashObjIntMap newImmutableMapOf(K2 k1, int v1,
K2 k2, int v2);
@Override
@Nonnull
HashObjIntMap newImmutableMapOf(K2 k1, int v1,
K2 k2, int v2, K2 k3, int v3);
@Override
@Nonnull
HashObjIntMap newImmutableMapOf(K2 k1, int v1,
K2 k2, int v2, K2 k3, int v3,
K2 k4, int v4);
@Override
@Nonnull
HashObjIntMap newImmutableMapOf(K2 k1, int v1,
K2 k2, int v2, K2 k3, int v3,
K2 k4, int v4, K2 k5, int v5);
}