1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.portals.graffito.jcr.persistence.collectionconverter.impl;
18
19 import java.util.ArrayList;
20 import java.util.Iterator;
21
22 import org.apache.portals.graffito.jcr.persistence.collectionconverter.ManageableCollection;
23
24 /***
25 *
26 * {@link ManageableCollection} ArrayList implementation
27 *
28 * @author <a href="mailto:christophe.lombart@gmail.com">Christophe Lombart</a>
29 *
30 */
31 public class ManageableArrayList extends ArrayList implements ManageableCollection
32 {
33
34 /***
35 *
36 * @see org.apache.portals.graffito.jcr.persistence.collectionconverter.ManageableCollection#addObject(java.lang.Object)
37 */
38 public void addObject(Object object)
39 {
40 this.add(object);
41
42 }
43
44 /***
45 *
46 * @see org.apache.portals.graffito.jcr.persistence.collectionconverter.ManageableCollection#getIterator()
47 */
48 public Iterator getIterator()
49 {
50 return this.iterator();
51 }
52
53 /***
54 *
55 * @see org.apache.portals.graffito.jcr.persistence.collectionconverter.ManageableCollection#getSize()
56 */
57 public int getSize()
58 {
59
60 return this.size();
61 }
62
63
64
65 }