Class OptionalDouble
public class OptionalDouble : JVMBridgeBase<OptionalDouble>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<OptionalDouble>OptionalDouble
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<OptionalDouble>.IsAssignableFrom(IJavaType)JVMBridgeBase<OptionalDouble>.IsAssignableFrom<T>()JVMBridgeBase<OptionalDouble>.Execute<T>(params T[])JVMBridgeBase<OptionalDouble>.DynBridgeClazzJVMBridgeBase<OptionalDouble>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
Empty()
public static OptionalDouble Empty()
Returns
IfPresent(DoubleConsumer)
public void IfPresent(DoubleConsumer arg0)
Parameters
IfPresentOrElse(DoubleConsumer, Runnable)
public void IfPresentOrElse(DoubleConsumer arg0, Runnable arg1)
Parameters
arg0
DoubleConsumerarg1
Runnable
IsEmpty()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/OptionalDouble.html#isEmpty()
public bool IsEmpty()
Returns
IsPresent()
public bool IsPresent()
Returns
Of(double)
public static OptionalDouble Of(double arg0)
Parameters
Returns
OrElse(double)
public double OrElse(double arg0)
Parameters
Returns
OrElseGet(DoubleSupplier)
public double OrElseGet(DoubleSupplier arg0)
Parameters
Returns
OrElseThrow()
public double OrElseThrow()
Returns
OrElseThrow<Arg0ExtendsX, X>(Supplier<Arg0ExtendsX>)
public double OrElseThrow<Arg0ExtendsX, X>(Supplier<Arg0ExtendsX> arg0) where Arg0ExtendsX : X
Parameters
Returns
Type Parameters
Arg0ExtendsX
X
X
Exceptions
Stream()
public DoubleStream Stream()