public final class NamespacedKey extends AbstractNamedKey
| Modifier | Constructor and Description |
|---|---|
protected |
NamespacedKey(Namespace namespace,
String key) |
protected |
NamespacedKey(Namespace namespace,
String key,
String name) |
| Modifier and Type | Method and Description |
|---|---|
static NamespacedKey |
fromString(String string) |
static NamespacedKey |
fromStringOrCompute(String string,
java.util.function.Function<String,NamespacedKey> mapper) |
static NamespacedKey |
fromStringOrDefault(String string,
NamespacedKey key) |
String |
getKey() |
String |
getName() |
Namespace |
getNamespace() |
static NamespacedKey |
of(String namespace,
String key) |
static NamespacedKey |
of(String namespace,
String key,
String name) |
equalsclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasNamedString, hashNamed, isNamedKey, isSamepublic static NamespacedKey of(String namespace, String key)
public static NamespacedKey of(String namespace, String key, String name)
public static NamespacedKey fromStringOrCompute(String string, java.util.function.Function<String,NamespacedKey> mapper)
public static NamespacedKey fromStringOrDefault(String string, NamespacedKey key)
public static NamespacedKey fromString(String string)
public String getName()
public Namespace getNamespace()
public String getKey()
Copyright © 2022. All rights reserved.