Changeset View
Changeset View
Standalone View
Standalone View
src/it/reyboz/bustorino/backend/Result.java
Show All 29 Lines | private Result(@Nullable T result) { | ||||
this.exception = null; | this.exception = null; | ||||
} | } | ||||
private Result(Exception error) { | private Result(Exception error) { | ||||
this.result = null; | this.result = null; | ||||
this.exception = error; | this.exception = error; | ||||
} | } | ||||
public interface Callback<T>{ | |||||
void onComplete(Result<T> result); | |||||
} | |||||
} | } |
Public contents are in Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) or GNU Free Documentation License (at your option) unless otherwise noted. · Contact / Register