Groovy Documentation

gpars.csp
Class ChannelInputList

java.lang.Object
  gpars.csp.ChannelInputList

class ChannelInputList

ChannelInputList is used to create a list of ChannelInputEnds


Property Summary
def cList

 
Constructor Summary
ChannelInputList(def channelArray)

ChannelInputList uses the ArrayList class of java This ChannelInputList takes an array of One2OneChannels as its constructor parameter and converts them to a list of ChannelInputEnds

Company: Napier University

easier NetChannelOUTPUT list creation (Jon Kerridge) and changes to comply with Groovy-jsr03

ChannelInputList()

ChannelInputList uses the ArrayList class of java This constructor creates an empty ArrayList to be populated with NetChannelInputs

 
Method Summary
def append(def value)

def contains(def value)

def getAt(def index)

def minus(def list)

def plus(def list)

def putAt(def index, def value)

List read()

def remove(def value)

def size()

Object[] toArray()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Property Detail

cList

def cList


 
Constructor Detail

ChannelInputList

public ChannelInputList(def channelArray)
ChannelInputList uses the ArrayList class of java This ChannelInputList takes an array of One2OneChannels as its constructor parameter and converts them to a list of ChannelInputEnds

Company: Napier University

author:
Jon Kerridge, Ken Barclay, John Savage
version:
1.0
version:
1.1 included the empty constructor to enable easier NetChannelOUTPUT list creation (Jon Kerridge) and changes to comply with Groovy-jsr03


ChannelInputList

public ChannelInputList()
ChannelInputList uses the ArrayList class of java This constructor creates an empty ArrayList to be populated with NetChannelInputs


 
Method Detail

append

public def append(def value)


contains

public def contains(def value)


getAt

public def getAt(def index)


minus

public def minus(def list)


plus

public def plus(def list)


putAt

public def putAt(def index, def value)


read

public List read()


remove

public def remove(def value)


size

public def size()


toArray

public Object[] toArray()


 

Groovy Documentation