Class AbstractJsonFactoryTest.ExtendsGenericJson

  • All Implemented Interfaces:
    java.lang.Cloneable, java.util.Map<java.lang.String,​java.lang.Object>
    Enclosing class:
    AbstractJsonFactoryTest

    public static class AbstractJsonFactoryTest.ExtendsGenericJson
    extends GenericJson
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.Long numAsString  
    • Field Detail

      • numAsString

        java.lang.Long numAsString
    • Constructor Detail

      • ExtendsGenericJson

        public ExtendsGenericJson()
    • Method Detail

      • set

        public AbstractJsonFactoryTest.ExtendsGenericJson set​(java.lang.String fieldName,
                                                              java.lang.Object value)
        Description copied from class: GenericData
        Sets the given field value (may be null) for the given field name. Any existing value for the field will be overwritten. It may be more slightly more efficient than GenericData.put(String, Object) because it avoids accessing the field's original value.

        Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.

        Overrides:
        set in class GenericJson