Class Holder<T>
public class Holder<T> : JVMBridgeBase<Holder<T>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Type Parameters
T
- Inheritance
-
JVMBridgeBase<Holder<T>>Holder<T>
- Implements
Constructors
Holder()
public Holder()
Holder(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Holder(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Holder(T)
public Holder(T arg0)
Parameters
arg0TT
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Value
https://www.javadoc.io/doc/org.rocksdb/rocksdbjni/10.1.3/org/rocksdb/Holder.html#getValue() https://www.javadoc.io/doc/org.rocksdb/rocksdbjni/10.1.3/org/rocksdb/Holder.html#setValue(java.lang.Object)
public T Value { get; set; }
Property Value
- T
Methods
CreatePoolableInstance()
HPA initializer for Holder()
public static Holder<T> CreatePoolableInstance()
Returns
- Holder<T>
CreatePoolableInstance(T)
HPA initializer for Holder(T arg0)
public static Holder<T> CreatePoolableInstance(T arg0)
Parameters
arg0T
Returns
- Holder<T>
Operators
implicit operator Holder(Holder<T>)
public static implicit operator Holder(Holder<T> t)
Parameters
tHolder<T>