Back to project page khandroid.
The source code is released under:
Apache License
If you think the Android project khandroid 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.github.khandroid.rest; /* w w w . ja v a 2 s .c o m*/ public class RestExchangeOutcome<T> { private final RestExchange<T> mExchange; private final T mResult; private final boolean mError; public RestExchangeOutcome(RestExchange<T> exchange, T result, boolean error) { super(); mExchange = exchange; mResult = result; mError = error; } public boolean isError() { if (mError) { return true; } else { return false; } } public RestExchange<T> getExchange() { return mExchange; } public T getResult() { return mResult; } }