V
- Valueit.unimi.dsi.fastutil.Function<java.lang.Integer,V>
, it.unimi.dsi.fastutil.Hash
, it.unimi.dsi.fastutil.ints.Int2ObjectFunction<V>
, it.unimi.dsi.fastutil.ints.Int2ObjectMap<V>
, java.io.Serializable
, java.lang.Cloneable
, java.util.function.Function<java.lang.Integer,V>
, java.util.function.IntFunction<V>
, java.util.Map<java.lang.Integer,V>
public class LoadingIntMap<V>
extends it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<V>
Modifier and Type | Class | Description |
---|---|---|
static class |
LoadingIntMap.Feeder<T> |
Due to java stuff, you will need to cast it to (Function) for some cases
|
it.unimi.dsi.fastutil.ints.AbstractInt2ObjectMap.BasicEntry<V extends java.lang.Object>, it.unimi.dsi.fastutil.ints.AbstractInt2ObjectMap.BasicEntrySet<V extends java.lang.Object>
Constructor | Description |
---|---|
LoadingIntMap(int expectedSize,
float loadFactor,
com.google.common.base.Function<java.lang.Integer,V> loader) |
|
LoadingIntMap(int expectedSize,
com.google.common.base.Function<java.lang.Integer,V> loader) |
|
LoadingIntMap(com.google.common.base.Function<java.lang.Integer,V> loader) |
Modifier and Type | Method | Description |
---|---|---|
V |
get(int key) |
defaultReturnValue, defaultReturnValue
compute, computeIfAbsent, computeIfAbsentPartial, computeIfPresent, containsKey, defaultReturnValue, defaultReturnValue, entrySet, get, getOrDefault, merge, put, putIfAbsent, remove, remove, replace, replace
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, getOrDefault, hashCode, int2ObjectEntrySet, isEmpty, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, shiftKeys, size, trim, trim, values
public LoadingIntMap(com.google.common.base.Function<java.lang.Integer,V> loader)
public LoadingIntMap(int expectedSize, com.google.common.base.Function<java.lang.Integer,V> loader)
public LoadingIntMap(int expectedSize, float loadFactor, com.google.common.base.Function<java.lang.Integer,V> loader)
Copyright © 2018. All rights reserved.