`
netmouse
  • 浏览: 3492 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
题目: 实现一个字符串的颠倒,如把"abcde",转换成"edcba". 希望大家提供自己的实现方式。下面是我的: public class Transfer {  /**   * @param args   */  public static void main(String[] args) {   String oldString = "abcdefg";   String newString = transferString(oldString);   System.out.println("the reulst str ...
public class BubbleSort {  private Number source[];  public BubbleSort(Number source[]) {   this.source = source;  }  /**   * arithmetic   *   * @return   */  public Number[] doSort() {   int length = source.length;   for (int i = length - 1; i > 1; i--) {    for (int j = 0; j < i; j++)     i ...
Global site tag (gtag.js) - Google Analytics