| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataCollector
Collects index data from an Indexer.
| Method Summary | |
|---|---|
 void | 
add(java.lang.String key,
    int hash,
    int flags,
    int start,
    int end)
Add index data for the given key.  | 
 int | 
hash(int hash,
     char c)
Generate a new hash code based on an existing hash code, by adding the given character.  | 
 int | 
hash(javax.swing.text.Segment segment)
Generate a hash code from the given Segment.  | 
| Method Detail | 
|---|
void add(java.lang.String key,
         int hash,
         int flags,
         int start,
         int end)
hash(javax.swing.text.Segment) method can be used to generate the hash.
key - the data keyhash - the hash code of the dataflags - additional data flagsstart - the start position of the data in the bufferend - the end position of the data in the bufferint hash(javax.swing.text.Segment segment)
segment - the segment
int hash(int hash,
         char c)
hash - the existing hash codec - the character to add
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||