IT. Expert System.

Android Reference

Reference


java.lang.ref

Class Reference<T>

  • Direct Known Subclasses:
    FinalizerReference, PhantomReference, SoftReference, WeakReference


    public abstract class Reference<T>
    extends Object
    Provides an abstract class which describes behavior common to all reference objects. It is not possible to create immediate subclasses of Reference in addition to the ones provided by this package. It is also not desirable to do so, since references require very close cooperation with the system's garbage collector. The existing, specialized reference classes should be used instead.
    • Field Detail

      • pendingNext

        public volatile Reference<?> pendingNext
        Used internally by the VM. This field forms a circular and singly linked list of reference objects discovered by the garbage collector and awaiting processing by the reference queue thread.
    • Method Detail

      • clear

        public void clear()
        Makes the referent null. This does not force the reference object to be enqueued.
      • enqueueInternal

        public final boolean enqueueInternal()
        Adds an object to its reference queue.
        Returns:
        true if this call has caused the Reference to become enqueued, or false otherwise
      • enqueue

        public boolean enqueue()
        Forces the reference object to be enqueued if it has been associated with a queue.
        Returns:
        true if this call has caused the Reference to become enqueued, or false otherwise
      • get

        public T get()
        Returns the referent of the reference object.
        Returns:
        the referent to which reference refers, or null if the object has been cleared.
      • isEnqueued

        public boolean isEnqueued()
        Checks whether the reference object has been enqueued.
        Returns:
        true if the Reference has been enqueued, false otherwise


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 3703 / . Delta: 0.02560 с