Package org.instancio

Interface TypeTokenSupplier<T>

Type Parameters:
T - type being supplied
All Superinterfaces:
Supplier<Type>
All Known Subinterfaces:
TypeToken<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TypeTokenSupplier<T> extends Supplier<Type>
A supplier that provides Type information.
Since:
1.0.1
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Returns the type to be created.
  • Method Details

    • get

      Type get()
      Returns the type to be created.
      Specified by:
      get in interface Supplier<T>
      Returns:
      type to be created
      Since:
      1.0.1