org.galagosearch.core.store
Class SnippetGenerator.SnippetRegion

java.lang.Object
  extended by org.galagosearch.core.store.SnippetGenerator.SnippetRegion
Enclosing class:
SnippetGenerator

public static class SnippetGenerator.SnippetRegion
extends java.lang.Object


Constructor Summary
SnippetGenerator.SnippetRegion(java.util.ArrayList<SnippetGenerator.Match> m, int s, int e)
           
SnippetGenerator.SnippetRegion(java.lang.String term, int index, int width, int maximum)
           
 
Method Summary
 boolean equals(SnippetGenerator.SnippetRegion o)
           
 java.util.ArrayList<SnippetGenerator.Match> getMatches()
           
 SnippetGenerator.SnippetRegion merge(SnippetGenerator.SnippetRegion o)
           
 boolean overlap(SnippetGenerator.SnippetRegion o)
           
 int size()
           
 boolean within(SnippetGenerator.SnippetRegion o, int distance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnippetGenerator.SnippetRegion

public SnippetGenerator.SnippetRegion(java.lang.String term,
                                      int index,
                                      int width,
                                      int maximum)

SnippetGenerator.SnippetRegion

public SnippetGenerator.SnippetRegion(java.util.ArrayList<SnippetGenerator.Match> m,
                                      int s,
                                      int e)
Method Detail

overlap

public boolean overlap(SnippetGenerator.SnippetRegion o)

within

public boolean within(SnippetGenerator.SnippetRegion o,
                      int distance)

merge

public SnippetGenerator.SnippetRegion merge(SnippetGenerator.SnippetRegion o)

equals

public boolean equals(SnippetGenerator.SnippetRegion o)

size

public int size()

getMatches

public java.util.ArrayList<SnippetGenerator.Match> getMatches()


Copyright © 2009. All Rights Reserved.