Interface CollectionDataFormat

All Superinterfaces:
DataFormat

public interface CollectionDataFormat extends DataFormat
An object that describes the data format of a collection type.
Since:
1.0.0
  • Method Details

    • getType

      Type getType()
      Returns the Java type for this format.
      Specified by:
      getType in interface DataFormat
      Returns:
      the Java type for this format
    • getElementFormat

      DataFormat getElementFormat()
      Returns the format of the collection element.
      Returns:
      the format of the collection element
    • of

      static CollectionDataFormat of(Type type, DataFormat elementFormat)
      Returns a new collection data format.
      Parameters:
      type - The collection type
      elementFormat - The element format
      Returns:
      the collection data format