Package com.anylogic.engine.gis
- java.lang.Object
- com.anylogic.engine.gis.AbstractGISResult
- com.anylogic.engine.gis.GISResult<T>
@AnyLogicInternalAPI public class GISResult<T> extends AbstractGISResult
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
- Author:
- AnyLogic North America, LLC https://anylogic.com
Modifier and Type | Method | Description |
---|---|---|
static <T> GISResult<T> | empty() | |
static <T> GISResult<T> | error() |
network error, or cache entry expired, etc.
|
GISResultDouble | flatMapToDouble | |
T | get() | |
GISResultDouble | mapToDouble | |
static <T> GISResult<T> | of | |
T | orElse |
public static <T> GISResult<T> of(T value)
public static <T> GISResult<T> empty()
public static <T> GISResult<T> error()
network error, or cache entry expired, etc.
public T get()
public T orElse(T other)
public GISResultDouble mapToDouble(ToDoubleFunction<T> mapper)
public GISResultDouble flatMapToDouble(Function<T, GISResultDouble> mapper)