Interface Geometric.LSeg<T,I>

Type Parameters:
T - the type returned by the constructor
I - internal parameter that consumers of this interface should wildcard; an implementor may bound this parameter to get stricter type checking of the Dispenser uses within the implementing body.
All Superinterfaces:
Adapter.Contract<T>, Adapter.Contract.Scalar<T>
Enclosing interface:
Geometric
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Geometric.LSeg<T,I> extends Adapter.Contract.Scalar<T>
The LSEG type's PostgreSQL semantics: two endpoints.
  • Method Details

    • construct

      T construct(Adapter.PullDispenser<I,Geometric.Point<I>> endpoints)
      Constructs a representation T from the components of the PostgreSQL data type.
      Parameters:
      endpoints - a dispenser that will dispense a Point for index 0 and index 1.