< prev index next >

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/Symbol.java

Print this page

        

*** 104,113 **** --- 104,117 ---- Assert.that(l == -1, "we should be at the beginning"); } return true; } + public boolean equals(String string) { + return asString().equals(string); + } + public byte[] asByteArray() { int length = (int) getLength(); byte [] result = new byte [length]; for (int index = 0; index < length; index++) { result[index] = getByteAt(index);
< prev index next >