@NotThreadSafe public class UnifiedMap<K,V> extends AbstractMutableMap<K,V> implements java.io.Externalizable, BatchIterable<V>
The final result is a Map implementation that's leaner than java.util.HashMap and faster than Trove's THashMap. The best of both approaches unified together, and thus the name UnifiedMap.
| Modifier and Type | Class and Description |
|---|---|
protected class |
UnifiedMap.EntrySet |
protected class |
UnifiedMap.EntrySetIterator |
protected class |
UnifiedMap.KeySet |
protected class |
UnifiedMap.KeySetIterator |
protected class |
UnifiedMap.PositionalIterator<T> |
protected class |
UnifiedMap.ValuesCollection |
protected class |
UnifiedMap.ValuesIterator |
protected static class |
UnifiedMap.WeakBoundEntry<K,V> |
AbstractMutableMap.ValuesCollectionCommon<V>| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.Object |
CHAINED_KEY |
protected static int |
DEFAULT_INITIAL_CAPACITY |
protected static float |
DEFAULT_LOAD_FACTOR |
protected float |
loadFactor |
protected int |
maxSize |
protected static java.lang.Object |
NULL_KEY |
protected int |
occupied |
protected java.lang.Object[] |
table |
| Constructor and Description |
|---|
UnifiedMap() |
UnifiedMap(int initialCapacity) |
UnifiedMap(int initialCapacity,
float loadFactor) |
UnifiedMap(java.util.Map<? extends K,? extends V> map) |
UnifiedMap(com.gs.collections.api.tuple.Pair<K,V>... pairs) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
allocate(int capacity) |
protected void |
allocateTable(int sizeToAllocate) |
boolean |
allSatisfy(com.gs.collections.api.block.predicate.Predicate<? super V> predicate)
Returns true if the predicate evaluates to true for every element of the iterable or if the iterable is empty.
|
<P> boolean |
allSatisfyWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter)
Returns true if the predicate evaluates to true for every element of the collection, or returns false.
|
boolean |
anySatisfy(com.gs.collections.api.block.predicate.Predicate<? super V> predicate)
Returns true if the predicate evaluates to true for any element of the iterable.
|
<P> boolean |
anySatisfyWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter)
Returns true if the predicate evaluates to true for any element of the collection, or return false.
|
void |
batchForEach(com.gs.collections.api.block.procedure.Procedure<? super V> procedure,
int sectionIndex,
int sectionCount) |
void |
clear() |
UnifiedMap<K,V> |
clone() |
<E> com.gs.collections.api.map.MutableMap<K,V> |
collectKeysAndValues(java.lang.Iterable<E> iterable,
com.gs.collections.api.block.function.Function<? super E,? extends K> keyFunction,
com.gs.collections.api.block.function.Function<? super E,? extends V> valueFunction)
Adds all the entries derived from
iterable to this. |
<R> com.gs.collections.api.map.MutableMap<K,R> |
collectValues(com.gs.collections.api.block.function.Function2<? super K,? super V,? extends R> function)
For each key and value of the map the function is evaluated.
|
protected void |
computeMaxSize(int capacity) |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
protected void |
copyMap(UnifiedMap<K,V> unifiedMap) |
V |
detect(com.gs.collections.api.block.predicate.Predicate<? super V> predicate)
Returns the first element of the iterable for which the predicate evaluates to true or null in the case where no
element returns true.
|
com.gs.collections.api.tuple.Pair<K,V> |
detect(com.gs.collections.api.block.predicate.Predicate2<? super K,? super V> predicate)
Return the first key and value of the map for which the predicate evaluates to true when they are given
as arguments.
|
V |
detectIfNone(com.gs.collections.api.block.predicate.Predicate<? super V> predicate,
com.gs.collections.api.block.function.Function0<? extends V> function)
Returns the first element of the iterable for which the predicate evaluates to true.
|
<P> V |
detectWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter)
Returns the first element that evaluates to true for the specified predicate2 and parameter, or null if none
evaluate to true.
|
<P> V |
detectWithIfNone(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter,
com.gs.collections.api.block.function.Function0<? extends V> function)
Returns the first element of the iterable that evaluates to true for the specified predicate2 and parameter, or
returns the value of evaluating the specified function.
|
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
boolean |
equals(java.lang.Object object)
Follows the same general contract as
Map.equals(Object). |
void |
forEachKey(com.gs.collections.api.block.procedure.Procedure<? super K> procedure)
Calls the
procedure with each key of the map. |
void |
forEachKeyValue(com.gs.collections.api.block.procedure.Procedure2<? super K,? super V> procedure)
Calls the
procedure with each key-value pair of the map. |
void |
forEachValue(com.gs.collections.api.block.procedure.Procedure<? super V> procedure)
Calls the procedure with each value of the map.
|
<P> void |
forEachWith(com.gs.collections.api.block.procedure.Procedure2<? super V,? super P> procedure,
P parameter)
The procedure2 is evaluated for each element in the iterable with the specified parameter provided
as the second argument.
|
void |
forEachWithIndex(com.gs.collections.api.block.procedure.primitive.ObjectIntProcedure<? super V> objectIntProcedure)
Iterates over the iterable passing each element and the current relative int index to the specified instance of
ObjectIntProcedure.
|
V |
get(java.lang.Object key) |
int |
getBatchCount(int batchSize) |
int |
getCollidingBuckets() |
V |
getIfAbsentPut(K key,
com.gs.collections.api.block.function.Function0<? extends V> function)
Get and return the value in the Map at the specified key.
|
V |
getIfAbsentPut(K key,
V value)
Get and return the value in the Map at the specified key.
|
<P> V |
getIfAbsentPutWith(K key,
com.gs.collections.api.block.function.Function<? super P,? extends V> function,
P parameter)
Get and return the value in the Map at the specified key.
|
int |
getMapMemoryUsedInWords()
Returns the number of JVM words that is used by this map.
|
int |
hashCode()
Follows the same general contract as
Map.hashCode(). |
protected int |
index(java.lang.Object key) |
protected int |
init(int initialCapacity) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
java.util.Set<K> |
keySet() |
com.gs.collections.api.map.MutableMap<K,V> |
newEmpty()
Creates a new instance of the same type, using the default capacity and growth parameters.
|
com.gs.collections.api.map.MutableMap<K,V> |
newEmpty(int capacity)
Creates a new instance of the same type, using the given capacity and the default growth parameters.
|
static <K,V> UnifiedMap<K,V> |
newMap() |
static <K,V> UnifiedMap<K,V> |
newMap(int size) |
static <K,V> UnifiedMap<K,V> |
newMap(int size,
float loadFactor) |
static <K,V> UnifiedMap<K,V> |
newMap(java.util.Map<? extends K,? extends V> map) |
static <K,V> UnifiedMap<K,V> |
newMapWith(java.lang.Iterable<com.gs.collections.api.tuple.Pair<K,V>> inputIterable) |
static <K,V> UnifiedMap<K,V> |
newMapWith(com.gs.collections.api.tuple.Pair<K,V>... pairs) |
static <K,V> UnifiedMap<K,V> |
newWithKeysValues(K key,
V value) |
static <K,V> UnifiedMap<K,V> |
newWithKeysValues(K key1,
V value1,
K key2,
V value2) |
static <K,V> UnifiedMap<K,V> |
newWithKeysValues(K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
static <K,V> UnifiedMap<K,V> |
newWithKeysValues(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
boolean |
noneSatisfy(com.gs.collections.api.block.predicate.Predicate<? super V> predicate)
Returns true if the predicate evaluates to false for every element of the iterable or if the iterable is empty.
|
<P> boolean |
noneSatisfyWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter)
Returns true if the predicate evaluates to false for every element of the collection, or return false.
|
V |
put(K key,
V value) |
void |
putAll(java.util.Map<? extends K,? extends V> map) |
void |
readExternal(java.io.ObjectInput in) |
protected void |
rehash(int newCapacity) |
V |
remove(java.lang.Object key) |
V |
removeKey(K key)
Remove an entry from the map at the specified
key. |
int |
size()
Returns the number of items in this iterable.
|
com.gs.collections.api.map.ImmutableMap<K,V> |
toImmutable()
Returns an immutable copy of this map.
|
java.lang.String |
toString()
Returns a string representation of this collection.
|
V |
updateValue(K key,
com.gs.collections.api.block.function.Function0<? extends V> factory,
com.gs.collections.api.block.function.Function<? super V,? extends V> function)
Looks up the value associated with
key, applies the function to it, and replaces the value. |
<P> V |
updateValueWith(K key,
com.gs.collections.api.block.function.Function0<? extends V> factory,
com.gs.collections.api.block.function.Function2<? super V,? super P,? extends V> function,
P parameter)
Same as
MutableMapIterable.updateValue(Object, Function0, Function) with a Function2 and specified parameter which is
passed to the function. |
java.util.Collection<V> |
values() |
UnifiedMap<K,V> |
withKeysValues(K key,
V value) |
UnifiedMap<K,V> |
withKeysValues(K key1,
V value1,
K key2,
V value2) |
UnifiedMap<K,V> |
withKeysValues(K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
UnifiedMap<K,V> |
withKeysValues(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
void |
writeExternal(java.io.ObjectOutput out) |
asSynchronized, asUnmodifiable, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, flatCollect, flip, groupBy, groupByEach, partition, partitionWith, reject, reject, rejectWith, select, select, selectInstancesOf, selectWith, tap, withAllKeyValueArguments, withAllKeyValues, withKeyValue, withoutAllKeys, withoutKey, zip, zipWithIndexadd, aggregateBy, aggregateInPlaceBy, collect, flipUniqueValues, getIfAbsentPutWithKey, groupByUniqueKey, iterator, keysView, keyValuesView, valuesViewasLazy, chunk, contains, each, getFirst, getIfAbsent, getIfAbsentValue, getIfAbsentWith, getLast, ifPresentApply, isAbsent, keyAndValueEquals, keyAndValueHashCode, toArray, toArrayappendString, appendString, appendString, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, containsAll, containsAllArguments, containsAllIterable, count, countWith, flatCollect, forEach, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, notEmpty, reject, rejectWith, select, selectWith, sumByDouble, sumByFloat, sumByInt, sumByLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, zip, zipWithIndexfinalize, getClass, notify, notifyAll, wait, wait, waitforEachaggregateBy, aggregateInPlaceBy, collect, flipUniqueValues, groupByUniqueKeyadd, getIfAbsentPutWithKeygetIfAbsent, getIfAbsentValue, getIfAbsentWith, ifPresentApply, keysView, keyValuesView, valuesViewappendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countWith, each, flatCollect, getFirst, getLast, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, notEmpty, reject, rejectWith, select, selectWith, sumByDouble, sumByFloat, sumByInt, sumByLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, zip, zipWithIndexprotected static final java.lang.Object NULL_KEY
protected static final java.lang.Object CHAINED_KEY
protected static final float DEFAULT_LOAD_FACTOR
protected static final int DEFAULT_INITIAL_CAPACITY
protected transient java.lang.Object[] table
protected transient int occupied
protected float loadFactor
protected int maxSize
public UnifiedMap()
public UnifiedMap(int initialCapacity)
public UnifiedMap(int initialCapacity,
float loadFactor)
public static <K,V> UnifiedMap<K,V> newMap()
public static <K,V> UnifiedMap<K,V> newMap(int size)
public static <K,V> UnifiedMap<K,V> newMap(int size, float loadFactor)
public static <K,V> UnifiedMap<K,V> newMap(java.util.Map<? extends K,? extends V> map)
public static <K,V> UnifiedMap<K,V> newMapWith(com.gs.collections.api.tuple.Pair<K,V>... pairs)
public static <K,V> UnifiedMap<K,V> newMapWith(java.lang.Iterable<com.gs.collections.api.tuple.Pair<K,V>> inputIterable)
public static <K,V> UnifiedMap<K,V> newWithKeysValues(K key, V value)
public static <K,V> UnifiedMap<K,V> newWithKeysValues(K key1, V value1, K key2, V value2)
public static <K,V> UnifiedMap<K,V> newWithKeysValues(K key1, V value1, K key2, V value2, K key3, V value3)
public static <K,V> UnifiedMap<K,V> newWithKeysValues(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
public UnifiedMap<K,V> withKeysValues(K key, V value)
public UnifiedMap<K,V> withKeysValues(K key1, V value1, K key2, V value2, K key3, V value3)
public UnifiedMap<K,V> withKeysValues(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
public UnifiedMap<K,V> clone()
public com.gs.collections.api.map.MutableMap<K,V> newEmpty()
com.gs.collections.api.map.MutableMapIterablepublic com.gs.collections.api.map.MutableMap<K,V> newEmpty(int capacity)
AbstractMutableMapnewEmpty in class AbstractMutableMap<K,V>protected int init(int initialCapacity)
protected int allocate(int capacity)
protected void allocateTable(int sizeToAllocate)
protected void computeMaxSize(int capacity)
protected final int index(java.lang.Object key)
public V updateValue(K key, com.gs.collections.api.block.function.Function0<? extends V> factory, com.gs.collections.api.block.function.Function<? super V,? extends V> function)
com.gs.collections.api.map.MutableMapIterablekey, applies the function to it, and replaces the value. If there
is no value associated with key, starts it off with a value supplied by factory.updateValue in interface com.gs.collections.api.map.MutableMapIterable<K,V>updateValue in class AbstractMutableMapIterable<K,V>public <P> V updateValueWith(K key, com.gs.collections.api.block.function.Function0<? extends V> factory, com.gs.collections.api.block.function.Function2<? super V,? super P,? extends V> function, P parameter)
com.gs.collections.api.map.MutableMapIterableMutableMapIterable.updateValue(Object, Function0, Function) with a Function2 and specified parameter which is
passed to the function.updateValueWith in interface com.gs.collections.api.map.MutableMapIterable<K,V>updateValueWith in class AbstractMutableMapIterable<K,V>public V getIfAbsentPut(K key, com.gs.collections.api.block.function.Function0<? extends V> function)
com.gs.collections.api.map.MutableMapIterablegetIfAbsentPut in interface com.gs.collections.api.map.MutableMapIterable<K,V>getIfAbsentPut in class AbstractMutableMapIterable<K,V>public V getIfAbsentPut(K key, V value)
com.gs.collections.api.map.MutableMapIterablegetIfAbsentPut in interface com.gs.collections.api.map.MutableMapIterable<K,V>getIfAbsentPut in class AbstractMutableMapIterable<K,V>public <P> V getIfAbsentPutWith(K key, com.gs.collections.api.block.function.Function<? super P,? extends V> function, P parameter)
com.gs.collections.api.map.MutableMapIterablegetIfAbsentPutWith in interface com.gs.collections.api.map.MutableMapIterable<K,V>getIfAbsentPutWith in class AbstractMutableMapIterable<K,V>public int getCollidingBuckets()
public int getMapMemoryUsedInWords()
protected void rehash(int newCapacity)
public V get(java.lang.Object key)
public boolean containsKey(java.lang.Object key)
public boolean containsValue(java.lang.Object value)
public void forEachKeyValue(com.gs.collections.api.block.procedure.Procedure2<? super K,? super V> procedure)
com.gs.collections.api.map.MapIterableprocedure with each key-value pair of the map.
final Collection<String> collection = new ArrayList<String>();
MutableMap<Integer, String> map = this.newMapWithKeysValues(1, "One", 2, "Two", 3, "Three");
map.forEachKeyValue(new Procedure2<Integer, String>()
{
public void value(final Integer key, final String value)
{
collection.add(String.valueOf(key) + value);
}
});
Verify.assertContainsAll(collection, "1One", "2Two", "3Three");
public <E> com.gs.collections.api.map.MutableMap<K,V> collectKeysAndValues(java.lang.Iterable<E> iterable, com.gs.collections.api.block.function.Function<? super E,? extends K> keyFunction, com.gs.collections.api.block.function.Function<? super E,? extends V> valueFunction)
com.gs.collections.api.map.MutableMapiterable to this. The key and value for each entry
is determined by applying the keyFunction and valueFunction to each item in
collection. Any entry in map that has the same key as an entry in this
will have its value replaced by that in map.public V removeKey(K key)
com.gs.collections.api.map.MutableMapIterablekey.public int getBatchCount(int batchSize)
getBatchCount in interface BatchIterable<V>public void batchForEach(com.gs.collections.api.block.procedure.Procedure<? super V> procedure, int sectionIndex, int sectionCount)
batchForEach in interface BatchIterable<V>public void forEachKey(com.gs.collections.api.block.procedure.Procedure<? super K> procedure)
com.gs.collections.api.map.MapIterableprocedure with each key of the map.
final Collection<Integer> result = new ArrayList<Integer>();
MutableMap<Integer, String> map = this.newMapWithKeysValues(1, "1", 2, "2", 3, "3");
map.forEachKey(new CollectionAddProcedure<Integer>(result));
Verify.assertContainsAll(result, 1, 2, 3);
forEachKey in interface com.gs.collections.api.map.MapIterable<K,V>forEachKey in class AbstractMapIterable<K,V>public void forEachValue(com.gs.collections.api.block.procedure.Procedure<? super V> procedure)
com.gs.collections.api.map.MapIterable
Set<String> result = UnifiedSet.newSet();
MutableMap<Integer, String> map = this.newMapWithKeysValues(1, "One", 2, "Two", 3, "Three", 4, "Four");
map.forEachValue(new CollectionAddProcedure<String>(result));
Verify.assertSetsEqual(UnifiedSet.newSetWith("One", "Two", "Three", "Four"), result);
forEachValue in interface com.gs.collections.api.map.MapIterable<K,V>forEachValue in class AbstractMapIterable<K,V>public boolean isEmpty()
com.gs.collections.api.RichIterableprotected void copyMap(UnifiedMap<K,V> unifiedMap)
public int size()
com.gs.collections.api.RichIterablepublic boolean equals(java.lang.Object object)
com.gs.collections.api.map.MapIterableMap.equals(Object).public int hashCode()
com.gs.collections.api.map.MapIterableMap.hashCode().public java.lang.String toString()
AbstractRichIterable
This implementation creates an empty string buffer, appends a left square bracket, and iterates over the collection appending the string representation of each element in turn. After appending each element except the last, the string ", " is appended. Finally a right bracket is appended. A string is obtained from the string buffer, and returned.
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void forEachWithIndex(com.gs.collections.api.block.procedure.primitive.ObjectIntProcedure<? super V> objectIntProcedure)
com.gs.collections.api.InternalIterableExample using a Java 8 lambda:
people.forEachWithIndex((Person person, int index) -> LOGGER.info("Index: " + index + " person: " + person.getName()));
Example using an anonymous inner class:
people.forEachWithIndex(new ObjectIntProcedure() { public void value(Person person, int index) { LOGGER.info("Index: " + index + " person: " + person.getName()); } });
forEachWithIndex in interface com.gs.collections.api.InternalIterable<V>forEachWithIndex in class AbstractMapIterable<K,V>public <P> void forEachWith(com.gs.collections.api.block.procedure.Procedure2<? super V,? super P> procedure, P parameter)
com.gs.collections.api.InternalIterableExample using a Java 8 lambda:
people.forEachWith((Person person, Person other) ->
{
if (person.isRelatedTo(other))
{
LOGGER.info(person.getName());
}
}, fred);
Example using an anonymous inner class:
people.forEachWith(new Procedure2() { public void value(Person person, Person other) { if (person.isRelatedTo(other)) { LOGGER.info(person.getName()); } } }, fred);
forEachWith in interface com.gs.collections.api.InternalIterable<V>forEachWith in class AbstractMapIterable<K,V>public <R> com.gs.collections.api.map.MutableMap<K,R> collectValues(com.gs.collections.api.block.function.Function2<? super K,? super V,? extends R> function)
com.gs.collections.api.map.MapIterable
e.g.
peopleByCity.collectValues(new Function2<City, Person, String>()
{
public String value(City city, Person person)
{
return person.getFirstName() + " " + person.getLastName();
}
});
collectValues in interface com.gs.collections.api.map.MapIterable<K,V>collectValues in interface com.gs.collections.api.map.MutableMap<K,V>collectValues in interface com.gs.collections.api.map.MutableMapIterable<K,V>collectValues in interface com.gs.collections.api.map.UnsortedMapIterable<K,V>collectValues in class AbstractMutableMap<K,V>public com.gs.collections.api.tuple.Pair<K,V> detect(com.gs.collections.api.block.predicate.Predicate2<? super K,? super V> predicate)
com.gs.collections.api.map.MapIterable
e.g.
peopleByCity.detect(new Predicate2<City, Person>()
{
public boolean accept(City city, Person person)
{
return city.getName().equals("Anytown") && person.getLastName().equals("Smith");
}
});
public V detect(com.gs.collections.api.block.predicate.Predicate<? super V> predicate)
com.gs.collections.api.RichIterableExample using a Java 8 lambda expression:
Person person =
people.detect(person -> person.getFirstName().equals("John") && person.getLastName().equals("Smith"));
Example using an anonymous inner class:
Person person =
people.detect(new Predicate<Person>()
{
public boolean value(Person person)
{
return person.getFirstName().equals("John") && person.getLastName().equals("Smith");
}
});
detect in interface com.gs.collections.api.RichIterable<V>detect in class AbstractMapIterable<K,V>public <P> V detectWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate, P parameter)
com.gs.collections.api.RichIterableExample using a Java 8 lambda expression:
Person person =
people.detectWith((person, fullName) -> person.getFullName().equals(fullName), "John Smith");
Example using an anonymous inner class:
Person person =
people.detectWith(new Predicate2<Person, String>()
{
public boolean value(Person person, String fullName)
{
return person.getFullName().equals(fullName);
}
}, "John Smith");
detectWith in interface com.gs.collections.api.RichIterable<V>detectWith in class AbstractMapIterable<K,V>public V detectIfNone(com.gs.collections.api.block.predicate.Predicate<? super V> predicate, com.gs.collections.api.block.function.Function0<? extends V> function)
com.gs.collections.api.RichIterabledetectIfNone in interface com.gs.collections.api.RichIterable<V>detectIfNone in class AbstractMapIterable<K,V>public <P> V detectWithIfNone(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate, P parameter, com.gs.collections.api.block.function.Function0<? extends V> function)
com.gs.collections.api.RichIterabledetectWithIfNone in interface com.gs.collections.api.RichIterable<V>detectWithIfNone in class AbstractMapIterable<K,V>public boolean anySatisfy(com.gs.collections.api.block.predicate.Predicate<? super V> predicate)
com.gs.collections.api.RichIterableanySatisfy in interface com.gs.collections.api.RichIterable<V>anySatisfy in class AbstractMapIterable<K,V>public <P> boolean anySatisfyWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate, P parameter)
com.gs.collections.api.RichIterableanySatisfyWith in interface com.gs.collections.api.RichIterable<V>anySatisfyWith in class AbstractMapIterable<K,V>public boolean allSatisfy(com.gs.collections.api.block.predicate.Predicate<? super V> predicate)
com.gs.collections.api.RichIterableallSatisfy in interface com.gs.collections.api.RichIterable<V>allSatisfy in class AbstractMapIterable<K,V>public <P> boolean allSatisfyWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate, P parameter)
com.gs.collections.api.RichIterableallSatisfyWith in interface com.gs.collections.api.RichIterable<V>allSatisfyWith in class AbstractMapIterable<K,V>public boolean noneSatisfy(com.gs.collections.api.block.predicate.Predicate<? super V> predicate)
com.gs.collections.api.RichIterablenoneSatisfy in interface com.gs.collections.api.RichIterable<V>noneSatisfy in class AbstractMapIterable<K,V>public <P> boolean noneSatisfyWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate, P parameter)
com.gs.collections.api.RichIterablenoneSatisfyWith in interface com.gs.collections.api.RichIterable<V>noneSatisfyWith in class AbstractMapIterable<K,V>public com.gs.collections.api.map.ImmutableMap<K,V> toImmutable()
com.gs.collections.api.map.MutableMapIterabletoImmutable in interface com.gs.collections.api.map.MapIterable<K,V>toImmutable in interface com.gs.collections.api.map.MutableMapIterable<K,V>toImmutable in interface com.gs.collections.api.map.UnsortedMapIterable<K,V>toImmutable in class AbstractMutableMap<K,V>