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 Details

    • MethodRefPrint

      public MethodRefPrint​(@NotNull T t)
  • Method Details

    • print

      public void print()
      prints object to the console using Functional Interface