Class MethodRefPrint<T>
java.lang.Object
cz.krystofcejchan.lite_weather_lib.weather_objects.MethodRefPrint<T>
- Type Parameters:
T- Generics
public class MethodRefPrint<T> extends Object
prints object to the console, if possible object.toString() will be printed
-
Constructor Summary
Constructors Constructor Description MethodRefPrint(T t) -
Method Summary
Modifier and Type Method Description voidprint()prints object to the console using Functional Interface
-
Constructor Details
-
MethodRefPrint
-
-
Method Details
-
print
public void print()prints object to the console using Functional Interface
-