摘要:
阅读全文
文章分类 - Java
IO流
2021-06-05 21:19 by Spiderman25, 87 阅读, 收藏,
摘要:
java.io.Closeablevoid close() throws Exceptionjava.io.Flushablepublic abstract void flush() throws IOExceptionjava.io.InputStreampublic int available( 阅读全文
Java8新特性学习-Stream的Reduce及Collect方法详解
2021-06-03 22:43 by Spiderman25, 85 阅读, 收藏,
摘要:
https://blog.csdn.net/icarusliu/article/details/79504602 阅读全文
Java 8:Class到AnnotatedType
2021-05-30 22:15 by Spiderman25, 124 阅读, 收藏,
摘要:
http://www.voidcn.com/article/p-pubzbgtg-bts.html 阅读全文
java Type分类:GenericArrayType TypeVariable WildcardType ParameterizedType Class
2021-05-30 21:19 by Spiderman25, 57 阅读, 收藏,
摘要:
https://blog.csdn.net/weixin_37549458/article/details/109653091 阅读全文
反射
2021-05-30 14:49 by Spiderman25, 90 阅读, 收藏,
摘要:
TypeVariable 如class A<T>{}、private <T> method(){}中T就是,实质就是泛型ParameterizedType List<String> list、private List<String> method(List<String> list) throws 阅读全文
JDK8新特性之可重复注解
2021-05-28 00:12 by Spiderman25, 93 阅读, 收藏,
摘要:
https://www.cnblogs.com/kingdomer/p/14068629.html 上面新特性重复注解中的MyAnnotation、MyAnnotations都必须要么都有@Inherited要么都不带 如果都带上Inherited A(MyAnnotation、MyAnnotati 阅读全文
@Inherited详解
2021-05-28 00:01 by Spiderman25, 179 阅读, 收藏,
摘要:
https://blog.csdn.net/qq_43390895/article/details/100175330 标注了这个注解的注解An,A(An)->B-C->D,那么A、B、C、D都可以获取An,如果A(An)->B(An)-C->D,那么B、C、D获取到的An都是B中的An 阅读全文
java.lang.reflect.Array
2021-05-25 00:00 by Spiderman25, 65 阅读, 收藏,
摘要:
public boolean equals(Object arg0)public static native Object get(Object arg0,int arg1)//获取数组下的某个元素,arg0为数组,arg1为下标public static native boolean getBoo 阅读全文
java.util.Collections
2021-05-23 13:08 by Spiderman25, 81 阅读, 收藏,
摘要:
public static transient boolean addAll(Collection arg0,Object[] arg1)//把arg1的值放到arg0上,调用其add方法public static Queue asLifoQueue(Deque arg0)public static 阅读全文
java.lang.Integer
2021-05-23 01:22 by Spiderman25, 196 阅读, 收藏,
摘要:
public static int bitCount(int arg0)//二进制中出现1的数量public byte byteValue()//转化为bytepublic static int compare(int arg0,int arg1)//比较两者大小public int compare 阅读全文
java.util.Arrays
2021-05-22 17:13 by Spiderman25, 92 阅读, 收藏,
摘要:
public static transient List asList(Object[] arg0)//通过数组构造list对象public static int binarySearch(long[] arg0,long arg1)//详见https://www.cnblogs.com/seatt 阅读全文
改变世界观的操作
2021-05-22 17:07 by Spiderman25, 26 阅读, 收藏,
摘要:
Object element = a[i]Class<?> eClass = element.getClass() if (eClass.isArray())if (eClass == byte[].class) 阅读全文
详解Java中的Arrays类的copyOf()方法
2021-05-20 14:37 by Spiderman25, 139 阅读, 收藏,
摘要:
https://blog.csdn.net/qq_45376284/article/details/116304992 阅读全文
String中intern方法的作用
2021-05-17 14:10 by Spiderman25, 42 阅读, 收藏,
摘要:
https://blog.csdn.net/guoxiaolongonly/article/details/80425548 阅读全文
java.util.Optional
2021-05-16 15:39 by Spiderman25, 93 阅读, 收藏,
摘要:
public static Optional empty()//构建空的Optionalpublic boolean equals(Object arg0)public Optional filter(Predicate arg0)//如果arg0返回true,则返回原值,否则返回空的Optiona 阅读全文
Java8 - 对流(数据)进行自定义分块:partitioningBy收集器
2021-05-15 19:47 by Spiderman25, 67 阅读, 收藏,
摘要:
https://blog.csdn.net/zebe1989/article/details/83054026 阅读全文
java8中的Collectors.groupingBy用法
2021-05-12 08:11 by Spiderman25, 169 阅读, 收藏,
摘要:
https://blog.csdn.net/u014231523/article/details/102535902 阅读全文
Java8 Collectors 基本使用
2021-05-12 08:10 by Spiderman25, 61 阅读, 收藏,
摘要:
https://blog.csdn.net/lijingjingchn/article/details/86493051 阅读全文
浙公网安备 33010602011771号