Package com.google.common.truth
Class IterableSubject.UsingCorrespondence.Pairing
java.lang.Object
com.google.common.truth.IterableSubject.UsingCorrespondence.Pairing
- Enclosing class:
IterableSubject.UsingCorrespondence<A,
E>
An description of a pairing between expected and actual values. N.B. This is mutable.
-
Field Summary
FieldsModifier and TypeFieldDescriptionMultimap from keys used in the pairing to the actual values with that key.Map from keys used in the pairing to the expected value with that key.List of the actual values not used in the pairing.List of the expected values not used in the pairing. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
pairedKeysToExpectedValues
Map from keys used in the pairing to the expected value with that key. Iterates in the order the expected values appear in the input. Will never contain null keys. -
pairedKeysToActualValues
Multimap from keys used in the pairing to the actual values with that key. Keys iterate in the order they first appear in the actual values in the input, and values for each key iterate in the order they appear too. Will never contain null keys. -
unpairedExpectedValues
List of the expected values not used in the pairing. Iterates in the order they appear in the input. -
unpairedActualValues
List of the actual values not used in the pairing. Iterates in the order they appear in the input.
-
-
Constructor Details
-
Pairing
private Pairing()
-