Package jolt
Class Jolt
java.lang.Object
jolt.Jolt
Jolt relies on preview features of the Java platform:
Joltrefers to one or more preview APIs:MemoryAddress,MemorySegment,SegmentAllocator.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic int[]arrayOf(Collection<? extends Integer> collection) static voidstatic voidstatic voidstatic voidstatic booleanstatic JoltFeaturesfeatures()static Set<JoltFeature>static voidload()Loads the native libraries from the JAR.static MemorySegmentPREVIEWofArray(SegmentAllocatorPREVIEW alloc, JoltNative[] objs) static MemoryAddressPREVIEWptr(JoltNative obj) static voidstatic voidstatic RuntimeExceptionstatic RuntimeExceptionstatic <T extends Deletable>
voidstatic <T extends Deletable,R>
R
-
Field Details
-
JOLT_VERSION
- See Also:
-
-
Method Details
-
load
public static void load()Loads the native libraries from the JAR. -
features
-
featureSet
-
doublePrecision
public static boolean doublePrecision() -
tryingDoublePrecision
-
assertSinglePrecision
public static void assertSinglePrecision() -
tryingSinglePrecision
-
ptr
-
ofArray
-
arrayOf
-
use
-
use
-
assertDoublePrecision
public static void assertDoublePrecision() -
registerDefaultAllocator
public static void registerDefaultAllocator() -
createFactory
public static void createFactory() -
destroyFactory
public static void destroyFactory() -
registerTypes
public static void registerTypes()
-
Joltwhen preview features are enabled.