AnyLogic
Expand
Font size

@AnyLogicInternalAPI
public class GISResultDouble
extends AbstractGISResult
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
Author:
AnyLogic North America, LLC https://anylogic.com

Nested Class Summary

Nested classes/interfaces inherited from class com.anylogic.engine.gis.AbstractGISResult

AbstractGISResult.Type

Method Summary

Modifier and TypeMethodDescription
static GISResultDoubleempty() 
static GISResultDoubleerror()
network error, or cache entry expired, etc.
doublegetAsDouble() 
static GISResultDoubleof(double value) 
doubleorElse(double other)

Methods inherited from class com.anylogic.engine.gis.AbstractGISResult

isEmpty, isError, isPresent

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Details

of

public static GISResultDouble of(double value)

empty

public static GISResultDouble empty()

error

public static GISResultDouble error()
network error, or cache entry expired, etc.

getAsDouble

public double getAsDouble()

orElse

public double orElse(double other)