Package dev.gothickit.zenkit.way
Class NativeWayNet
java.lang.Object
dev.gothickit.zenkit.way.NativeWayNet
- All Implemented Interfaces:
CacheableObject<CachedWayNet>,NativeObject,WayNet
-
Method Summary
Modifier and TypeMethodDescription@NotNull CachedWayNetcache()WayEdge @NotNull []edges()static @Nullable NativeWayNetfromNativeHandle(com.sun.jna.Pointer handle) @NotNull com.sun.jna.PointerbooleanisCached()point(long i) longpoints()
-
Method Details
-
fromNativeHandle
@Contract("null -> null; !null -> new") @Nullable public static @Nullable NativeWayNet fromNativeHandle(com.sun.jna.Pointer handle) -
edges
-
pointCount
public long pointCount()- Specified by:
pointCountin interfaceWayNet
-
point
-
points
-
cache
- Specified by:
cachein interfaceCacheableObject<CachedWayNet>
-
isCached
public boolean isCached()- Specified by:
isCachedin interfaceCacheableObject<CachedWayNet>
-
getNativeHandle
@NotNull public @NotNull com.sun.jna.Pointer getNativeHandle()- Specified by:
getNativeHandlein interfaceNativeObject
-