Class ContextIdReference<T>

java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.PhantomReference<T>
com.ardor3d.util.ContextIdReference<T>

public class ContextIdReference<T> extends PhantomReference<T>
  • Constructor Details

    • ContextIdReference

      public ContextIdReference(T reference, ReferenceQueue<? super T> queue)
  • Method Details

    • containsKey

      public boolean containsKey(Object glContext)
    • getValue

      public Integer getValue(Object glContext)
    • removeValue

      public Integer removeValue(Object glContext)
    • put

      public void put(Object glContext, Integer id)
    • getContextObjects

      public Set<Object> getContextObjects()
    • clear

      public void clear()
      Overrides:
      clear in class Reference<T>