Back to project page Buddy-Android-SDK.
The source code is released under:
Apache License
If you think the Android project Buddy-Android-SDK listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.buddy.sdk; /*from ww w . j a v a2 s . c o m*/ public class BuddyResult <T> extends BuddyResultBase { public BuddyResult() { super(); } public BuddyResult(JsonEnvelope<T> env) { super(env); } public T getResult() { return ((JsonEnvelope<T>)env).result; } public <T2> BuddyResult<T2> convert(T2 newResult) { JsonEnvelope<T2> env2 = ((JsonEnvelope<T>)env).convert(newResult); return new BuddyResult<T2>(env2); } }