Class JSWeakRef<T>

java.lang.Object
org.teavm.jso.core.JSWeakRef<T>
All Implemented Interfaces:
org.teavm.jso.JSObject

public abstract class JSWeakRef<T> extends Object implements org.teavm.jso.JSObject
  • Constructor Details

    • JSWeakRef

      public JSWeakRef(T value)
  • Method Details

    • deref

      public abstract T deref()
    • create

      @Deprecated public static <T> JSWeakRef<T> create(T value)
      Deprecated.
    • isSupported

      public static boolean isSupported()