Class StandardRepresenter.RepresentPrimitiveArray

  • All Implemented Interfaces:
    RepresentToNode
    Enclosing class:
    StandardRepresenter

    public class StandardRepresenter.RepresentPrimitiveArray
    extends Object
    implements RepresentToNode
    Represents primitive arrays, such as short[] and float[], by converting them into equivalent List using the appropriate autoboxing type.
    • Constructor Detail

      • RepresentPrimitiveArray

        public RepresentPrimitiveArray()
    • Method Detail

      • representData

        public org.snakeyaml.engine.v2.nodes.Node representData​(Object data)
        Description copied from interface: RepresentToNode
        Create a Node
        Specified by:
        representData in interface RepresentToNode
        Parameters:
        data - the instance to represent
        Returns:
        Node to dump