Interface ByteOrdered

All Known Implementing Classes:
BinaryInputStream, BinaryOutputStream

public interface ByteOrdered
An interface for byte order-dependent components, such as IO streams. The ByteOrder value can be retrieved or set to another value. Every class should consist of a single ByteOrder attribute which can be accessed by getOrder() and setOrder(ByteOrder).

It is not allowed that the attribute be null. The developer has to ensure that getOrder() never returns null as well as setOrder(ByteOrder) never sets the attribute to null.

The contract does not prescribe how to work with multithreaded applications.