public class WeakUtil extends Object
| Constructor and Description |
|---|
WeakUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Set<T> |
createWeakHashSet() |
static <T> Set<T> |
createWeakHashSet(Collection<T> elements) |
static <T> Set<T> |
createWeakIdentityHashSet() |
static <T> List<WeakReference<T>> |
createWeakReferenceList(Collection<T> elements) |
static org.zeroturnaround.javarebel.ClassBytecodeProcessor |
weak(org.zeroturnaround.javarebel.ClassBytecodeProcessor cbp) |
static org.zeroturnaround.javarebel.ClassEventListener |
weak(org.zeroturnaround.javarebel.ClassEventListener cel) |
static org.zeroturnaround.javarebel.ClassIdentityFilter |
weak(org.zeroturnaround.javarebel.ClassIdentityFilter cif) |
static org.zeroturnaround.javarebel.ClassLoaderDestructionListener |
weak(org.zeroturnaround.javarebel.ClassLoaderDestructionListener cdl) |
static org.zeroturnaround.javarebel.FileEventListener |
weak(org.zeroturnaround.javarebel.FileEventListener listener) |
static org.zeroturnaround.javarebel.RequestListener |
weak(org.zeroturnaround.javarebel.RequestListener listener) |
static org.zeroturnaround.javarebel.ClassBytecodeProcessor |
weakCBP(org.zeroturnaround.javarebel.ClassBytecodeProcessor cbp)
Alias for weak(ClassBytecodeProcessor)
|
static org.zeroturnaround.javarebel.ClassLoaderDestructionListener |
weakCDL(org.zeroturnaround.javarebel.ClassLoaderDestructionListener cdl)
Alias for weak(ClassLoaderDestructionListener)
|
static org.zeroturnaround.javarebel.ClassEventListener |
weakCEL(org.zeroturnaround.javarebel.ClassEventListener cel)
Alias for weak(ClassEventListener)
|
static org.zeroturnaround.javarebel.ClassIdentityFilter |
weakCIF(org.zeroturnaround.javarebel.ClassIdentityFilter cif)
Alias for weak(ClassIdentityFilter)
|
public static <T> List<WeakReference<T>> createWeakReferenceList(Collection<T> elements)
elements - the elements.List<Reference> the given elements
wrapped into WeakReferences-s.public static <T> Set<T> createWeakHashSet()
public static <T> Set<T> createWeakIdentityHashSet()
public static <T> Set<T> createWeakHashSet(Collection<T> elements)
elements - the elements.public static org.zeroturnaround.javarebel.ClassBytecodeProcessor weakCBP(org.zeroturnaround.javarebel.ClassBytecodeProcessor cbp)
public static org.zeroturnaround.javarebel.ClassBytecodeProcessor weak(org.zeroturnaround.javarebel.ClassBytecodeProcessor cbp)
cbp - public static org.zeroturnaround.javarebel.ClassEventListener weakCEL(org.zeroturnaround.javarebel.ClassEventListener cel)
public static org.zeroturnaround.javarebel.ClassEventListener weak(org.zeroturnaround.javarebel.ClassEventListener cel)
cel - public static org.zeroturnaround.javarebel.ClassLoaderDestructionListener weakCDL(org.zeroturnaround.javarebel.ClassLoaderDestructionListener cdl)
public static org.zeroturnaround.javarebel.ClassLoaderDestructionListener weak(org.zeroturnaround.javarebel.ClassLoaderDestructionListener cdl)
cdl - public static org.zeroturnaround.javarebel.ClassIdentityFilter weakCIF(org.zeroturnaround.javarebel.ClassIdentityFilter cif)
public static org.zeroturnaround.javarebel.ClassIdentityFilter weak(org.zeroturnaround.javarebel.ClassIdentityFilter cif)
cif - public static org.zeroturnaround.javarebel.RequestListener weak(org.zeroturnaround.javarebel.RequestListener listener)
listener - public static org.zeroturnaround.javarebel.FileEventListener weak(org.zeroturnaround.javarebel.FileEventListener listener)
listener - Copyright © 2015. All rights reserved.