javax.jdo.query

## Interface ListExpression<T extends List<E>,E>

- Type Parameters:
    `T` - Java type being represented here
    `E` - Element type of the List being represented here
  All Superinterfaces:
    CollectionExpression<T,E>, Expression<T>

      public interface ListExpression<T extends List<E>,E>
      extends CollectionExpression<T,E>

  Representation of a List in a query.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Expression<E>` | `get(int pos)` Method returning the element at this position in the List.
    `Expression<E>` | `get(NumericExpression<Integer> posExpr)` Method returning the element at this position in the List.

    - ### Methods inherited from interface javax.jdo.query.CollectionExpression

      `contains, contains, isEmpty, size`

    - ### Methods inherited from interface javax.jdo.query.Expression

      `as, cast, count, countDistinct, eq, eq, instanceOf, ne, ne`

- - ### Method Detail

    - #### get

          Expression<E> get(NumericExpression<Integer> posExpr)

      Method returning the element at this position in the List.
      Parameters:
        `posExpr` - The position expression
      Returns:
        The element at this position in the List

    - #### get

          Expression<E> get(int pos)

      Method returning the element at this position in the List.
      Parameters:
        `pos` - The position
      Returns:
        The element at this position in the List

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