HashMap
来源:互联网 发布:sql整形是多少位 编辑:程序博客网 时间:2024/06/05 20:38
import java.io.IOException;
/**
* @author ErnestFei
*/
public class HashMapTest {
public static void main(String[] args) {
byte[] buf = new byte[1024];
try {
System.out.println("输入省名:");
System.in.read(buf);
String input = new String(buf).trim();
if("".equals(Province.provinceCap(input))){
System.out.println("无这样的信息!");
}else{
System.out.println(input+"的省会:"+Province.provinceCap(input));
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
/**
* @author ErnestFei
*/
public class HashMapTest {
public static void main(String[] args) {
byte[] buf = new byte[1024];
try {
System.out.println("输入省名:");
System.in.read(buf);
String input = new String(buf).trim();
if("".equals(Province.provinceCap(input))){
System.out.println("无这样的信息!");
}else{
System.out.println(input+"的省会:"+Province.provinceCap(input));
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
1 0
- HashMap
- HashMap
- HashMap
- HashMap
- HashMap
- HashMap
- HashMap
- HashMap
- HashMap
- HashMap
- HashMap
- hashmap
- HashMap
- HashMap
- HashMap
- hashmap
- HashMap
- Hashmap
- Java从零开始
- array_merge和数组直接相加的区别
- android属性之excludeFromRecents
- iOS-推送实现的原理
- HDU2029
- HashMap
- Android SwipeSelector
- Java和Android中ArrayList与Vector的扩容比较
- Web Worker之HelloWorld
- An App ID with Identifier 'org.reactjs.native.example.Hello' is not available. Please enter a differ
- 多图片左右切换功能前端实现
- Android OpenGL ES学习笔记之绘制线、面
- [16-8-3]每日总结
- linux nasm helloworld