Uses of Interface
org.eclipse.collections.api.block.function.primitive.ShortToShortFunction

Packages that use ShortToShortFunction
Package
Description
This package contains interfaces for Eclipse Collections API.
This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
  • Uses of ShortToShortFunction in org.eclipse.collections.api

    Methods in org.eclipse.collections.api with parameters of type ShortToShortFunction
    Modifier and Type
    Method
    Description
    LazyShortIterable.collectShort(ShortToShortFunction function)
     
    default <R extends MutableShortCollection>
    R
    ShortIterable.collectShort(ShortToShortFunction function, R target)
    Returns the target MutableShortCollection with the results of applying the specified function on each element of the source collection.
  • Uses of ShortToShortFunction in org.eclipse.collections.api.map.primitive

    Modifier and Type
    Method
    Description
    short
    MutableShortShortMap.getIfAbsentPutWithKey(short key, ShortToShortFunction function)
    Retrieves the value associated with the key if one exists; if it does not, associates the result of invoking the value function with the key.
    short
    MutableByteShortMap.updateValue(byte key, short initialValueIfAbsent, ShortToShortFunction function)
    Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or to the specified initial value if one does not.
    short
    MutableCharShortMap.updateValue(char key, short initialValueIfAbsent, ShortToShortFunction function)
    Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or to the specified initial value if one does not.
    short
    MutableDoubleShortMap.updateValue(double key, short initialValueIfAbsent, ShortToShortFunction function)
    Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or to the specified initial value if one does not.
    short
    MutableFloatShortMap.updateValue(float key, short initialValueIfAbsent, ShortToShortFunction function)
    Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or to the specified initial value if one does not.
    short
    MutableIntShortMap.updateValue(int key, short initialValueIfAbsent, ShortToShortFunction function)
    Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or to the specified initial value if one does not.
    short
    MutableLongShortMap.updateValue(long key, short initialValueIfAbsent, ShortToShortFunction function)
    Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or to the specified initial value if one does not.
    short
    MutableObjectShortMap.updateValue(K key, short initialValueIfAbsent, ShortToShortFunction function)
    Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or to the specified initial value if one does not.
    short
    MutableShortShortMap.updateValue(short key, short initialValueIfAbsent, ShortToShortFunction function)
    Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or to the specified initial value if one does not.