# Class CJ1ComparisonSetX<W,C>

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

All Implemented Interfaces:
  `CJ1SerialBijectionType<CJ1ComparisonSetType<W>,CAComparisonSetType<C>>`

public final class CJ1ComparisonSetX<W,C> extends Object implements CJ1SerialBijectionType<CJ1ComparisonSetType<W>,CAComparisonSetType<C>>

- ## Constructor Summary

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CJ1ComparisonSetType<W>`
  `toCJ1(CAComparisonSetType<C> m)`
  `CAComparisonSetType<C>`
  `toCore(CJ1ComparisonSetType<W> m)`

  ### Methods inherited from class java.lang.Object

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

- ## Constructor Details

  - ### CJ1ComparisonSetX

    public CJ1ComparisonSetX(Function<Set<C>,Set<W>> inCoreToWire, Function<Set<W>,Set<C>> inWireToCore)

- ## Method Details

  - ### toCore

    public CAComparisonSetType<C> toCore(CJ1ComparisonSetType<W> m)
    Specified by:
      `toCore` in interface `CJ1SerialBijectionType<W,C>`

  - ### toCJ1

    public CJ1ComparisonSetType<W> toCJ1(CAComparisonSetType<C> m)
    Specified by:
      `toCJ1` in interface `CJ1SerialBijectionType<W,C>`