if (ccStyleInit) { if (outputType != null) { output = new Channel (outputType, pushAmount); }  if (inputType != null) { if (peekAmount == -1) peekAmount = popAmount; input = new Channel (inputType, popAmount, peekAmount); } }
    public void connectGraph ()    {        Channel myInput = getInputChannel ();        Channel myOutput = getOutputChannel ();        if (myOutput != null)        {            myOutput.setSource (this);        } else {            addSink ();        }        if (myInput != null)        {            myInput.setSink (this);        }        addFilter ();    }