NameValuePairArray

Overview

Location

Instance Methods


constructor

 

constructor

 

NameValuePairArray()

constructor (Object[])    (declared in ArrayType)

 

constructor(aArray: array of Object)

 

NameValuePairArray(Object[] aArray)

Parameters:

  • aArray:

constructor (Integer)

 

constructor(aCapacity: Integer)

 

NameValuePairArray(Integer aCapacity)

Parameters:

  • aCapacity:

constructor (Collection)

 

constructor(aCollection: Collection)

 

NameValuePairArray(Collection aCollection)

Parameters:

  • aCollection:

constructor (Object[])

 

constructor(anArray: array of Object)

 

NameValuePairArray(Object[] anArray)

Parameters:

  • anArray:

add

 

method add: NameValuePair

 

NameValuePair add()

addItem (NameValuePair)

 

method addItem(anItem: NameValuePair)

 

void addItem(NameValuePair anItem)

Parameters:

  • anItem:

addItem (Object): Boolean    (declared in ArrayType)

Adds the given element to the array.

 

method addItem(anItem: Object): Boolean

 

Boolean addItem(Object anItem)

Parameters:

  • anItem: Incoming object.

containsItem    (declared in ArrayType)

Check for belonging item to the array.

 

method containsItem(anItem: Object): Boolean

 

Boolean containsItem(Object anItem)

Parameters:

  • anItem: Incoming object.

count    (declared in ArrayType)

The size of the array.

 

method count: Integer

 

Integer count()

defineNewCapacity    (declared in ArrayType)

Define new capacity.

 

method defineNewCapacity(aCapacity: Integer)

 

void defineNewCapacity(Integer aCapacity)

Parameters:

  • aCapacity: Incoming capacity.

getAttributeValue    (declared in ArrayType)

 

method getAttributeValue(aName: String): String

 

String getAttributeValue(String aName)

Parameters:

  • aName:

getItemAtIndex (Integer): NameValuePair

 

method getItemAtIndex(anIndex: Integer): NameValuePair

 

NameValuePair getItemAtIndex(Integer anIndex)

Parameters:

  • anIndex:

getItemAtIndex (Integer): Object    (declared in ArrayType)

Get an item by index.

 

method getItemAtIndex(anIndex: Integer): Object

 

Object getItemAtIndex(Integer anIndex)

Parameters:

  • anIndex: Incoming index.

indexOfItem    (declared in ArrayType)

Identify index of the item.

 

method indexOfItem(anItem: Object): Integer

 

Integer indexOfItem(Object anItem)

Parameters:

  • anItem: Incoming object.

insertItem (NameValuePair, Integer)

 

method insertItem(anItem: NameValuePair; anIndex: Integer)

 

void insertItem(NameValuePair anItem, Integer anIndex)

Parameters:

  • anItem:
  • anIndex:

insertItem (Object, Integer)    (declared in ArrayType)

Inserting an item to the specific position.

 

method insertItem(anItem: Object; anIndex: Integer)

 

void insertItem(Object anItem, Integer anIndex)

Parameters:

  • anItem: Incoming object.
  • anIndex: Incoming index.

itemClass

 

method itemClass: Class

 

Class itemClass()

itemsTypeName    (declared in ArrayType)

Return the list of types.

 

method itemsTypeName: array of String

 

String[] itemsTypeName()

itemTypeName

 

method itemTypeName: String

 

String itemTypeName()

itemTypeNameAtIndex    (declared in ArrayType)

Return the type name of the object at a specific position.

 

method itemTypeNameAtIndex(anIndex: Integer): String

 

String itemTypeNameAtIndex(Integer anIndex)

Parameters:

  • anIndex: Incoming index.

readFromMessage    (declared in ArrayType)

For internal use, used by the RO/J framework to stream the array contents from a message packet.

 

method readFromMessage(aName: String; aMessage: Message; aCount: Integer)

 

void readFromMessage(String aName, Message aMessage, Integer aCount)

Parameters:

  • aName: Incoming name.
  • aMessage: Incoming message.
  • aCount: Incoming count.

readItemFromMessage

 

method readItemFromMessage(aMessage: Message; anIndex: Integer)

 

void readItemFromMessage(Message aMessage, Integer anIndex)

Parameters:

  • aMessage:
  • anIndex:

removeAllItems    (declared in ArrayType)

Remove all item in the array.

 

method removeAllItems

 

void removeAllItems()

removeItem    (declared in ArrayType)

Remove specific item from the array.

 

method removeItem(anItem: Object)

 

void removeItem(Object anItem)

Parameters:

  • anItem: Incoming object.

removeItemAtIndex    (declared in ArrayType)

Remove item at specific index from the array.

 

method removeItemAtIndex(anIndex: Integer)

 

void removeItemAtIndex(Integer anIndex)

Parameters:

  • anIndex: Incoming index.

removeLastItem    (declared in ArrayType)

Remove last item from the array.

 

method removeLastItem

 

void removeLastItem()

replaceItemAtIndex (NameValuePair, Integer)

 

method replaceItemAtIndex(anItem: NameValuePair; anIndex: Integer)

 

void replaceItemAtIndex(NameValuePair anItem, Integer anIndex)

Parameters:

  • anItem:
  • anIndex:

replaceItemAtIndex (Object, Integer)    (declared in ArrayType)

Replace item at specific index.

 

method replaceItemAtIndex(anItem: Object; anIndex: Integer)

 

void replaceItemAtIndex(Object anItem, Integer anIndex)

Parameters:

  • anItem: Incoming object.
  • anIndex: Incoming index.

writeItemToMessage

 

method writeItemToMessage(aMessage: Message; anIndex: Integer)

 

void writeItemToMessage(Message aMessage, Integer anIndex)

Parameters:

  • aMessage:
  • anIndex:

writeToMessage    (declared in ArrayType)

For internal use, used by the RO/J framework to stream the individual items to a message packet.

 

method writeToMessage(aName: String; aMessage: Message)

 

void writeToMessage(String aName, Message aMessage)

Parameters:

  • aName: Incoming name.
  • aMessage: Incoming message.