@Override public String getValueAsString() { return this.value.getStringValue(); }
/** * 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()); }
/** * 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()); }
public ConstraintType getCurrenFootState(RobotSide robotSide) { return ConstraintType.valueOf(footStates.get(robotSide).getStringValue()); }