org.python.modules
Class _weakref.GlobalRef
java.lang.Object
java.lang.ref.Reference
java.lang.ref.WeakReference
org.python.modules._weakref.GlobalRef
- Enclosing class:
- _weakref
- public static class _weakref.GlobalRef
- extends WeakReference
_weakref.GlobalRef
public _weakref.GlobalRef(PyObject object)
_weakref.GlobalRef
public _weakref.GlobalRef(PyObject object,
ReferenceQueue queue)
add
public void add(_weakref.AbstractReference ref)
count
public int count()
refs
public PyList refs()
equals
public boolean equals(Object o)
- Allow GlobalRef's to be used as hashtable keys.
hashCode
public int hashCode()
- Allow GlobalRef's to be used as hashtable keys.