Package org.fluentlenium.utils
Class SupplierOfInstance<T>
- java.lang.Object
-
- org.fluentlenium.utils.SupplierOfInstance<T>
-
- Type Parameters:
T- type of instance
- All Implemented Interfaces:
java.util.function.Supplier<T>
public class SupplierOfInstance<T> extends java.lang.Object implements java.util.function.Supplier<T>Supplier returning a defined instance, with toString() implementation calling toString() on the instance without wrapping it.
-
-
Constructor Summary
Constructors Constructor Description SupplierOfInstance(T instance)Creates a new instance supplier
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Tget()inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
SupplierOfInstance
public SupplierOfInstance(T instance)
Creates a new instance supplier- Parameters:
instance- instance ot wrap
-
-