public class CloudImpl extends ArrayList<E> implements Cloud
Constructor and Description |
---|
CloudImpl() |
CloudImpl(Collection<? extends DatacenterImpl> c) |
CloudImpl(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E e) |
void |
add(int index,
E element) |
boolean |
addAll(Collection<? extends E> c) |
boolean |
addAll(int index,
Collection<? extends E> c) |
void |
clear() |
List<Cluster> |
getClusters()
Returns an unmodifiable list that contains all clusters in all data-centers of this cloud.
|
List<Datacenter> |
getDatacenters()
Returns an unmodifiable list that contains all data-centers in this cloud.
|
List<Host> |
getHosts()
Returns an unmodifiable list that contains all hosts in all racks in all clusters in all data-centers in this cloud.
|
com.samysadi.acs.utility.collections.infrastructure.MyArrayList<?> |
getParent() |
List<Rack> |
getRacks()
Returns an unmodifiable list that contains all racks in all clusters in all data-centers in this cloud.
|
E |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
E |
set(int index,
E element) |
clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, size, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
containsAll, equals, hashCode
public CloudImpl()
public CloudImpl(Collection<? extends DatacenterImpl> c)
public CloudImpl(int initialCapacity)
public List<Datacenter> getDatacenters()
Cloud
getDatacenters
in interface Cloud
public List<Cluster> getClusters()
Cloud
getClusters
in interface Cloud
public List<Rack> getRacks()
Cloud
public List<Host> getHosts()
Cloud
public com.samysadi.acs.utility.collections.infrastructure.MyArrayList<?> getParent()
public E set(int index, E element)
public boolean add(E e)
public void add(int index, E element)
public E remove(int index)
public boolean remove(Object o)
public void clear()
public boolean addAll(Collection<? extends E> c)
public boolean addAll(int index, Collection<? extends E> c)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)