T - Typepublic abstract class AbstractNutsResultList<T> extends Object implements NutsResultList<T>
| Modifier and Type | Field and Description |
|---|---|
protected NutsSession |
session |
| Constructor and Description |
|---|
AbstractNutsResultList(NutsSession session,
String nutsBase) |
| Modifier and Type | Method and Description |
|---|---|
long |
count() |
T |
first() |
List<T> |
list() |
T |
required() |
T |
singleton() |
Stream<T> |
stream() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, iterator, spliteratorprotected NutsSession session
public AbstractNutsResultList(NutsSession session, String nutsBase)
public List<T> list()
list in interface NutsResultList<T>public T first()
first in interface NutsResultList<T>public T required() throws NutsNotFoundException
required in interface NutsResultList<T>NutsNotFoundExceptionpublic T singleton()
singleton in interface NutsResultList<T>public Stream<T> stream()
stream in interface NutsResultList<T>public long count()
count in interface NutsResultList<T>Copyright © 2021 vpc open source initiative. All rights reserved.