/[classpath]/classpath/gnu/java/nio/PipeImpl.java
ViewVC logotype

Diff of /classpath/gnu/java/nio/PipeImpl.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by patrik_reali, Wed Jul 21 20:35:29 2004 UTC revision 1.9.2.1 by gnu_andrew, Sun Jan 16 15:15:09 2005 UTC
# Line 1  Line 1 
1  /* PipeImpl.java --  /* PipeImpl.java --
2     Copyright (C) 2002, 2003, 2004  Free Software Foundation, Inc.     Copyright (C) 2002, 2003, 2004, 2005  Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 79  class PipeImpl extends Pipe Line 79  class PipeImpl extends Pipe
79        return read (srcs, 0, srcs.length);        return read (srcs, 0, srcs.length);
80      }      }
81    
82      public synchronized final long read (ByteBuffer[] srcs, int offset, int len)      public final synchronized long read (ByteBuffer[] srcs, int offset,
83                                             int len)
84        throws IOException        throws IOException
85      {      {
86        if (offset < 0        if (offset < 0
# Line 138  class PipeImpl extends Pipe Line 139  class PipeImpl extends Pipe
139        return write (srcs, 0, srcs.length);        return write (srcs, 0, srcs.length);
140      }      }
141    
142      public synchronized final long write (ByteBuffer[] srcs, int offset, int len)      public final synchronized long write (ByteBuffer[] srcs, int offset, int len)
143        throws IOException        throws IOException
144      {      {
145        if (offset < 0        if (offset < 0

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.9.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26