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

com.englishtown.promises.internal.ValueHolder Maven / Gradle / Ivy

There is a newer version: 3.1.1
Show newest version
package com.englishtown.promises.internal;

/**
 * Wrapper for values
 */
public class ValueHolder {

    public T value;

    public ValueHolder(T value) {
        this.value = value;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String toString() {
        return value == null ? "null" : value.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy