java.lang.ref.Reference
| Modifier and Type | Class and Description |
|---|---|
| public static enum | Reference.
A reference type. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public T | |
| public A | |
| public Reference. |
| clear | back to summary |
|---|---|
| public void clear() Clear the reference. | |
| get | back to summary |
|---|---|
| public T get() Get the value, or
| |
| getAttachment | back to summary |
|---|---|
| public A getAttachment() Get the attachment, if any.
| |
| getType | back to summary |
|---|---|
| public Reference. Get the type of the reference. | |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| public static final Reference. | NULL
A |
| public static final Reference. | PHANTOM
A phantom reference. |
| public static final Reference. | SOFT
A soft reference. |
| public static final Reference. | STRONG
A strong reference. |
| public static final Reference. | WEAK
A weak reference. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public static boolean | |
| public static Reference. | |
| public static Reference. |
| fullSize | back to summary |
|---|---|
| private static final int fullSize | |
| NULL | back to summary |
|---|---|
| public static final Reference. A | |
| PHANTOM | back to summary |
|---|---|
| public static final Reference. A phantom reference. | |
| SOFT | back to summary |
|---|---|
| public static final Reference. A soft reference. | |
| STRONG | back to summary |
|---|---|
| public static final Reference. A strong reference. | |
| WEAK | back to summary |
|---|---|
| public static final Reference. A weak reference. | |
| Type | back to summary |
|---|---|
| private Type() | |
| in | back to summary |
|---|---|
| public boolean in(final Reference. Determine whether this instance is equal to one of the given instances. | |
| in | back to summary |
|---|---|
| public boolean in(final Reference. Determine whether this instance is equal to one of the given instances. | |
| in | back to summary |
|---|---|
| public boolean in(final Reference. Determine whether this instance is equal to one of the given instances. | |
| in | back to summary |
|---|---|
| public boolean in(final Reference. Determine whether this instance is equal to one of the given instances. | |
| isFull | back to summary |
|---|---|
| public static boolean isFull(final EnumSet<Reference. Determine whether the given set is fully populated (or "full"), meaning it contains all possible values. | |
| valueOf | back to summary |
|---|---|
| public static Reference. | |
| values | back to summary |
|---|---|
| public static Reference. | |