Class GlobalValueSupplier<T>

java.lang.Object
org.robovm.rt.bro.GlobalValueSupplier<T>
Direct Known Subclasses:
LazyGlobalValue

public abstract class GlobalValueSupplier<T>
extends Object
Supplier interface for a GlobalValue
  • Constructor Details

    • GlobalValueSupplier

      public GlobalValueSupplier()
  • Method Details

    • isAvailable

      public abstract boolean isAvailable()
      Returns true if global value is available (e.g. there is no UnsatisfiedLinkError when accessing it)
      Returns:
      true if available
    • value

      public abstract T value()
      Returns the value of the GlobalValue.
      Returns:
      the value.