public static <A,K,V> SecondaryHashMap<A,K,V> secondaryHashMap( String objectName, SecondaryKeyExtractor<A, K, V> secKeyExtractor, JdbmBase<K,V> b){ try{ HTree<A,Iterable<K>> secTree = secondaryHTree(objectName, secKeyExtractor, b); HTreeSecondaryMap<A, K, V> ret = new HTreeSecondaryMap<A, K, V>(secTree, b); return ret; }catch (IOException e){ throw new IOError(e); } }