Name.java revision 553
553N/A * Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 553N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 553N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 553N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 553N/A * or visit www.oracle.com if you need additional information or have any 112N/A/** An abstraction for internal compiler strings. They are stored in 112N/A * Utf8 format. Names are stored in a Name.Table, and are unique within 0N/A * <p><b>This is NOT part of any API supported by Sun Microsystems. If 0N/A * you write code that depends on this, you do so at your own risk. 0N/A * This code and its internal interfaces are subject to change or 0N/A * deletion without notice.</b> 112N/A /** Return the concatenation of this name and name `n'. 112N/A /** Return the concatenation of this name, the given ASCII 112N/A * character, and name `n'. 112N/A /** An arbitrary but consistent complete order among all Names. 112N/A /** Return true if this is the empty name. 0N/A /** Returns last occurrence of byte b in this name, -1 if not found. 0N/A /** Does this name start with prefix? 0N/A /** Returns the sub-name starting at position start, up to and 0N/A * excluding position end. 112N/A /** Return the string representation of this name. 112N/A /** Return the Utf8 representation of this name. 112N/A /* Get a "reasonably small" value that uniquely identifies this name 112N/A * within its name table. 112N/A /** Get the length (in bytes) of this name. 112N/A /** Returns i'th byte of this name. 112N/A /** Copy all bytes of this name to buffer cs, starting at start. 112N/A /** Get the underlying byte array for this name. The contents of the 112N/A * array must not be modified. 112N/A /** Get the start offset of this name within its byte array. 112N/A /** An abstraction for the hash table used to create unique Name instances. 112N/A /** Standard name table. 112N/A /** Get the name from the characters in cs[start..start+len-1]. 112N/A /** Get the name for the characters in string s. 112N/A /** Get the name for the bytes in array cs. 112N/A * Assume that bytes are in utf8 format. 112N/A /** get the name for the bytes in cs[start..start+len-1]. 0N/A * Assume that bytes are in utf8 format. 112N/A /** Release any resources used by this table. 112N/A /** The hashcode of a name. 112N/A /** Compare two subarrays