Class JvmContext.ContextName
- java.lang.Object
-
- nl.tudelft.simulation.naming.context.JvmContext.ContextName
-
- Enclosing class:
- JvmContext
public static class JvmContext.ContextName extends Object
Record with Context and Name combination.Copyright (c) 2020-2023 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can be found at https://https://simulation.tudelft.nl/dsol/docs/latest/license.html.
- Author:
- Alexander Verbraeck
-
-
Constructor Summary
Constructors Constructor Description ContextName(ContextInterface context, String name)Instantiate a Context and Name combination.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ContextInterfacegetContext()StringgetName()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
ContextName
public ContextName(ContextInterface context, String name)
Instantiate a Context and Name combination.- Parameters:
context- the contextname- the name (key) in the context
-
-
Method Detail
-
getContext
public ContextInterface getContext()
- Returns:
- context
-
getName
public String getName()
- Returns:
- name
-
-