Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- interface Operation<V> {
- V run();
- int getService();
- }
- new Operation<Void> {
- public Void run() {
- //
- return null;
- }
- public int getService() { return 1; }
- }
- interface FireAndForgetOperation {
- void run();
- int getService();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement