107 * character array is not copied and must never be modified after the 108 * String is created, in order to fulfill String's contract. 109 * 110 * @param chars the character array to back the string 111 * @return a newly created string whose content is the character array 112 */ 113 String newStringUnsafe(char[] chars); 114 115 /** 116 * Returns a new Thread with the given Runnable and an 117 * inherited AccessControlContext. 118 */ 119 Thread newThreadWithAcc(Runnable target, AccessControlContext acc); 120 121 /** 122 * Invokes the finalize method of the given object. 123 */ 124 void invokeFinalize(Object o) throws Throwable; 125 126 /** 127 * Invokes Long.formatUnsignedLong(long val, int shift, char[] buf, int offset, int len) 128 */ 129 void formatUnsignedLong(long val, int shift, char[] buf, int offset, int len); 130 131 /** 132 * Invokes Integer.formatUnsignedInt(long val, int shift, char[] buf, int offset, int len) 133 */ 134 void formatUnsignedInt(int val, int shift, char[] buf, int offset, int len); 135 } | 107 * character array is not copied and must never be modified after the 108 * String is created, in order to fulfill String's contract. 109 * 110 * @param chars the character array to back the string 111 * @return a newly created string whose content is the character array 112 */ 113 String newStringUnsafe(char[] chars); 114 115 /** 116 * Returns a new Thread with the given Runnable and an 117 * inherited AccessControlContext. 118 */ 119 Thread newThreadWithAcc(Runnable target, AccessControlContext acc); 120 121 /** 122 * Invokes the finalize method of the given object. 123 */ 124 void invokeFinalize(Object o) throws Throwable; 125 126 /** 127 * Invokes Long.fastUUID 128 */ 129 String fastUUID(long lsb, long msb); 130 } |