annotate src/treecms/test/ByteArrayTest.java @ 17:168deb591f21

commit
author shoshi
date Tue, 24 May 2011 00:33:12 +0900
parents f96193babac0
children
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 public class ByteArrayTest
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
4 {
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
5 public static void main(String _args[])
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
6 {
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
7 byte key1[] = new byte[]{12,23,23,43};
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
8 byte key2[] = new byte[]{12,23,23,43};
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
9
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
10 System.out.println(key1.equals(key2));
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
11 }
f96193babac0 changed byte[] to ByteBuffer
shoshi
parents:
diff changeset
12 }