Groovy Documentation

gpars.csp
[Groovy] Class ChannelOutputList

java.lang.Object
  gpars.csp.ChannelOutputList

class ChannelOutputList

ChannelOutputList is used to create a list of ChannelOUTPUTEnds

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


Property Summary
def cList

 
Constructor Summary
ChannelOutputList(def channelArray)

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

ChannelOutputList()

ChannelOutputList uses the ArrayList class of java This constructor creates an empty ArrayList to be populated with NetChannelOUTPUTs

 
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)

def remove(def value)

def size()

Object[] toArray()

def write(def value)

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

Property Detail

cList

def cList


 
Constructor Detail

ChannelOutputList

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


ChannelOutputList

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


 
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)


remove

def remove(def value)


size

def size()


toArray

Object[] toArray()


write

def write(def value)


 

Groovy Documentation