Home » activemq-parent-5.3.1-source-release » org.apache.kahadb.index » [javadoc | source]
org.apache.kahadb.index
public static class: BTreeIndex.StringPrefixer [javadoc | source]
java.lang.Object
   org.apache.kahadb.index.BTreeIndex$StringPrefixer

All Implemented Interfaces:
    Prefixer

StringPrefixer is a Prefixer implementation that works on strings.
Method from org.apache.kahadb.index.BTreeIndex$StringPrefixer Summary:
getSimplePrefix
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.kahadb.index.BTreeIndex$StringPrefixer Detail:
 public String getSimplePrefix(String value1,
    String value2) 
    Example: If value1 is "Hello World" and value 2 is "Help Me" then the result will be: "Help"