com.h3c.sdn.tvue

## Interface MutableFlow

-     public interface MutableFlow

  Sparse mutable description of a network flow.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T> MutableFlow` | `clear(FlowField field)` Clears the specified field from the flow descriptor.
    `<T> MutableFlow` | `set(FlowField field, T value)` Sets the specified field value of the flow descriptor.
    `Flow` | `toImmutable()` Renders the current flow immutable and returns this immutable variant.

- - ### Method Detail

    - #### set

          <T> MutableFlow set(FlowField field,
                            T value)

      Sets the specified field value of the flow descriptor.
      Parameters:
        `field` - field to be added
        `value` - flow field value; null to clear
      Returns:
        self

    - #### clear

          <T> MutableFlow clear(FlowField field)

      Clears the specified field from the flow descriptor.
      Parameters:
        `field` - field to be cleared
      Returns:
        self

    - #### toImmutable

          Flow toImmutable()

      Renders the current flow immutable and returns this immutable variant.
      Returns:
        immutable variant of this flow

Copyright © 2014. All Rights Reserved.