public class SearchResults extends Object implements Iterable<SearchResults.Result>
Modifier and Type | Class and Description |
---|---|
static class |
SearchResults.Result |
Constructor and Description |
---|
SearchResults() |
Modifier and Type | Method and Description |
---|---|
void |
addResult(org.opennms.newts.api.Resource resource,
Collection<String> metrics) |
void |
addResult(SearchResults.Result result) |
boolean |
isEmpty() |
Iterator<SearchResults.Result> |
iterator() |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public void addResult(org.opennms.newts.api.Resource resource, Collection<String> metrics)
public void addResult(SearchResults.Result result)
public int size()
public boolean isEmpty()
public Iterator<SearchResults.Result> iterator()
iterator
in interface Iterable<SearchResults.Result>
Copyright © 2020. All rights reserved.