[boo, and, fooo, , oooooo, , ]
[boo, and, fooo, , oooooo, , ]
[boo, and, fooo, , oooooo]
[boo:and:fooo::oooooo::]
[boo, and:fooo::oooooo::]
[boo, and, fooo::oooooo::]
[boo, and, fooo, :oooooo::]
[boo, and, fooo, , oooooo::]
[boo, and, fooo, , oooooo, :]
[boo, and, fooo, , oooooo, , ]
[boo, and, fooo, , oooooo, , ]
[boo, and, fooo, , oooooo, , ]
[boo, and, fooo, , oooooo, , ]
final String string = "boo:and:fooo::oooooo::";
System.out.println(Arrays.asList(string.split(":", -2)));
System.out.println(Arrays.asList(string.split(":", -1)));
System.out.println(Arrays.asList(string.split(":", 0)));
System.out.println(Arrays.asList(string.split(":", 1)));
System.out.println(Arrays.asList(string.split(":", 2)));
System.out.println(Arrays.asList(string.split(":", 3)));
System.out.println(Arrays.asList(string.split(":", 4)));
System.out.println(Arrays.asList(string.split(":", 5)));
System.out.println(Arrays.asList(string.split(":", 6)));
System.out.println(Arrays.asList(string.split(":", 7)));
System.out.println(Arrays.asList(string.split(":", 8)));
System.out.println(Arrays.asList(string.split(":", 9)));
System.out.println(Arrays.asList(string.split(":", 40)));
分享到:
相关推荐
解决 java.lang.NoSuchFieldError: STRING at org.jbpm.identity.hibernate.PermissionUserType. 不用jbpm的jbpm-identity.jar 用这个就好
java.lang.NumberFormatException For inputstring 4294967295处理方法
java.lang.NoSuchFieldError: Companion 问题的解决方案
报错 java.lang.OutOfMemoryError: PermGen space 报错 java.lang.OutOfMemoryError: Java heap 启动报错java.lang.ClassNotFoundException: 1catalina.org.apache.juli.FileHandler JAVA_OPTS="-server -Xms800m ...
idea启动项目报错 java.lang.NegativeArraySizeException解决方法
java.lang.runtimeexception unexpected subelement
解决java.lang.StackOverflowError
java.lang.OutOfMemoryError: Java heap space 解决方法
搜集整理关于java错误处理:java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space 资料整理
scrcpy投屏 AssertionError: java.lang.reflect.InvocationTargetException 安装这个版本的scrcpy即可。
java.lang.UnsupportedOperationException异常(csdn)————程序
java.lang.OutOfMemoryError: PermGen space 解决方案
记录java.lang.OutOfMemoryError:Java heap space的情况 文章内容: 一.问题描述+原因分析+解决方案 二.JVM调优说明 三.Tomcat添加到jvisualvm监控
java.lang.NoClassDefFoundError: de/javakaffee/kryoserializers/CurrencySerializer
NULL 博文链接:https://never-forget.iteye.com/blog/1833801
jdk升级之后出现异常:java.lang.NoClassDefFoundError: javax/xml/ws/Service 1、解决方案jdk降级至1.8之前 2、由于JDK9以后,去除了javax.xml包需要引入对应的jar包 <groupId>javax.activation <artifactId>...
java.lang.OutOfMemoryError处理错误