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

com.netflix.astyanax.recipes.ConstantSupplier Maven / Gradle / Ivy

There is a newer version: 3.8.0-bv14
Show newest version
package com.netflix.astyanax.recipes;

import com.google.common.base.Supplier;

public class ConstantSupplier implements Supplier {
    private final T value;
    
    public ConstantSupplier(T value) {
        this.value = value;
    }
    
    @Override
    public T get() {
        return value;
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy