Package net.md_5.bungee.jni

# Class NativeCode<T>

java.lang.Object
net.md_5.bungee.jni.NativeCode<T>

public final class NativeCode<T> extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NativeCode(String name, Supplier<? extends T> javaImpl, Supplier<? extends T> nativeImpl)`
  `NativeCode(String name, Supplier<? extends T> javaImpl, Supplier<? extends T> nativeImpl, boolean extendedSupportCheck)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static boolean`
  `hasDirectBuffers()`
  `static boolean`
  `isSupported()`
  `boolean`
  `load()`
  `T`
  `newInstance()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### NativeCode

    public NativeCode(String name, Supplier<? extends T> javaImpl, Supplier<? extends T> nativeImpl)

  - ### NativeCode

    public NativeCode(String name, Supplier<? extends T> javaImpl, Supplier<? extends T> nativeImpl, boolean extendedSupportCheck)

- ## Method Details

  - ### newInstance

    public T newInstance()

  - ### load

    public boolean load()

  - ### hasDirectBuffers

    public static boolean hasDirectBuffers()

  - ### isSupported

    public static boolean isSupported()