public class EmptyResult extends Result
Result.DatatypemodCount| Constructor and Description |
|---|
EmptyResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int arg0,
Result arg1) |
boolean |
add(Result value) |
boolean |
addAll(Collection<? extends Result> newValues) |
boolean |
addAll(int index,
Collection<? extends Result> newValues) |
void |
clear() |
boolean |
isEmpty() |
boolean |
isNull() |
Result |
remove(int index) |
boolean |
remove(Object value) |
boolean |
removeAll(Collection<?> c) |
Result |
set(int index,
Result element) |
Boolean |
toBoolean() |
contains, contains, containsConcept, earliest, emptyResult, equals, exists, get, getDatatype, getResultDate, getResultObject, gt, hashCode, latest, setDatatype, setResultDate, setResultObject, setValueBoolean, setValueCoded, setValueDatetime, setValueNumeric, setValueNumeric, setValueText, toConcept, toDatetime, toNumber, toObject, toString, uniqueclone, contains, ensureCapacity, forEach, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeIf, removeRange, replaceAll, retainAll, size, sort, spliterator, subList, toArray, toArray, trimToSizecontainsAllfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAllparallelStream, streampublic void add(int arg0,
Result arg1)
public boolean add(Result value)
add in interface Collection<Result>add in interface List<Result>add in class ArrayList<Result>ArrayList.add(Object)public boolean addAll(Collection<? extends Result> newValues)
addAll in interface Collection<Result>addAll in interface List<Result>addAll in class ArrayList<Result>ArrayList.addAll(java.util.Collection)public boolean addAll(int index,
Collection<? extends Result> newValues)
public void clear()
clear in interface Collection<Result>clear in interface List<Result>clear in class ArrayList<Result>ArrayList.clear()public boolean isEmpty()
isEmpty in interface Collection<Result>isEmpty in interface List<Result>isEmpty in class ArrayList<Result>Should return truepublic Boolean toBoolean()
toBoolean in class Result| Datatype | Returns |
|---|---|
| CODED | false for concept FALSE true for all others |
| DATETIME | true for any date value false if the date is null |
| NUMERIC | true for any non-zero number false for zero |
| TEXT | true for any non-blank value false if blank or null |
Result.toBoolean()public boolean isNull()
isNull in class ResultShould return truepublic Result remove(int index)
public boolean remove(Object value)
remove in interface Collection<Result>remove in interface List<Result>remove in class ArrayList<Result>ArrayList.remove(java.lang.Object)public boolean removeAll(Collection<?> c)
removeAll in interface Collection<Result>removeAll in interface List<Result>removeAll in class ArrayList<Result>ArrayList.removeAll(java.util.Collection)Copyright © 2024 OpenMRS Inc.. All rights reserved.