protected static class StringMaps.SynchronizedStringMap<S extends CharSequence> extends Object implements StringMap<S>, Serializable
Modifier and Type | Field and Description |
---|---|
protected it.unimi.dsi.fastutil.objects.ObjectList<? extends S> |
list |
protected StringMap<S> |
stringMap |
Constructor and Description |
---|
StringMaps.SynchronizedStringMap(StringMap<S> stringMap) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
long |
defaultReturnValue() |
void |
defaultReturnValue(long rv) |
Long |
get(Object key) |
long |
getLong(Object s) |
it.unimi.dsi.fastutil.objects.ObjectList<? extends S> |
list()
Returns a list view of the domain of this string map (optional operation).
|
long |
put(CharSequence key,
long value) |
Long |
put(CharSequence key,
Long value) |
Long |
remove(Object key) |
long |
removeLong(Object key) |
int |
size() |
protected final StringMap<S extends CharSequence> stringMap
protected it.unimi.dsi.fastutil.objects.ObjectList<? extends S extends CharSequence> list
public int size()
size
in interface it.unimi.dsi.fastutil.Function<CharSequence,Long>
public it.unimi.dsi.fastutil.objects.ObjectList<? extends S> list()
StringMap
Note that the list view acts as an inverse of the mapping implemented by this map.
list
in interface StringMap<S extends CharSequence>
null
if this map does
not support this operation.public long getLong(Object s)
getLong
in interface it.unimi.dsi.fastutil.objects.Object2LongFunction<CharSequence>
public Long get(Object key)
get
in interface it.unimi.dsi.fastutil.Function<CharSequence,Long>
public long put(CharSequence key, long value)
put
in interface it.unimi.dsi.fastutil.objects.Object2LongFunction<CharSequence>
public Long put(CharSequence key, Long value)
put
in interface it.unimi.dsi.fastutil.Function<CharSequence,Long>
public Long remove(Object key)
remove
in interface it.unimi.dsi.fastutil.Function<CharSequence,Long>
public long removeLong(Object key)
removeLong
in interface it.unimi.dsi.fastutil.objects.Object2LongFunction<CharSequence>
public void clear()
clear
in interface it.unimi.dsi.fastutil.Function<CharSequence,Long>
public boolean containsKey(Object key)
containsKey
in interface it.unimi.dsi.fastutil.Function<CharSequence,Long>
public long defaultReturnValue()
defaultReturnValue
in interface it.unimi.dsi.fastutil.objects.Object2LongFunction<CharSequence>
public void defaultReturnValue(long rv)
defaultReturnValue
in interface it.unimi.dsi.fastutil.objects.Object2LongFunction<CharSequence>
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.