Class TransformingOutput.TransformingAccessor

  • Enclosing class:
    TransformingOutput<K,​V,​S,​T>

    public static class TransformingOutput.TransformingAccessor
    extends Object
    Accessor for the underlying output.
    • Method Detail

      • get

        public <T> T get()
        Obtain the output as inferred type.
        Type Parameters:
        T -
        Returns:
      • map

        public <K,​V> Map<K,​V> map()
        Obtain the output as Map.
        Type Parameters:
        K -
        V -
        Returns:
      • list

        public <T> List<T> list()
        Obtain the output as List.
        Type Parameters:
        T -
        Returns:
      • item

        public <T> T item​(int index)
        Obtain an item by index from the underlying output List.
        Type Parameters:
        T -
        Parameters:
        index -
        Returns: