us.ihmc.yoVariables.variable.YoEnum.getStringValue()方法的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(1.2k)|赞(0)|评价(0)|浏览(107)

本文整理了Java中us.ihmc.yoVariables.variable.YoEnum.getStringValue()方法的一些代码示例,展示了YoEnum.getStringValue()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoEnum.getStringValue()方法的具体详情如下:
包路径:us.ihmc.yoVariables.variable.YoEnum
类名称:YoEnum
方法名:getStringValue

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());
}

相关文章