com.fxcm.messaging
Interface IFieldGroupList

All Superinterfaces:
Serializable

public interface IFieldGroupList
extends Serializable

Defines methods requred to manipulate with list field groups.

Note:Implentation is not supposed to guaranty concurent access to group from many threads.

Example of usage
for (IFieldGroup fg = fildGroupList.getFirst(); fg != null ; fg = fildGroupList.getNext()) {
// do something here with fg
}


Method Summary
 IFieldGroup getFirst()
          Obtains a first group from the list.
 IFieldGroup getNext()
          Obtains a next group from the list.
 void put(IFieldGroup aGroup)
          Adds filed group to list.
 int size()
          Obtains number of filed group within group.
 

Method Detail

getFirst

IFieldGroup getFirst()
Obtains a first group from the list.
 

Returns:
null when no group within the list

getNext

IFieldGroup getNext()
Obtains a next group from the list.
 

Returns:
null when no group within the list

put

void put(IFieldGroup aGroup)
Adds filed group to list.
 

Parameters:
aGroup - new field group to add

size

int size()
Obtains number of filed group within group.
 

Returns:
0 when no group present


Copyright © 2012 FXCM, LLC. All Rights Reserved.