Edit C:\apache-tomcat-7.0.69\webapps\examples\WEB-INF\classes\websocket\snake\Snake.class
???? 2 ? / ? % ? ? ? % ? % ? % ? ? ? % ? % ? ? ? % ? ? ? % ? ? ? ? % ? ? ? ? ? ? ? ? ? ? ? ? ? ? 4 ? 4 ? 4 ? ? ? ? ? ? ? % ? ? ? ? ? ? ? ? % ? 4 ? % ? ? ? % ? % ? ? , ? ? ? ? ? ? ? , ? ? ? ? , ? ? , ? DEFAULT_LENGTH I ConstantValue id session Ljavax/websocket/Session; direction Lwebsocket/snake/Direction; length head Lwebsocket/snake/Location; tail Ljava/util/Deque; Signature -Ljava/util/Deque<Lwebsocket/snake/Location;>; hexColor Ljava/lang/String; <init> (ILjavax/websocket/Session;)V Code LineNumberTable LocalVariableTable this Lwebsocket/snake/Snake; resetState ()V kill reward sendMessage (Ljava/lang/String;)V ioe2 Ljava/io/IOException; cr Ljavax/websocket/CloseReason; ioe msg StackMapTable ? ? ? ? ? update (Ljava/util/Collection;)V snakes Ljava/util/Collection; nextLocation LocalVariableTypeTable /Ljava/util/Collection<Lwebsocket/snake/Snake;>; ? 2(Ljava/util/Collection<Lwebsocket/snake/Snake;>;)V handleCollisions headCollision Z tailCollision snake i$ Ljava/util/Iterator; ? getHead ()Lwebsocket/snake/Location; getTail ()Ljava/util/Collection; 4()Ljava/util/Collection<Lwebsocket/snake/Location;>; setDirection (Lwebsocket/snake/Direction;)V getLocationsJson ()Ljava/lang/String; location sb Ljava/lang/StringBuilder; ? getId ()I getHexColor SourceFile Snake.java J R A 9 java/util/ArrayDeque D E <