Class InstanceSupplier<T>

java.lang.Object
org.infinispan.commons.util.InstanceSupplier<T>
All Implemented Interfaces:
Supplier<T>

public class InstanceSupplier<T> extends Object implements Supplier<T>
Since:
13.0
Author:
Tristan Tarrant <tristan@infinispan.org>
  • Constructor Details

    • InstanceSupplier

      public InstanceSupplier(T instance)
  • Method Details

    • get

      public T get()
      Specified by:
      get in interface Supplier<T>