org.apache.olingo.ext.proxy.api

## Interface GenericCollection<T extends Serializable,C extends Collection<T>>

- All Superinterfaces:
    Collection<T>, Iterable<T>, Serializable
  All Known Subinterfaces:
    ComplexCollection<T,EC,CT>, EntityCollection<T,EC,CT>, PrimitiveCollection<T>, StructuredCollection<T,EC,CT>

      public interface GenericCollection<T extends Serializable,C extends Collection<T>>
      extends Collection<T>, Serializable

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `C` | `execute()` Returns all instances.
    `Future<C>` | `executeAsync()` Asynchronously returns all instances.

    - ### Methods inherited from interface java.util.Collection

      `add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach`

- - ### Method Detail

    - #### execute

          C execute()

      Returns all instances.
      Returns:
        all instances

    - #### executeAsync

          Future<C> executeAsync()

      Asynchronously returns all instances.
      Returns:
        future handle on all instances

Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.