Interface Network.MAC<T>

All Superinterfaces:
Adapter.Contract<T>, Adapter.Contract.Scalar<T>
Enclosing interface:
Network
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 Network.MAC<T> extends Adapter.Contract.Scalar<T>
The macaddr and macaddr8 types' PostgreSQL semantics: a byte array (6 or 8 bytes, respectively)., of which byte 0 is the one appearing first in the text representation (and stored in the member named a of the C struct).
  • Method Details

    • construct

      T construct(byte[] address)
      Constructs a representation T from the components of the PostgreSQL data type.
      Parameters:
      address - array of 6 (macaddr) or 8 (macaddr8) bytes, of which byte 0 is the one appearing first in the text representation (and stored in the member named a of the C struct). The array does not alias any internal storage and may be used as desired.