org.springframework.social.evernote.api.impl
Class ThriftWrapper
java.lang.Object
org.springframework.social.evernote.api.impl.ThriftWrapper
public class ThriftWrapper
- extends Object
- Author:
- Tadaya Tsuyukubo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThriftWrapper
public ThriftWrapper()
makeNullSafe
public static <T> T makeNullSafe(T source)
- Returns null-safe collection proxy for thrift generated class.
- Type Parameters:
T - - Parameters:
source - thrift generated instance
- Returns:
- a wrapped proxy
unwrap
public static <T> T unwrap(T source)
isNullSafeProxy
public static boolean isNullSafeProxy(Object target)
Copyright © 2014. All Rights Reserved.