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

org.deephacks.graphene.Handle Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
package org.deephacks.graphene;

import com.google.common.base.Preconditions;

public class Handle {
    private T instance;

    public Handle(T instance) {
        Preconditions.checkNotNull(instance);
        this.instance = instance;
    }

    public Handle() {

    }

    public T get() {
        return instance;
    }

    public void set(T instance) {
        this.instance = instance;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy