jdk/test/java/nio/Buffer/BasicLong.java
changeset 2593 76032557be03
parent 1639 a97859015238
child 4502 18f387917b89
equal deleted inserted replaced
2590:52b974d64f18 2593:76032557be03
   373 
   373 
   374 
   374 
   375 
   375 
   376 
   376 
   377 
   377 
       
   378 
       
   379 
       
   380 
   378         // Compact
   381         // Compact
   379 
   382 
   380         relPut(b);
   383         relPut(b);
   381         b.position(13);
   384         b.position(13);
   382         b.compact();
   385         b.compact();
   784 
   787 
   785 
   788 
   786 
   789 
   787 
   790 
   788 
   791 
       
   792 
       
   793 
   789     public static void test(final long [] ba) {
   794     public static void test(final long [] ba) {
   790         int offset = 47;
   795         int offset = 47;
   791         int length = 900;
   796         int length = 900;
   792         final LongBuffer b = LongBuffer.wrap(ba, offset, length);
   797         final LongBuffer b = LongBuffer.wrap(ba, offset, length);
   793         show(0, b);
   798         show(0, b);