01 2023 档案
摘要:栈:先进后出 Stack<Integer> stack = new Stack<>();// 推荐Deque<Integer> stack1 = new ArrayDeque<>();// pop() 删除并返回栈顶的值// peek()返回栈顶端的值,不删 类似于HastTable 和 HashS
阅读全文
摘要:// long 转为 int类型 int long 基础数据类型 long a1 = 10; int b = (int)a1; // Long 包装类转为 基础类 int Long a3 = 10L; int b3 = a3.intValue(); // int 转为 long 类型 int lon
阅读全文
浙公网安备 33010602011771号