comparison src/org/eclipse/jetty/io/nio/NIOBuffer.java @ 1010:2712133d5bce

simplify Buffer code
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 23 Oct 2016 22:23:50 -0600
parents 3428c60d7cfc
children
comparison
equal deleted inserted replaced
1009:c3a04bded909 1010:2712133d5bce
20 20
21 import java.nio.ByteBuffer; 21 import java.nio.ByteBuffer;
22 22
23 import org.eclipse.jetty.io.Buffer; 23 import org.eclipse.jetty.io.Buffer;
24 24
25 /* ------------------------------------------------------------------------------- */ 25
26 /**
27 *
28 *
29 */
30 public interface NIOBuffer extends Buffer 26 public interface NIOBuffer extends Buffer
31 { 27 {
32 /* ------------------------------------------------------------ */ 28 public ByteBuffer getByteBuffer();
33 public ByteBuffer getByteBuffer();
34 29
35 /* ------------------------------------------------------------ */ 30 public boolean isDirect();
36 public boolean isDirect();
37 } 31 }