jdbm
Interface SecondaryKeyExtractor<A,K,V>

Type Parameters:
A - Type of secondary key
K - Type of primary key
V - Type of primary value

public interface SecondaryKeyExtractor<A,K,V>

Extract secondary key from record in primary map.

Author:
Jan Kotek

Method Summary
 A extractSecondaryKey(K key, V value)
          Extracts secondary key from primary map
 

Method Detail

extractSecondaryKey

A extractSecondaryKey(K key,
                      V value)
Extracts secondary key from primary map

Parameters:
key - key in primary table
value - value in primary table
Returns:
secondary key or null to skip this record


Cees de Groot (C) 2000. All rights reserved http://jdbm.sourceforge.net