Namespace is used to provide a scope for data saved by
extensions within a NamespacedHierarchicalStore.
Storing data in custom namespaces allows extensions to avoid accidentally mixing data between extensions or across different invocations within the lifecycle of a single extension.
| Modifier and Type | Field and Description |
|---|---|
| public static final Namespace | GLOBAL
The default, global namespace which allows access to stored data from all extensions. |
| private final List |
| Modifier and Type | Method and Description |
|---|---|
| public Namespace | |
| public static Namespace | |
| public static Namespace | |
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public int |
| GLOBAL | back to summary |
|---|---|
| public static final Namespace GLOBAL The default, global namespace which allows access to stored data from all extensions. | |
| parts | back to summary |
|---|---|
| private final List<Object> parts | |
| Namespace | back to summary |
|---|---|
| private Namespace(List<Object> parts) | |
| append | back to summary |
|---|---|
| public Namespace append(Object... parts) Create a new namespace by appending the supplied
| |
| create | back to summary |
|---|---|
| public static Namespace create(Object... parts) Create a namespace which restricts access to data to all extensions
which use the same sequence of The order of the Internally the | |
| create | back to summary |
|---|---|
| public static Namespace create(List<Object> objects) Create a namespace which restricts access to data to all extensions
which use the same sequence of The order of the Internally the | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |