Package org.ldk.structs
Class MultiThreadedLockableScore
- java.lang.Object
-
- org.ldk.structs.MultiThreadedLockableScore
-
public class MultiThreadedLockableScore extends Object
A concrete implementation of [`LockableScore`] which supports multi-threading.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LockableScore
as_LockableScore()
Constructs a new LockableScore which calls the relevant methods on this_arg.WriteableScore
as_WriteableScore()
Constructs a new WriteableScore which calls the relevant methods on this_arg.protected void
finalize()
static MultiThreadedLockableScore
of(Score score)
Creates a new [`MultiThreadedLockableScore`] given an underlying [`Score`].byte[]
write()
Serialize the MultiThreadedLockableScore object into a byte array which can be read by MultiThreadedLockableScore_read
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
as_LockableScore
public LockableScore as_LockableScore()
Constructs a new LockableScore which calls the relevant methods on this_arg. This copies the `inner` pointer in this_arg and thus the returned LockableScore must be freed before this_arg is
-
write
public byte[] write()
Serialize the MultiThreadedLockableScore object into a byte array which can be read by MultiThreadedLockableScore_read
-
as_WriteableScore
public WriteableScore as_WriteableScore()
Constructs a new WriteableScore which calls the relevant methods on this_arg. This copies the `inner` pointer in this_arg and thus the returned WriteableScore must be freed before this_arg is
-
of
public static MultiThreadedLockableScore of(Score score)
Creates a new [`MultiThreadedLockableScore`] given an underlying [`Score`].
-
-