Interface AvlUtil.AvlKeyComparator<TNode extends AvlUtil.AvlNode>

Enclosing class:
AvlUtil

@Private public static interface AvlUtil.AvlKeyComparator<TNode extends AvlUtil.AvlNode>
The AvlTree allows to lookup an object using a custom key. e.g. the java Map allows only to lookup by key using the Comparator specified in the constructor. In this case you can pass a specific comparator for every needs.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    compareKey(TNode node, Object key)