T - Class of access objects contained in the resultpublic final class SearchResult<T extends ElementAccess<? extends NamedElement>>
extends java.lang.Object
| Constructor and Description |
|---|
SearchResult() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<T> |
getAllMatches()
Returns all results of the search operation.
|
java.util.Optional<T> |
getFirstMatch()
Returns the first item returned by the search operation.
|
int |
size()
Number of items in the search result.
|
public int size()
public java.util.Optional<T> getFirstMatch()
public java.util.List<T> getAllMatches()