public interface VarName
| Modifier and Type | Method and Description |
|---|---|
String |
getValue()
Get the string name of the variable (without prefixed "$")
|
VarName |
map(java.util.function.Function<String,String> mapper)
Rename a variable (does not modify the original
VarName) |
String |
shortName()
Get a shorter representation of the variable (with prefixed "$")
|
String getValue()
VarName map(java.util.function.Function<String,String> mapper)
VarName)mapper - a function to apply to the underlying variable nameString shortName()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.