Interface Keyer<K,V>

Type Parameters:
K - the key type
V - the element type

public interface Keyer<K,V>
A Keyer supplies keys for the elements of a KeyedSet.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the key that this keyer wishes to assign to the element v.
  • Method Details

    • getKeyFor

      K getKeyFor(V v)
      Returns the key that this keyer wishes to assign to the element v.