| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private IdImpl. | |
| private long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized long | |
| public String | |
| public synchronized long |
| idMap | back to summary |
|---|---|
| private IdImpl. | |
| sequentialId | back to summary |
|---|---|
| private long sequentialId | |
| IdImpl | back to summary |
|---|---|
| public IdImpl() | |
| id | back to summary |
|---|---|
| public synchronized long id(PyObject o) | |
| idstr | back to summary |
|---|---|
| public String idstr(PyObject o) | |
| java_obj_id | back to summary |
|---|---|
| public synchronized long java_obj_id(Object o) | |
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private transient ReferenceQueue | |
| private Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| private void | |
| public Object | |
| public void | |
| public void |
| idKeys | back to summary |
|---|---|
| private transient ReferenceQueue<Object> idKeys | |
| objHashcodeToPyId | back to summary |
|---|---|
| private Map<IdImpl. | |
| WeakIdentityMap | back to summary |
|---|---|
| public WeakIdentityMap() | |
| _internal_map_size | back to summary |
|---|---|
| public int _internal_map_size() | |
| cleanup | back to summary |
|---|---|
private void cleanup()
| |
| get | back to summary |
|---|---|
| public Object get(Object key) | |
| put | back to summary |
|---|---|
| public void put(Object key, Object val) | |
| remove | back to summary |
|---|---|
| public void remove(Object key) | |
| Modifier and Type | Field and Description |
|---|---|
| private final int |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int |
| hashcode | back to summary |
|---|---|
| private final int hashcode | |
| WeakIdKey | back to summary |
|---|---|
| pack-priv WeakIdKey(Object obj) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |