Modifier and Type | Field and Description |
---|---|
static EmptyAliases |
INSTANCE |
Constructor and Description |
---|
EmptyAliases() |
Modifier and Type | Method and Description |
---|---|
String |
get(String alias)
Returns value from aliases table that corresponds to provided alias.
|
Iterator<Map.Entry<String,String>> |
getAllAliases()
Returns iterator for all entries of
this aliases table. |
String |
getKey()
Key of
this aliases table. |
boolean |
put(String alias,
String value,
boolean replace)
Associates provided alias with provided alias in aliases table.
|
boolean |
remove(String alias)
Removes value for specified alias from aliases table.
|
public static final EmptyAliases INSTANCE
public String get(String alias)
Aliases
public boolean put(String alias, String value, boolean replace)
Aliases
put
in interface Aliases
alias
- alias of the value to associate withvalue
- value that will be associated with provided aliasreplace
- whether existing value for the same alias should be replacedtrue
if provided alias was associated with
the provided value in aliases tablepublic boolean remove(String alias)
Aliases
Copyright © 2022 The Apache Software Foundation. All rights reserved.