| Modifier and Type | Class and Description |
|---|---|
static class |
ImageLayers.Builder<T extends Layer> |
| Modifier and Type | Method and Description |
|---|---|
static <U extends Layer> |
builder() |
T |
get(DescriptorDigest digest) |
T |
get(int index) |
com.google.common.collect.ImmutableList<T> |
getLayers() |
boolean |
has(DescriptorDigest digest) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static <U extends Layer> ImageLayers.Builder<U> builder()
public com.google.common.collect.ImmutableList<T> getLayers()
public int size()
public boolean isEmpty()
public T get(int index)
index - the index of the layer to get@Nullable public T get(DescriptorDigest digest) throws LayerPropertyNotFoundException
digest - the digest used to retrieve the layernull if not foundLayerPropertyNotFoundException - if getting the layer's blob descriptor failspublic boolean has(DescriptorDigest digest)
digest - the digest to check forCopyright © 2019. All rights reserved.