com.neeve.util
Class UtlDistinctProxy
java.lang.Object
com.neeve.util.UtlDistinctProxy
- All Implemented Interfaces:
- InvocationHandler
public class UtlDistinctProxy
- extends Object
- implements InvocationHandler
A proxy that exhibits instance equality semantics, but otherwise behaves
exactly like the proxied object.
This class IS NOT intended to be used by end users.
of
public static <T> T of(Class<T> type,
T target)
- Note that only interface types may be proxied.
- Parameters:
type
- The type to proxytarget
- The target
- Returns:
- A proxy for the target.
of
public static CharSequence of(CharSequence text)
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
Copyright © 2016 Neeve Research, LLC. All Rights Reserved.