All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.kubatatami.judonetworking.observers.ObservableWrapperCallback Maven / Gradle / Ivy

There is a newer version: 2.1
Show newest version
package com.github.kubatatami.judonetworking.observers;

import com.github.kubatatami.judonetworking.Callback;

public class ObservableWrapperCallback extends Callback {

    protected final ObservableWrapper wrapper;

    public ObservableWrapperCallback(ObservableWrapper wrapper) {
        this.wrapper = wrapper;
    }

    @Override
    public void onSuccess(T result) {
        wrapper.set(result);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy