Class FieldsValueMapImpl<E extends EntityType<E>>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> boolean containsField​(EntityField<E,​T> field)
      Returns true is the map has a value for the given field
      <T> T get​(EntityField<E,​T> field)
      Returns the value of the specified field.
      <T> void set​(EntityField<E,​T> field, T value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FieldsValueMapImpl

        public FieldsValueMapImpl()
    • Method Detail

      • set

        public <T> void set​(EntityField<E,​T> field,
                            T value)
      • get

        public <T> T get​(EntityField<E,​T> field)
        Description copied from interface: FieldsValueMap
        Returns the value of the specified field.
        Specified by:
        get in interface FieldsValueMap<E extends EntityType<E>>
        Type Parameters:
        T - type of the field
        Parameters:
        field - field to query
        Returns:
        the value of the field. Can be null.