API: Thread - String
2021-03-09 10:30
标签:mil api thread class interrupt code nal except har Thread String API: Thread - String 标签:mil api thread class interrupt code nal except har 原文地址:https://www.cnblogs.com/hoper2020/p/12744454.htmlpublic static void sleep(long millis, int nanos)
throws InterruptedException {
if (millis ) {
throw new IllegalArgumentException("timeout value is negative");
}
if (nanos 999999) {
throw new IllegalArgumentException(
"nanosecond timeout value out of range");
}
if (nanos >= 500000 || (nanos != 0 && millis == 0)) {
millis++;
}
sleep(millis);
}
public static native void sleep(long millis) throws InterruptedException;
public final class String
implements java.io.Serializable, Comparable
public String(byte bytes[]) {
this(bytes, 0, bytes.length);
}
public byte[] getBytes() {
return StringCoding.encode(value, 0, value.length);
}
上一篇:C# 判断字符串是否为整数
下一篇:python——切片
文章标题:API: Thread - String
文章链接:http://soscw.com/index.php/essay/62255.html