public class ResultListPOJO extends Object implements Iterable<ResultPOJO>
| Constructor and Description |
|---|
ResultListPOJO() |
ResultListPOJO(Collection<Map<Well,Integer>> collection)
Creates a result list POJO from a collection of well objects.
|
ResultListPOJO(Collection<Map<Well,Integer>> collection,
List<String> labels)
Creates a result list POJO from a collection of well objects.
|
ResultListPOJO(Map<Well,Integer> results)
Creates a result list POJO from a well object.
|
ResultListPOJO(Map<Well,Integer> results,
String label)
Creates a result list POJO from a well object.
|
| Modifier and Type | Method and Description |
|---|---|
ResultPOJO |
get(int index)
Returns the result at the indicated index.
|
List<ResultPOJO> |
getResults()
Gets the list of result POJOs.
|
Iterator<ResultPOJO> |
iterator()
Returns an iterator for the list of results.
|
void |
setResults(List<ResultPOJO> results)
Sets the list of result POJOs.
|
int |
size()
Returns the size of the result list.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ResultListPOJO()
public ResultListPOJO(Map<Well,Integer> results)
Map - Integer> the input results public ResultListPOJO(Map<Well,Integer> results, String label)
Map - Integer> the input results public ResultListPOJO(Collection<Map<Well,Integer>> collection)
Collectionpublic void setResults(List<ResultPOJO> results)
List - the new list of resultspublic List<ResultPOJO> getResults()
public ResultPOJO get(int index)
int - the index into the well listpublic Iterator<ResultPOJO> iterator()
iterator in interface Iterable<ResultPOJO>public int size()
Copyright © 2017. All rights reserved.