Mercurial > hg > Members > shoshi > TreeCMSv2
comparison src/treecms/test/ByteArrayTest.java @ 17:168deb591f21
commit
author | shoshi |
---|---|
date | Tue, 24 May 2011 00:33:12 +0900 |
parents | f96193babac0 |
children |
comparison
equal
deleted
inserted
replaced
16:bb9760760744 | 17:168deb591f21 |
---|---|
1 package treecms.test; | 1 package treecms.test; |
2 | |
3 import java.util.*; | |
4 | 2 |
5 public class ByteArrayTest | 3 public class ByteArrayTest |
6 { | 4 { |
7 public static void main(String _args[]) | 5 public static void main(String _args[]) |
8 { | 6 { |
9 byte key1[] = new byte[]{12,23,23,43}; | 7 byte key1[] = new byte[]{12,23,23,43}; |
10 byte key2[] = new byte[]{12,23,23,43}; | 8 byte key2[] = new byte[]{12,23,23,43}; |
11 | 9 |
12 System.out.println(key1.equals(key2)); | 10 System.out.println(key1.equals(key2)); |
13 | |
14 } | 11 } |
15 } | 12 } |