Joda System API

org.joda.util
Class ArrayTreeNode.TreeArrayList

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--org.joda.util.ArrayTreeNode.TreeArrayList
All Implemented Interfaces:
java.util.Collection, java.util.List
Enclosing class:
ArrayTreeNode

public static class ArrayTreeNode.TreeArrayList
extends java.util.AbstractList

List of TreeNodes that manages the parent behaviour


Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ArrayTreeNode.TreeArrayList(TreeNode parentNode)
          Constructor
 
Method Summary
 void add(int index, java.lang.Object element)
           
 java.lang.Object get(int index)
           
 java.lang.Object remove(int index)
           
 java.lang.Object set(int index, java.lang.Object element)
           
 int size()
           
 
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

ArrayTreeNode.TreeArrayList

public ArrayTreeNode.TreeArrayList(TreeNode parentNode)
Constructor

Method Detail

get

public java.lang.Object get(int index)
Specified by:
get in interface java.util.List
Specified by:
get in class java.util.AbstractList
See Also:
List.get(int)

size

public int size()
Specified by:
size in interface java.util.List
Specified by:
size in class java.util.AbstractCollection
See Also:
Collection.size()

add

public void add(int index,
                java.lang.Object element)
Specified by:
add in interface java.util.List
Overrides:
add in class java.util.AbstractList
See Also:
List.add(int, Object)

remove

public java.lang.Object remove(int index)
Specified by:
remove in interface java.util.List
Overrides:
remove in class java.util.AbstractList
See Also:
List.remove(int)

set

public java.lang.Object set(int index,
                            java.lang.Object element)
Specified by:
set in interface java.util.List
Overrides:
set in class java.util.AbstractList
See Also:
List.set(int, Object)

Joda System API

Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.