public final class LayerId
extends java.lang.Object
algorithm: hash.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAlgorithm()
Return the algorithm of layer.
|
java.lang.String |
getHash()
Return the hash of the layer.
|
int |
hashCode() |
static LayerId |
of(java.lang.String value)
Create a new
LayerId with the specified value. |
static LayerId |
ofSha256Digest(byte[] digest)
Create a new
LayerId from a SHA-256 digest. |
java.lang.String |
toString() |
public java.lang.String getAlgorithm()
public java.lang.String getHash()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static LayerId of(java.lang.String value)
LayerId with the specified value.value - the layer ID value of the form algorithm: hash