标签:oid 字符串 倒序 字符 ever buffer tostring test ring
@Test
public void demo7(){
StringBuffer stringBuffer = new StringBuffer();
stringBuffer.append("12345");
StringBuffer reverse = stringBuffer.reverse();
Integer valueOf = Integer.valueOf(reverse.toString());
System.out.println(valueOf+1);
}
标签:oid 字符串 倒序 字符 ever buffer tostring test ring
原文地址:http://www.cnblogs.com/quanting112037/p/6744129.html