Class QNameToStatementDefinitionMap
java.lang.Object
org.opendaylight.yangtools.yang.parser.spi.source.QNameToStatementDefinitionMap
- All Implemented Interfaces:
QNameToStatementDefinition
public final class QNameToStatementDefinitionMap
extends Object
implements QNameToStatementDefinition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns StatementDefinition with specified QName.getByNamespaceAndLocalName
(XMLNamespace namespace, String localName) Returns StatementDefinition with specified namespace and localName.@Nullable StatementSupport<?,
?, ?> getSupport
(QName identifier) Returns StatementSupport with specified QName.void
put
(QName qname, StatementSupport<?, ?, ?> stDef) void
putAll
(Map<QName, StatementSupport<?, ?, ?>> qnameToStmt) StatementSupport<?,
?, ?> putIfAbsent
(QName qname, StatementSupport<?, ?, ?> support)
-
Constructor Details
-
QNameToStatementDefinitionMap
public QNameToStatementDefinitionMap() -
QNameToStatementDefinitionMap
public QNameToStatementDefinitionMap(int initialCapacity)
-
-
Method Details
-
put
-
putAll
-
putIfAbsent
-
get
Description copied from interface:QNameToStatementDefinition
Returns StatementDefinition with specified QName.- Specified by:
get
in interfaceQNameToStatementDefinition
- Parameters:
identifier
- QName of requested statement- Returns:
- StatementDefinition
-
getByNamespaceAndLocalName
Description copied from interface:QNameToStatementDefinition
Returns StatementDefinition with specified namespace and localName.- Specified by:
getByNamespaceAndLocalName
in interfaceQNameToStatementDefinition
- Parameters:
namespace
- namespace of requested statementlocalName
- localName of requested statement- Returns:
- StatementDefinition
-
getSupport
Returns StatementSupport with specified QName.- Parameters:
identifier
- QName of requested statement- Returns:
- StatementSupport
-