com.liferay.portal.kernel.search
Class HitsImpl

java.lang.Object
  extended by com.liferay.portal.kernel.search.HitsImpl
All Implemented Interfaces:
Hits, java.io.Serializable

public class HitsImpl
extends java.lang.Object
implements Hits

View Source

Author:
Brian Wing Shun Chan, Bruno Farache
See Also:
Serialized Form

Constructor Summary
HitsImpl()
           
 
Method Summary
 Document doc(int n)
           
 Document[] getDocs()
           
 int getLength()
           
 float[] getScores()
           
 float getSearchTime()
           
 long getStart()
           
 float score(int n)
           
 void setDocs(Document[] docs)
           
 void setLength(int length)
           
 void setScores(float[] scores)
           
 void setScores(java.lang.Float[] scores)
           
 void setSearchTime(float time)
           
 void setStart(long start)
           
 java.util.List<Document> toList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HitsImpl

public HitsImpl()
Method Detail

getStart

public long getStart()
Specified by:
getStart in interface Hits

setStart

public void setStart(long start)
Specified by:
setStart in interface Hits

getSearchTime

public float getSearchTime()
Specified by:
getSearchTime in interface Hits

setSearchTime

public void setSearchTime(float time)
Specified by:
setSearchTime in interface Hits

getDocs

public Document[] getDocs()
Specified by:
getDocs in interface Hits

setDocs

public void setDocs(Document[] docs)
Specified by:
setDocs in interface Hits

getLength

public int getLength()
Specified by:
getLength in interface Hits

setLength

public void setLength(int length)
Specified by:
setLength in interface Hits

getScores

public float[] getScores()
Specified by:
getScores in interface Hits

setScores

public void setScores(float[] scores)
Specified by:
setScores in interface Hits

setScores

public void setScores(java.lang.Float[] scores)
Specified by:
setScores in interface Hits

doc

public Document doc(int n)
Specified by:
doc in interface Hits

score

public float score(int n)
Specified by:
score in interface Hits

toList

public java.util.List<Document> toList()
Specified by:
toList in interface Hits