Interface DiscreteMapping<K,V>

Type Parameters:
K - Generic type of the attribute mapped.
V - Generic type of the VisualProperty used in this mapping.
All Superinterfaces:

public interface DiscreteMapping<K,V> extends VisualMappingFunction<K,V>

Module: vizmap-api

To use this in your app, include the following dependency in your POM:


Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
  • Field Details

  • Method Details

    • getMapValue

      V getMapValue(K key)
      Gets Value for Specified Key.
      key - String Key.
    • putMapValue

      <T extends V> void putMapValue(K key, T value)
      Puts New Key/Value in Map.
      key - Key Object.
      value - Value Object.
    • putAll

      <T extends V> void putAll(Map<K,T> map)
      Adds All Members of Specified Map.
      map - Map.
    • getAll

      Map<K,V> getAll()
      Gets all map values.
      all map values.