annotate src/treecms/test/ByteArrayTest.java @ 8:f96193babac0

changed byte[] to ByteBuffer added TreeEditor.updateTree(Node,NodeData,Node[]) for node path is known. added GUIEditor
author shoshi
date Thu, 31 Mar 2011 02:08:44 +0900
parents
children 168deb591f21
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
1 package treecms.test;
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
2
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
3 import java.util.*;
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
4
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
5 public class ByteArrayTest
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
6 {
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
7 public static void main(String _args[])
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
8 {
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
9 byte key1[] = new byte[]{12,23,23,43};
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
10 byte key2[] = new byte[]{12,23,23,43};
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
11
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
12 System.out.println(key1.equals(key2));
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
13
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
14 }
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
15 }