Class TransientBidirectionalTrieSetMultimap<K,​V>

    • Method Detail

      • wireTransientTuple

        private static <K,​V> boolean wireTransientTuple​(K key,
                                                              V value,
                                                              java.util.function.BiFunction<K,​V,​java.lang.Boolean> fwdMerger,
                                                              java.util.function.BiFunction<V,​K,​java.lang.Boolean> bwdMerger)
      • size

        public int size()
        Description copied from interface: SetMultimap
        Return the number of key-value pairs contained in this multimap.
        Specified by:
        size in interface SetMultimap<K,​V>
        Returns:
        number of key-value pairs in this multimap
      • containsKey

        public boolean containsKey​(java.lang.Object o)
        Specified by:
        containsKey in interface SetMultimap<K,​V>
      • containsValue

        public boolean containsValue​(java.lang.Object o)
        Specified by:
        containsValue in interface SetMultimap<K,​V>
      • containsEntry

        public boolean containsEntry​(java.lang.Object o0,
                                     java.lang.Object o1)
        Specified by:
        containsEntry in interface SetMultimap<K,​V>
      • values

        public java.util.Collection<V> values()
        Specified by:
        values in interface SetMultimap<K,​V>
      • entrySet

        public java.util.Set<java.util.Map.Entry<K,​V>> entrySet()
        Specified by:
        entrySet in interface SetMultimap<K,​V>
      • entryIterator

        public java.util.Iterator<java.util.Map.Entry<K,​V>> entryIterator()
        Specified by:
        entryIterator in interface SetMultimap<K,​V>
      • nativeEntryIterator

        public java.util.Iterator<java.util.Map.Entry<K,​java.lang.Object>> nativeEntryIterator()
                                                                                              throws java.lang.UnsupportedOperationException
        Description copied from interface: SetMultimap
        Iterates over the raw internal structure. Optional operation.
        Specified by:
        nativeEntryIterator in interface SetMultimap<K,​V>
        Returns:
        native iterator, if supported
        Throws:
        java.lang.UnsupportedOperationException
      • tupleIterator

        public <T> java.util.Iterator<T> tupleIterator​(java.util.function.BiFunction<K,​V,​T> dataConverter)
        Specified by:
        tupleIterator in interface SetMultimap<K,​V>
      • tupleStream

        public <T> java.util.stream.Stream<T> tupleStream​(java.util.function.BiFunction<K,​V,​T> dataConverter)
        Specified by:
        tupleStream in interface SetMultimap<K,​V>
      • hashCode

        public int hashCode()
        Description copied from interface: SetMultimap
        Returns the hash code for this multimap. The hash code is defined to equal the hash of a Set view (rather than to equal the hash code of Map).
        Specified by:
        hashCode in interface SetMultimap<K,​V>
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        the hash code for this multimap
      • equals

        public boolean equals​(java.lang.Object other)
        Description copied from interface: SetMultimap
        Compares the specified object for equality against this multimap. The notion of equality is equal to the Set view of a multimap, i.e., all key-value pairs have to equal.
        Specified by:
        equals in interface SetMultimap<K,​V>
        Overrides:
        equals in class java.lang.Object
        Parameters:
        other - the object that is checked for equality against this multimap
        Returns:
        true if the specified object is equal to this map
      • toString

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