Class SupplierOfInstance<T>

java.lang.Object
io.fluentlenium.utils.SupplierOfInstance<T>
Type Parameters:
T - type of instance
All Implemented Interfaces:
Supplier<T>

public class SupplierOfInstance<T> extends Object implements Supplier<T>
Supplier returning a defined instance, with toString() implementation calling toString() on the instance without wrapping it.
  • Constructor Details

    • SupplierOfInstance

      public SupplierOfInstance (T instance)
      Creates a new instance supplier
      Parameters:
      instance - instance ot wrap
  • Method Details