org.apache.ignite.ml.selection.split.mapper

## Interface UniformMapper<K,V>

- Type Parameters:
    `K` - Type of a key.
    `V` - Type of a value.
  All Superinterfaces:
    Serializable
  All Known Implementing Classes:
    SHA256UniformMapper
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public interface UniformMapper<K,V>
      extends Serializable

  Interface for util mappers that maps a key-value pair to a point on the segment (0, 1).

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `map(K key, V val)` Maps key-value pair to a point on the segment (0, 1).

- - ### Method Detail

    - #### map

          double map(K key,
                     V val)

      Maps key-value pair to a point on the segment (0, 1).
      Parameters:
        `key` - Key.
        `val` - Value.
      Returns:
        Point on the segment (0, 1).

2020 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.9.1
Release Date | : December 9 2020