Table of Contents

Class OptionalDouble

Namespace
Java.Util
Assembly
MASES.JNet.dll
public class OptionalDouble : JVMBridgeBase<OptionalDouble>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<OptionalDouble>
OptionalDouble
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<OptionalDouble>.IsAssignableFrom(IJavaType)
JVMBridgeBase<OptionalDouble>.IsAssignableFrom<T>()
JVMBridgeBase<OptionalDouble>.Execute<T>(params T[])
JVMBridgeBase<OptionalDouble>.DynBridgeClazz
JVMBridgeBase<OptionalDouble>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

OptionalDouble()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public OptionalDouble()

OptionalDouble(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public OptionalDouble(params object[] args)

Parameters

args object[]

Properties

AsDouble

public double AsDouble { get; }

Property Value

double

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Empty()

public static OptionalDouble Empty()

Returns

OptionalDouble

OptionalDouble

IfPresent(DoubleConsumer)

public void IfPresent(DoubleConsumer arg0)

Parameters

arg0 DoubleConsumer

DoubleConsumer

IfPresentOrElse(DoubleConsumer, Runnable)

public void IfPresentOrElse(DoubleConsumer arg0, Runnable arg1)

Parameters

arg0 DoubleConsumer

DoubleConsumer

arg1 Runnable

Runnable

IsEmpty()

public bool IsEmpty()

Returns

bool

bool

IsPresent()

public bool IsPresent()

Returns

bool

bool

Of(double)

public static OptionalDouble Of(double arg0)

Parameters

arg0 double

double

Returns

OptionalDouble

OptionalDouble

OrElse(double)

public double OrElse(double arg0)

Parameters

arg0 double

double

Returns

double

double

OrElseGet(DoubleSupplier)

public double OrElseGet(DoubleSupplier arg0)

Parameters

arg0 DoubleSupplier

DoubleSupplier

Returns

double

double

OrElseThrow()

public double OrElseThrow()

Returns

double

double

OrElseThrow<Arg0ExtendsX, X>(Supplier<Arg0ExtendsX>)

public double OrElseThrow<Arg0ExtendsX, X>(Supplier<Arg0ExtendsX> arg0) where Arg0ExtendsX : X

Parameters

arg0 Supplier<Arg0ExtendsX>

Supplier

Returns

double

double

Type Parameters

Arg0ExtendsX

X

X

Exceptions

Throwable

Stream()

public DoubleStream Stream()

Returns

DoubleStream

DoubleStream