本文整理了Java中us.ihmc.yoVariables.variable.YoEnum.getStringValue()
方法的一些代码示例,展示了YoEnum.getStringValue()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoEnum.getStringValue()
方法的具体详情如下:
包路径:us.ihmc.yoVariables.variable.YoEnum
类名称:YoEnum
方法名:getStringValue
[英]Retrieve the String representing this YoEnum.
[中]
代码示例来源:origin: us.ihmc/ihmc-yovariables
@Override
public String getValueAsString()
{
return this.value.getStringValue();
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
/**
* Appends the value of this YoEnum to the end of the given StringBuffer.
*
* @param stringBuffer StringBuffer to which the value will be appended
*/
@Override public void getValueString(StringBuffer stringBuffer)
{
stringBuffer.append(getStringValue());
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
/**
* Returns String representation of this YoEnum.
*
* @return String representing this YoEnum and its current value as an integer
*/
@Override public String toString()
{
return String.format("%s: %s", getName(), getStringValue());
}
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces
public ConstraintType getCurrenFootState(RobotSide robotSide)
{
return ConstraintType.valueOf(footStates.get(robotSide).getStringValue());
}
内容来源于网络,如有侵权,请联系作者删除!