org.jclouds.openstack.swift.v1.domain
Class ObjectList

java.lang.Object
  extended by com.google.common.collect.ForwardingObject
      extended by com.google.common.collect.ForwardingCollection<E>
          extended by com.google.common.collect.ForwardingList<SwiftObject>
              extended by org.jclouds.openstack.swift.v1.domain.ObjectList
All Implemented Interfaces:
Iterable<SwiftObject>, Collection<SwiftObject>, List<SwiftObject>

public class ObjectList
extends com.google.common.collect.ForwardingList<SwiftObject>

Represents a list of objects in a container.

See Also:
Container, SwiftObject, ObjectApi.list()

Constructor Summary
protected ObjectList(List<SwiftObject> objects, Container container)
           
 
Method Summary
static ObjectList create(List<SwiftObject> objects, Container container)
           
protected  List<SwiftObject> delegate()
           
 Container getContainer()
           
 
Methods inherited from class com.google.common.collect.ForwardingList
add, addAll, equals, get, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, set, standardAdd, standardAddAll, standardEquals, standardHashCode, standardIndexOf, standardIterator, standardLastIndexOf, standardListIterator, standardListIterator, standardSubList, subList
 
Methods inherited from class com.google.common.collect.ForwardingCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRemoveAll, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
 
Methods inherited from class com.google.common.collect.ForwardingObject
toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

ObjectList

protected ObjectList(List<SwiftObject> objects,
                     Container container)
Method Detail

create

public static ObjectList create(List<SwiftObject> objects,
                                Container container)

getContainer

public Container getContainer()
Returns:
the parent Container the objects reside in.

delegate

protected List<SwiftObject> delegate()
Overrides:
delegate in class com.google.common.collect.ForwardingList<SwiftObject>


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.