JSONReader.IContainer

interface IContainer<T, U extends IReader<?>>

Container interface for collections. All collection types must return an implementation of this.

Parameters:
  • <T> – The type this container is wrapping.
  • <U> – The reader this container is associated with.

Methods

getReader

U getReader()

Get the reader associated with this container.

Returns:The reader associated with this container.

resolve

T resolve()

Resolve the underlying collection.

Returns:The underlying collection.