Uses of Class
com.google.common.truth.SubjectUtils.DuplicateGroupedAndTyped
-
Uses of SubjectUtils.DuplicateGroupedAndTyped in com.google.common.truth
Methods in com.google.common.truth that return SubjectUtils.DuplicateGroupedAndTypedModifier and TypeMethodDescription(package private) static SubjectUtils.DuplicateGroupedAndTypedSubjectUtils.countDuplicatesAndMaybeAddTypeInfoReturnObject(Iterable<?> itemsIterable, boolean addTypeInfo) Similar toSubjectUtils.countDuplicatesAndAddTypeInfo(java.lang.Iterable<?>)andSubjectUtils.countDuplicates(java.lang.Iterable<?>)but (a) only adds type info if requested and (b) returns a richer object containing the data.Methods in com.google.common.truth with parameters of type SubjectUtils.DuplicateGroupedAndTypedModifier and TypeMethodDescriptionprivate static StringIterableSubject.keyToGoWithElementsString(String label, SubjectUtils.DuplicateGroupedAndTyped elements) private static StringIterableSubject.keyToServeAsHeader(String label, SubjectUtils.DuplicateGroupedAndTyped elements) private static com.google.common.collect.ImmutableList<Fact> IterableSubject.makeElementFacts(String label, SubjectUtils.DuplicateGroupedAndTyped elements, IterableSubject.ElementFactGrouping grouping) Returns a list of facts (zero, one, or many, depending on the number of elements and the grouping policy) describing the given missing, unexpected, or near-miss elements.