Class SubjectUtils.NonHashingMultiset<E>

java.lang.Object
com.google.common.truth.SubjectUtils.NonHashingMultiset<E>
Enclosing class:
SubjectUtils

private static final class SubjectUtils.NonHashingMultiset<E> extends Object
  • Field Details

    • unwrapKey

      private final com.google.common.base.Function<com.google.common.collect.Multiset.Entry<com.google.common.base.Equivalence.Wrapper<E>>,com.google.common.collect.Multiset.Entry<?>> unwrapKey
    • contents

      private final com.google.common.collect.Multiset<com.google.common.base.Equivalence.Wrapper<E>> contents
    • EQUALITY_WITHOUT_USING_HASH_CODE

      private static final com.google.common.base.Equivalence<Object> EQUALITY_WITHOUT_USING_HASH_CODE
  • Constructor Details

    • NonHashingMultiset

      private NonHashingMultiset()
  • Method Details

    • add

      void add(E element)
    • remove

      boolean remove(E element)
    • totalCopies

      int totalCopies()
    • isEmpty

      boolean isEmpty()
    • entrySet

      Iterable<com.google.common.collect.Multiset.Entry<?>> entrySet()
    • toStringWithBrackets

      String toStringWithBrackets()
    • toString

      public String toString()
      Overrides:
      toString in class Object