
字符串
慕七儿
我是个小垃圾
展开
-
Split分割字符串
java工程中主方法中的实现代码package com.baidu.split; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException;public class Split { public static void main(Strin原创 2016-04-17 19:20:52 · 427 阅读 · 0 评论 -
字符串反转
public class DaoXu { public static void main(String[] args) { String a="abcdef"; //字符串反转 String b=new StringBuffer(a).reverse().toString(); System.out.println(b);原创 2016-04-17 20:00:46 · 337 阅读 · 0 评论 -
歌词同步显示
布局中的实现代码<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="原创 2016-04-23 08:28:39 · 791 阅读 · 0 评论