File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/main/java/org/scijava/io/handle Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -129,18 +129,18 @@ default boolean ensureWritable(final long count) throws IOException {
129129 /** Returns the byte order of the stream. */
130130 ByteOrder getOrder ();
131131
132- /** Gets the endianness of the stream. */
133- default boolean isLittleEndian () {
134- return getOrder () == ByteOrder .LITTLE_ENDIAN ;
135- }
136-
137132 /**
138133 * Sets the byte order of the stream.
139134 *
140135 * @param order Order to set.
141136 */
142137 void setOrder (ByteOrder order );
143138
139+ /** Gets the endianness of the stream. */
140+ default boolean isLittleEndian () {
141+ return getOrder () == ByteOrder .LITTLE_ENDIAN ;
142+ }
143+
144144 /** Sets the endianness of the stream. */
145145 default void setOrder (final boolean little ) {
146146 setOrder (little ? ByteOrder .LITTLE_ENDIAN : ByteOrder .BIG_ENDIAN );
You can’t perform that action at this time.
0 commit comments