Class Mode.Key<T>

java.lang.Object
ch.tocco.nice2.persist.core.api.exec.Mode.Key<T>
Enclosing class:
Mode<E extends Exception>

public static final class Mode.Key<T> extends Object
  • Constructor Details

    • Key

      public Key(String name, Class<T> type)
    • Key

      public Key(String name, com.google.common.reflect.TypeToken<T> type)
  • Method Details

    • name

      public String name()
    • type

      public com.google.common.reflect.TypeToken<T> type()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object