Package com.yahoo.tensor.functions
Class ToStringContext.EmptyStringContext
- java.lang.Object
-
- com.yahoo.tensor.functions.ToStringContext.EmptyStringContext
-
- All Implemented Interfaces:
ToStringContext
- Enclosing interface:
- ToStringContext
public static class ToStringContext.EmptyStringContext extends Object implements ToStringContext
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.yahoo.tensor.functions.ToStringContext
ToStringContext.EmptyStringContext
-
-
Constructor Summary
Constructors Constructor Description EmptyStringContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBinding(String name)
Returns the name an identifier is bound to, or null if not bound in this contextToStringContext
parent()
Returns the parent context of this (the context we're in scope of when this is created), or null if this is the root.
-
-
-
Method Detail
-
getBinding
public String getBinding(String name)
Description copied from interface:ToStringContext
Returns the name an identifier is bound to, or null if not bound in this context- Specified by:
getBinding
in interfaceToStringContext
-
parent
public ToStringContext parent()
Description copied from interface:ToStringContext
Returns the parent context of this (the context we're in scope of when this is created), or null if this is the root.- Specified by:
parent
in interfaceToStringContext
-
-