java.lang.Object
org.jhotdraw8.fxcollection.typesafekey.AbstractKey<T>
org.jhotdraw8.fxcollection.typesafekey.TransientKey<T>
Type Parameters:
T - the value type
All Implemented Interfaces:
Key<T>, MapAccessor<T>, NullableKey<T>

public class TransientKey<T> extends AbstractKey<T> implements NullableKey<T>
TransientKey can be used to store temporary data in an object.
Author:
Werner Randelshofer
  • Constructor Details

    • TransientKey

      public TransientKey(String name, Class<T> clazz)
    • TransientKey

      public TransientKey(String name, Class<T> clazz, T defaultValue)
    • TransientKey

      public TransientKey(@Nullable String name, Type clazz, boolean isNullable, boolean isTransient, @Nullable T defaultValue)
  • Method Details