Top Description Inners Constructors Methods
org.eclipse.collections.impl.map.immutable.primitive

public abstract Class AbstractImmutableDoubleObjectMap<V>

extends Object
implements ImmutableDoubleObjectMap<V>
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.map.primitive.ImmutableDoubleObjectMap, org.eclipse.collections.api.map.primitive.ImmutablePrimitiveObjectMap, org.eclipse.collections.api.map.primitive.PrimitiveObjectMap, org.eclipse.collections.api.RichIterable, org.eclipse.collections.api.InternalIterable, java.lang.Iterable, org.eclipse.collections.api.map.primitive.DoubleObjectMap
Known Direct Subclasses
org.eclipse.collections.impl.map.immutable.primitive.ImmutableDoubleObjectHashMap, org.eclipse.collections.impl.map.immutable.primitive.ImmutableDoubleObjectSingletonMap
Imports
java.io.Externalizable, .IOException, .ObjectInput, .ObjectOutput, org.eclipse.collections.api.block.function.Function, org.eclipse.collections.api.block.function.primitive.DoubleFunction, .FloatFunction, .IntFunction, .LongFunction, org.eclipse.collections.api.map.primitive.ImmutableDoubleObjectMap, .ImmutableObjectDoubleMap, .ImmutableObjectLongMap, .MutableDoubleObjectMap, .MutableObjectDoubleMap, .MutableObjectLongMap, .DoubleObjectMap, org.eclipse.collections.impl.block.factory.PrimitiveFunctions, org.eclipse.collections.impl.block.procedure.checked.primitive.CheckedDoubleObjectProcedure, org.eclipse.collections.impl.factory.primitive.ObjectDoubleMaps, .ObjectLongMaps, org.eclipse.collections.impl.map.mutable.primitive.DoubleObjectHashMap

This file was automatically generated from template file abstractImmutablePrimitiveObjectMap.stg.
Since
4.0.

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public <V1> ImmutableObjectDoubleMap<V1>
sumByDouble(Function<? super V, ? extends V1> groupBy, DoubleFunction<? super V> function)

Implements org.eclipse.collections.api.RichIterable.sumByDouble, org.eclipse.collections.api.map.primitive.ImmutablePrimitiveObjectMap.sumByDouble.

Groups and sums the values using the two specified functions.

public <V1> ImmutableObjectDoubleMap<V1>
sumByFloat(Function<? super V, ? extends V1> groupBy, FloatFunction<? super V> function)

Implements org.eclipse.collections.api.RichIterable.sumByFloat, org.eclipse.collections.api.map.primitive.ImmutablePrimitiveObjectMap.sumByFloat.

Groups and sums the values using the two specified functions.

public <V1> ImmutableObjectLongMap<V1>
sumByInt(Function<? super V, ? extends V1> groupBy, IntFunction<? super V> function)

Implements org.eclipse.collections.api.RichIterable.sumByInt, org.eclipse.collections.api.map.primitive.ImmutablePrimitiveObjectMap.sumByInt.

Groups and sums the values using the two specified functions.

public <V1> ImmutableObjectLongMap<V1>
sumByLong(Function<? super V, ? extends V1> groupBy, LongFunction<? super V> function)

Implements org.eclipse.collections.api.RichIterable.sumByLong, org.eclipse.collections.api.map.primitive.ImmutablePrimitiveObjectMap.sumByLong.

Groups and sums the values using the two specified functions.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractImmutableDoubleObjectMapback to summary
public AbstractImmutableDoubleObjectMap()

Method Detail

sumByDoubleback to summary
public <V1> ImmutableObjectDoubleMap<V1> sumByDouble(Function<? super V, ? extends V1> groupBy, DoubleFunction<? super V> function)

Implements org.eclipse.collections.api.RichIterable.sumByDouble, org.eclipse.collections.api.map.primitive.ImmutablePrimitiveObjectMap.sumByDouble.

Doc from org.eclipse.collections.api.RichIterable.sumByDouble.

Groups and sums the values using the two specified functions.

Annotations
@Override
sumByFloatback to summary
public <V1> ImmutableObjectDoubleMap<V1> sumByFloat(Function<? super V, ? extends V1> groupBy, FloatFunction<? super V> function)

Implements org.eclipse.collections.api.RichIterable.sumByFloat, org.eclipse.collections.api.map.primitive.ImmutablePrimitiveObjectMap.sumByFloat.

Doc from org.eclipse.collections.api.RichIterable.sumByFloat.

Groups and sums the values using the two specified functions.

Annotations
@Override
sumByIntback to summary
public <V1> ImmutableObjectLongMap<V1> sumByInt(Function<? super V, ? extends V1> groupBy, IntFunction<? super V> function)

Implements org.eclipse.collections.api.RichIterable.sumByInt, org.eclipse.collections.api.map.primitive.ImmutablePrimitiveObjectMap.sumByInt.

Doc from org.eclipse.collections.api.RichIterable.sumByInt.

Groups and sums the values using the two specified functions.

Annotations
@Override
sumByLongback to summary
public <V1> ImmutableObjectLongMap<V1> sumByLong(Function<? super V, ? extends V1> groupBy, LongFunction<? super V> function)

Implements org.eclipse.collections.api.RichIterable.sumByLong, org.eclipse.collections.api.map.primitive.ImmutablePrimitiveObjectMap.sumByLong.

Doc from org.eclipse.collections.api.RichIterable.sumByLong.

Groups and sums the values using the two specified functions.

Annotations
@Override
org.eclipse.collections.impl.map.immutable.primitive back to summary

protected Class AbstractImmutableDoubleObjectMap.ImmutableDoubleObjectMapSerializationProxy<V>

extends Object
implements Externalizable
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.map.immutable.primitive.AbstractImmutableDoubleObjectMap.ImmutableDoubleObjectMapSerializationProxy
All Implemented Interfaces
java.io.Externalizable, java.io.Serializable

Field Summary

Modifier and TypeField and Description
private DoubleObjectMap<V>
private static final long

Constructor Summary

AccessConstructor and Description
public
protected

Method Summary

Modifier and TypeMethod and Description
public void
readExternal(ObjectInput in)

Implements java.io.Externalizable.readExternal.

The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.

protected Object
public void
writeExternal(final ObjectOutput out)

Implements java.io.Externalizable.writeExternal.

The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

mapback to summary
private DoubleObjectMap<V> map
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

ImmutableDoubleObjectMapSerializationProxyback to summary
public ImmutableDoubleObjectMapSerializationProxy()
ImmutableDoubleObjectMapSerializationProxyback to summary
protected ImmutableDoubleObjectMapSerializationProxy(DoubleObjectMap<V> map)

Method Detail

readExternalback to summary
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException

Implements java.io.Externalizable.readExternal.

Doc from java.io.Externalizable.readExternal.

The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.

Annotations
@Override
Exceptions
IOException:
if I/O errors occur
ClassNotFoundException:
If the class for an object being restored cannot be found.
readResolveback to summary
protected Object readResolve()
writeExternalback to summary
public void writeExternal(final ObjectOutput out) throws IOException

Implements java.io.Externalizable.writeExternal.

Doc from java.io.Externalizable.writeExternal.

The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.

Annotations
@Override
Exceptions
IOException:
Includes any I/O exceptions that may occur