Groovy Documentation

gpars.csp
[Groovy] 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

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

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

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


ChannelInputList

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


 
Method Detail

append

def append(def value)


contains

def contains(def value)


getAt

def getAt(def index)


minus

def minus(def list)


plus

def plus(def list)


putAt

def putAt(def index, def value)


read

List read()


remove

def remove(def value)


size

def size()


toArray

Object[] toArray()


 

Groovy Documentation