|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ecf.presence.search.ResultList
public class ResultList
This Class implements IResultList. Subclasses may be created as
appropriate.
| Field Summary | |
|---|---|
protected java.util.Set |
results
|
| Constructor Summary | |
|---|---|
ResultList()
Create a new synchronized result list from a existing one |
|
ResultList(java.util.Collection existingResults)
Create a new synchronized result list from a existing one |
|
| Method Summary | |
|---|---|
boolean |
add(IResult item)
Add an item for the result list |
void |
addAll(java.util.Collection existingResults)
Add the list for the current result list |
java.lang.Object |
getAdapter(java.lang.Class adapter)
|
IResult |
getResult(java.lang.String field,
java.lang.String value)
Get the result that math the specific field and value |
java.util.Collection |
getResults()
Get results that match the search. |
boolean |
remove(IResult item)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Set results
| Constructor Detail |
|---|
public ResultList(java.util.Collection existingResults)
existingResults - public ResultList()
| Method Detail |
|---|
public boolean add(IResult item)
item -
public void addAll(java.util.Collection existingResults)
existingResults - public java.util.Collection getResults()
IResultListIResult
getResults in interface IResultListnull.
May return an empty Collection.public boolean remove(IResult item)
public IResult getResult(java.lang.String field,
java.lang.String value)
IResultList
getResult in interface IResultListfield - field's name used as argument to try to match the searchvalue - value for the respective field used as argument to try to match the search
public java.lang.Object getAdapter(java.lang.Class adapter)
getAdapter in interface org.eclipse.core.runtime.IAdaptablepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||