org.ho.yaml.wrapper
Interface CollectionWrapper

All Superinterfaces:
java.lang.Iterable, ObjectWrapper
All Known Implementing Classes:
ArrayWrapper, DefaultCollectionWrapper

public interface CollectionWrapper
extends ObjectWrapper, java.lang.Iterable


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ho.yaml.wrapper.ObjectWrapper
ObjectWrapper.CreateListener
 
Method Summary
 void add(int index, java.lang.Object object)
          assumes that isOrdered() returns true
 void add(java.lang.Object object)
           
 java.lang.Class componentType()
           
 boolean isOrdered()
           
 boolean isTyped()
           
 int size()
           
 
Methods inherited from interface org.ho.yaml.wrapper.ObjectWrapper
addCreateHandler, createPrototype, getObject, getType, setObject, setYamlConfig
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

add

void add(java.lang.Object object)

add

void add(int index,
         java.lang.Object object)
assumes that isOrdered() returns true

Parameters:
index -
object -

isTyped

boolean isTyped()

componentType

java.lang.Class componentType()

size

int size()

isOrdered

boolean isOrdered()