Enum Class JavaSystemLibrary

java.lang.Object
java.lang.Enum<JavaSystemLibrary>
club.doki7.ffm.library.JavaSystemLibrary
All Implemented Interfaces:
ISharedLibrary, RawFunctionLoader, Serializable, AutoCloseable, Comparable<JavaSystemLibrary>, Constable

public enum JavaSystemLibrary extends Enum<JavaSystemLibrary> implements ISharedLibrary
  • Enum Constant Details

  • Method Details

    • values

      public static JavaSystemLibrary[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JavaSystemLibrary valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • apply

      @NotNull public @NotNull MemorySegment apply(@NotNull @NotNull String name)
      Specified by:
      apply in interface RawFunctionLoader
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface ISharedLibrary