what's the point of java.nio?

Bart Locanthi bart@sabl.com
Mon May 31 06:51:00 GMT 2004


don't get me started on the design of sun's java libraries..

Adam Megacz wrote:

>Bart Locanthi <bart@sabl.com> writes:
>  
>
>>* scatter/gather i/o
>>    
>>
>
>Hrm, okay, this sort of makes sense.  But couldn't they just have made
>InputStream take an array of byte[]'s (a byte[][])?
>
>  
>
>>* platform-independent adjustable byte ordering
>>    
>>
>
>IMHO all this requires is two new methods on each of the numeric
>wrapper classes:
>
>  Integer.fromLittleEndian(byte[], int offset)
>  Integer.fromBigEndian(byte[], int offset)
>
>  - a
>  
>



More information about the Java mailing list