Class BTreeVisitor.GTVisitor<Key extends Comparable<Key>,Value>

java.lang.Object
org.apache.activemq.store.kahadb.disk.index.BTreeVisitor.PredicateVisitor<Key,Value>
org.apache.activemq.store.kahadb.disk.index.BTreeVisitor.GTVisitor<Key,Value>
All Implemented Interfaces:
BTreeVisitor<Key,Value>, BTreeVisitor.Predicate<Key>
Enclosing interface:
BTreeVisitor<Key,Value>

public static class BTreeVisitor.GTVisitor<Key extends Comparable<Key>,Value> extends BTreeVisitor.PredicateVisitor<Key,Value>
  • Constructor Details

    • GTVisitor

      public GTVisitor(Key value)
  • Method Details

    • isInterestedInKeysBetween

      public boolean isInterestedInKeysBetween(Key first, Key second)
      Description copied from interface: BTreeVisitor
      Do you want to visit the range of BTree entries between the first and and second key?
      Parameters:
      first - if null indicates the range of values before the second key.
      second - if null indicates the range of values after the first key.
      Returns:
      true if you want to visit the values between the first and second key.
    • isInterestedInKey

      public boolean isInterestedInKey(Key key)
    • toString

      public String toString()
      Overrides:
      toString in class Object