Class FieldImpl<T>

java.lang.Object
org.refcodes.tabular.FieldImpl<T>
Type Parameters:
T - The type of the value of the field.
All Implemented Interfaces:
Cloneable, org.refcodes.mixin.KeyAccessor<String>, org.refcodes.mixin.ValueAccessor<T>, Field<T>
Direct Known Subclasses:
FieldsImpl

public class FieldImpl<T>
extends Object
implements Field<T>, Cloneable
Implementation of the Field interface being Cloneable.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.refcodes.mixin.KeyAccessor

    org.refcodes.mixin.KeyAccessor.KeyBuilder<K extends Object,​B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K,​B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K extends Object>, org.refcodes.mixin.KeyAccessor.KeyProperty<K extends Object>

    Nested classes/interfaces inherited from interface org.refcodes.mixin.ValueAccessor

    org.refcodes.mixin.ValueAccessor.ValueBuilder<V extends Object,​B extends org.refcodes.mixin.ValueAccessor.ValueBuilder<V,​B>>, org.refcodes.mixin.ValueAccessor.ValueMutator<V extends Object>, org.refcodes.mixin.ValueAccessor.ValueProperty<V extends Object>
  • Constructor Summary

    Constructors
    Constructor Description
    FieldImpl​(String aKey, T aValue)
    Constructs a Field.
  • Method Summary

    Modifier and Type Method Description
    Object clone()
    String getKey()
    T getValue()

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.refcodes.mixin.ValueAccessor

    getValueOr
  • Constructor Details

    • FieldImpl

      public FieldImpl​(String aKey, T aValue)
      Constructs a Field.
      Parameters:
      aKey - The key of the Field.
      aValue - The value of the Field.
  • Method Details