摘要: heap insideQueue qi = new PriorityQueue();常用函数add()poll()peek()remove()contains()clear() 阅读全文
posted @ 2016-01-23 04:27 飞飞喵 阅读(157) 评论(0) 推荐(0)
摘要: Hello, World. public class learn { public static void main(String[] args){ System.out.println("hi"); } } Built-in data types: int, double, boolean, ch 阅读全文
posted @ 2016-01-23 04:08 飞飞喵 阅读(804) 评论(0) 推荐(0)
摘要: HashMap<String, String> map = new HashMap<String, String>(); map.put("1", "2"); System.out.println(map.get("1")); 常用函数: containsKey(key) put(key, valu 阅读全文
posted @ 2016-01-23 03:51 飞飞喵 阅读(230) 评论(0) 推荐(0)
摘要: java.lang.Math APIhttps://docs.oracle.com/javase/7/docs/api/java/lang/Math.htmle.g. Math.max(a, b) 常用的有abs(a)ceil(a) floor(a) round(a) // 取整exp(a) // ... 阅读全文
posted @ 2016-01-23 02:47 飞飞喵 阅读(173) 评论(0) 推荐(0)