| Constructor and Description |
|---|
ImageLayers() |
| Modifier and Type | Method and Description |
|---|---|
ImageLayers<T> |
add(T layer)
Adds a layer.
|
<U extends T> |
addAll(ImageLayers<U> layers)
Adds all layers in
layers. |
T |
get(DescriptorDigest digest) |
T |
get(int index) |
List<T> |
getLayers()
Returns a read-only view of the image layers.
|
boolean |
has(DescriptorDigest digest) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic int size()
public boolean isEmpty()
public T get(int index)
public T get(DescriptorDigest digest) throws LayerPropertyNotFoundException
LayerPropertyNotFoundExceptionpublic boolean has(DescriptorDigest digest)
public ImageLayers<T> add(T layer) throws DuplicateLayerException, LayerPropertyNotFoundException
layer - the layer to addDuplicateLayerException - if the layer has already been addedLayerPropertyNotFoundExceptionpublic <U extends T> ImageLayers<T> addAll(ImageLayers<U> layers) throws LayerPropertyNotFoundException, DuplicateLayerException
layers.Copyright © 2018. All rights reserved.