Class SetMultimapExpression<K,​V>

    • Constructor Detail

      • SetMultimapExpression

        public SetMultimapExpression()
    • Method Detail

      • asMap

        public java.util.Map<K,​java.util.Collection<V>> asMap()
        Specified by:
        asMap in interface Multimap<K,​V>
        Specified by:
        asMap in interface SetMultimap<K,​V>
      • asString

        public javafx.beans.binding.StringBinding asString()
        Creates a StringBinding that holds the value of the SetMultimapExpression turned into a String. If the value of this SetMultimapExpression changes, the value of the StringBinding will be updated automatically.
        Returns:
        A new StringBinding.
      • clear

        public void clear()
        Specified by:
        clear in interface Multimap<K,​V>
      • containsEntry

        public boolean containsEntry​(java.lang.Object key,
                                     java.lang.Object value)
        Specified by:
        containsEntry in interface Multimap<K,​V>
      • containsKey

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

        public boolean containsValue​(java.lang.Object value)
        Specified by:
        containsValue in interface Multimap<K,​V>
      • emptyProperty

        public abstract javafx.beans.property.ReadOnlyBooleanProperty emptyProperty()
        A boolean property that reflects whether the SetMultimap is empty.
        Returns:
        A read-only property.
      • getValue

        public ObservableSetMultimap<K,​V> getValue()
        Specified by:
        getValue in interface javafx.beans.value.ObservableValue<K>
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface Multimap<K,​V>
      • isNotNull

        public javafx.beans.binding.BooleanBinding isNotNull()
        Creates a new BooleanBinding that indicates if the wrapped ObservableSetMultimap is not null.
        Returns:
        A new BooleanBinding.
      • isNull

        public javafx.beans.binding.BooleanBinding isNull()
        Creates a new BooleanBinding that indicates if the wrapped ObservableSetMultimap is null.
        Returns:
        A new BooleanBinding.
      • keySet

        public java.util.Set<K> keySet()
        Specified by:
        keySet in interface Multimap<K,​V>
      • put

        public boolean put​(K key,
                           V value)
        Specified by:
        put in interface Multimap<K,​V>
      • putAll

        public boolean putAll​(K key,
                              java.lang.Iterable<? extends V> values)
        Specified by:
        putAll in interface Multimap<K,​V>
      • putAll

        public boolean putAll​(Multimap<? extends K,​? extends V> multimap)
        Specified by:
        putAll in interface Multimap<K,​V>
      • remove

        public boolean remove​(java.lang.Object key,
                              java.lang.Object value)
        Specified by:
        remove in interface Multimap<K,​V>
      • size

        public int size()
        Specified by:
        size in interface Multimap<K,​V>
      • sizeProperty

        public abstract javafx.beans.property.ReadOnlyIntegerProperty sizeProperty()
        An integer property that represents the size of the SetMultimap.
        Returns:
        A read-only property.
      • values

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

        public javafx.beans.binding.SetBinding<V> valuesAt​(K key)
        Creates a new ObjectBinding that contains the values that are mapped to the specified key.
        Parameters:
        key - the key of the mapping
        Returns:
        A new SetBinding.
      • valuesAt

        public javafx.beans.binding.SetBinding<V> valuesAt​(javafx.beans.value.ObservableValue<K> key)
        Creates a new ObjectBinding that contains the values that are mapped to the specified key.
        Parameters:
        key - The key of the mapping.
        Returns:
        The ObjectBinding.