org.jikesrvm.classloader
Class UTF8Convert.StringHashCodeVisitor

java.lang.Object
  extended by org.jikesrvm.classloader.UTF8Convert.UTF8CharacterVisitor
      extended by org.jikesrvm.classloader.UTF8Convert.StringHashCodeVisitor
Enclosing class:
UTF8Convert

private static final class UTF8Convert.StringHashCodeVisitor
extends UTF8Convert.UTF8CharacterVisitor

Visitor that builds up a String.hashCode form hashCode as characters are decoded


Field Summary
(package private)  int result
           
 
Constructor Summary
private UTF8Convert.StringHashCodeVisitor()
           
 
Method Summary
(package private)  int getResult()
           
(package private)  void visit_char(char c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

result

int result
Constructor Detail

UTF8Convert.StringHashCodeVisitor

private UTF8Convert.StringHashCodeVisitor()
Method Detail

visit_char

void visit_char(char c)
Specified by:
visit_char in class UTF8Convert.UTF8CharacterVisitor

getResult

int getResult()