mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-22 18:59:45 +08:00
6a9d31a7d4
* Makefile.am (texinfo): Add texinfo target for generating texinfo documentation. * Makefile.in: Rebuilt. * scripts/TexinfoDoclet.java: New file. * doc/java-applet.texi, doc/java-lang-reflect.texi, doc/java-awt-color.texi, doc/java-lang.texi, doc/java-awt-datatransfer.texi, doc/java-math.texi, doc/java-awt-event.texi, doc/java-net.texi, doc/java-awt-geom.texi, doc/java-security-spec.texi, doc/java-awt-image.texi, doc/java-security.texi, doc/java-awt-peer.texi, doc/java-sql.texi, doc/java-awt.texi, doc/java-text.texi, doc/java-beans-beancontext.texi, doc/java-util-jar.texi, doc/java-beans.texi, doc/java-util-zip.texi, doc/java-io.texi, doc/java-util.texi, doc/java-lang-ref.texi: New files. From-SVN: r38789
35 lines
1.5 KiB
Plaintext
35 lines
1.5 KiB
Plaintext
@deftypemethod PhantomReference {public Object} get ()
|
|
Returns the object, this reference refers to.
|
|
@end deftypemethod
|
|
@deftypemethod Reference {public Object} get ()
|
|
Returns the object, this reference refers to.
|
|
@end deftypemethod
|
|
@deftypemethod Reference {public void} clear ()
|
|
Clears the reference, so that it doesn't refer to its object
|
|
anymore. For soft and weak references this is called by the
|
|
garbage collection. For phantom references you should call
|
|
this when enqueuing the reference.
|
|
@end deftypemethod
|
|
@deftypemethod Reference {public boolean} isEnqueued ()
|
|
Tells if the object is enqueued on a reference queue.
|
|
@end deftypemethod
|
|
@deftypemethod Reference {public boolean} enqueue ()
|
|
Enqueue an object on a reference queue. This is normally executed
|
|
by the garbage collection.
|
|
@end deftypemethod
|
|
@deftypemethod ReferenceQueue {public synchronized Reference} poll ()
|
|
Checks if there is a reference on the queue, returning it
|
|
immediately. The reference will be dequeued.
|
|
@end deftypemethod
|
|
@deftypemethod ReferenceQueue {public synchronized Reference} remove (long@w{ }@var{timeout}) @*throws InterruptedException
|
|
Removes a reference from the queue, blocking for @code{timeout}
|
|
until a reference is enqueued.
|
|
@end deftypemethod
|
|
@deftypemethod ReferenceQueue {public Reference} remove () @*throws InterruptedException
|
|
Removes a reference from the queue, blocking until a reference is
|
|
enqueued.
|
|
@end deftypemethod
|
|
@deftypemethod SoftReference {public Object} get ()
|
|
Returns the object, this reference refers to.
|
|
@end deftypemethod
|