Documentation of 'edu.uci.ics.jung.algorithms.util.MapSettableTransformer' Java class
MapSettableTransformer
edu.uci.ics.jung.algorithms.util

Class MapSettableTransformer<I,O>

  • All Implemented Interfaces:
    com.google.common.base.Function<I,O>, SettableTransformer<I,O>


    public class MapSettableTransformer<I,O>
    extends java.lang.Object
    implements SettableTransformer<I,O>
    A SettableTransformer that operates on an underlying Map instance. Similar to MapTransformer.
    • Constructor Summary

      Constructors 
      Constructor and Description
      MapSettableTransformer(java.util.Map<I,O> m)
      Creates an instance based on m.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      O apply(I input) 
      void set(I input, O output)
      Sets the value (output) to be returned by a call to transform(input)).
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.common.base.Function

        equals
    • Constructor Detail

      • MapSettableTransformer

        public MapSettableTransformer(java.util.Map<I,O> m)
        Creates an instance based on m.
        Parameters:
        m - the map on which this instance is based
    • Method Detail

      • apply

        public O apply(I input)
        Specified by:
        apply in interface com.google.common.base.Function<I,O>
      • set

        public void set(I input,
                        O output)
        Description copied from interface: SettableTransformer
        Sets the value (output) to be returned by a call to transform(input)).
        Specified by:
        set in interface SettableTransformer<I,O>
        Parameters:
        input - the value whose output value is being specified
        output - the output value for input

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.