API: Thread - String
2021-03-09 10:30
阅读:419
标签:mil api thread class interrupt code nal except har
Thread
public 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;
String
public final class String implements java.io.Serializable, Comparable, CharSequence
public String(byte bytes[]) { this(bytes, 0, bytes.length); }
public byte[] getBytes() {
return StringCoding.encode(value, 0, value.length);
}
API: Thread - String
标签:mil api thread class interrupt code nal except har
原文地址:https://www.cnblogs.com/hoper2020/p/12744454.html
上一篇:C# 判断字符串是否为整数
下一篇:python——切片
评论
亲,登录后才可以留言!