Class SubjectUtils.NonHashingMultiset<E>

  • Enclosing class:
    SubjectUtils

    private static final class SubjectUtils.NonHashingMultiset<E>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private com.google.common.collect.Multiset<com.google.common.base.Equivalence.Wrapper<E>> contents  
      private static com.google.common.base.Equivalence<java.lang.Object> EQUALITY_WITHOUT_USING_HASH_CODE  
      private 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  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private NonHashingMultiset()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void add​(E element)  
      (package private) java.lang.Iterable<com.google.common.collect.Multiset.Entry<?>> entrySet()  
      (package private) boolean isEmpty()  
      (package private) boolean remove​(E element)  
      java.lang.String toString()  
      (package private) java.lang.String toStringWithBrackets()  
      (package private) int totalCopies()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • 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<java.lang.Object> EQUALITY_WITHOUT_USING_HASH_CODE
    • Constructor Detail

      • NonHashingMultiset

        private NonHashingMultiset()
    • Method Detail

      • add

        void add​(E element)
      • remove

        boolean remove​(E element)
      • totalCopies

        int totalCopies()
      • isEmpty

        boolean isEmpty()
      • entrySet

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

        java.lang.String toStringWithBrackets()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object