com.joanju.cg.plugin
Class CgMatch

java.lang.Object
  extended by Match
      extended by com.joanju.cg.plugin.CgMatch

public class CgMatch
extends Match

For whatever reason, the default Match objects aren't unique in my AbstractTextSearchResult. This class adds its own test for equals (as well as its own hash).


Constructor Summary
CgMatch(IFile ifile, int line)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 IFile getIfile()
           
 int getLine()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CgMatch

public CgMatch(IFile ifile,
               int line)
Method Detail

equals

public boolean equals(java.lang.Object obj)

getIfile

public IFile getIfile()

getLine

public int getLine()

hashCode

public int hashCode()


Copyright © 2008 Joanju Software. All Rights Reserved.