PairOutputs.Pair (Lucene 10.5.1 core API)
Description: declaration: package: org.apache.lucene.util.fst, class: PairOutputs, class: Pair

Package org.apache.lucene.util.fst

# Class PairOutputs.Pair<A,B>

java.lang.Object
org.apache.lucene.util.fst.PairOutputs.Pair<A,B>

Enclosing class:
  `PairOutputs<A,B>`

public static class PairOutputs.Pair<A,B> extends Object
Holds a single pair of two outputs.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final A`
  `output1`
  `final B`
  `output2`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object other)`
  `int`
  `hashCode()`
  `String`
  `toString()`

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

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### output1

    public final A output1

  - ### output2

    public final B output2

- ## Method Details

  - ### equals

    public boolean equals(Object other)
    Overrides:
      `equals` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`