# Class CJ1PageX<W,C>

java.lang.Object
com.io7m.cardant.protocol.inventory.json.internal.CJ1PageX<W,C>

All Implemented Interfaces:
  `CJ1SerialBijectionType<CJ1Page<W>, CAPage<C>>`

public final class CJ1PageX<W,C> extends Object implements CJ1SerialBijectionType<CJ1Page<W>, CAPage<C>>

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static interface`
  `CJ1PageX.PartialFunction<A,B>`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CJ1PageX(Function<C,W> inCoreToWire, Function<W,C> inWireToCore)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CJ1Page<W>`
  `toCJ1(CAPage<C> m)`
  `CAPage<C>`
  `toCore(CJ1Page<W> m)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CJ1PageX

    public CJ1PageX(Function<C,W> inCoreToWire, Function<W,C> inWireToCore)

- ## Method Details

  - ### toCore

    public CAPage<C> toCore(CJ1Page<W> m) throws CAProtocolException
    Specified by:
      `toCore` in interface `CJ1SerialBijectionType<W,C>`
    Throws:
      `CAProtocolException`

  - ### toCJ1

    public CJ1Page<W> toCJ1(CAPage<C> m) throws CAProtocolException
    Specified by:
      `toCJ1` in interface `CJ1SerialBijectionType<W,C>`
    Throws:
      `CAProtocolException`