com.streambase.sb.operator

## Class PortCounts

- java.lang.Object
- - com.streambase.sb.operator.PortCounts

-     public class PortCounts
      extends Object

  A record type to describe the number of input and output ports an operator has.
  See Also:
    `Operator`

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `inputs`
    `int` | `outputs`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PortCounts(int numInputPorts, int numOutputPorts)` Constructs a new PortCounts object requesting a change in the number of input and/or output ports.

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### inputs

          public int inputs

    - #### outputs

          public int outputs

  - ### Constructor Detail

    - #### PortCounts

          public PortCounts(int numInputPorts,
                            int numOutputPorts)

      Constructs a new PortCounts object requesting a change in the number of input and/or output ports.
      Parameters:
        `numInputPorts` - the requested number of input ports
        `numOutputPorts` - the requested number of output ports
      See Also:
        `Operator.getPortCounts()`

Copyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.