Class GenGuava

java.lang.Object
org.instancio.guava.GenGuava

@ExperimentalApi public final class GenGuava extends Object
Provides access to generators for Guava classes.
Since:
2.13.0
  • Method Details

    • multimap

      public static <K, V> MultimapGeneratorSpec<K,V> multimap()
      Generator spec for multimaps.
      Type Parameters:
      K - the type of the key
      V - the type of the mapped values
      Returns:
      generator spec
      Since:
      2.13.0
    • table

      public static <R, C, V> TableGeneratorSpec<R,C,V> table()
      Generator spec for tables.
      Type Parameters:
      R - the type of the table row keys
      C - the type of the table column keys
      V - the type of the mapped values
      Returns:
      generator spec
      Since:
      2.13.0