Class ArrayConstructor

java.lang.Object
net.razorvine.pickle.objects.ArrayConstructor
org.apache.flink.api.common.python.pickle.ArrayConstructor
All Implemented Interfaces:
net.razorvine.pickle.IObjectConstructor

public final class ArrayConstructor extends net.razorvine.pickle.objects.ArrayConstructor
Creates arrays of objects. Returns a primitive type array such as int[] if the objects are ints, etc. Returns an ArrayList if it needs to contain arbitrary objects (such as lists).
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    construct(Object[] args)
     

    Methods inherited from class net.razorvine.pickle.objects.ArrayConstructor

    construct, constructCharArrayUTF16, constructCharArrayUTF32, constructDoubleArray, constructFloatArray, constructIntArrayFromInt32, constructIntArrayFromUShort, constructLongArrayFromInt64, constructLongArrayFromUInt32, constructLongArrayFromUInt64, constructShortArrayFromUByte, constructShortArraySigned

    Methods inherited from class java.lang.Object

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

    • ArrayConstructor

      public ArrayConstructor()
  • Method Details

    • construct

      public Object construct(Object[] args)
      Specified by:
      construct in interface net.razorvine.pickle.IObjectConstructor
      Overrides:
      construct in class net.razorvine.pickle.objects.ArrayConstructor