class ReferenceFactory<T> extends Object
| Modifier | Constructor and Description |
|---|---|
private |
ReferenceFactory() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static <T> Referrer<T> |
create(T t,
RefQueue<? super T> queue,
Ref type) |
(package private) static <T> Referrer<T> |
singleUseForLookup(T t,
Ref type)
This doesn't create a genuine reference, only a simple wrapper object
that will be used once then discarded.
|
static <T> Referrer<T> singleUseForLookup(T t, Ref type)
T - t - type - Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.