public class SplitMaskPositiveNegativeAnalysisResults
extends java.lang.Object
Constructor and Description |
---|
SplitMaskPositiveNegativeAnalysisResults() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
static void |
setByteOrder(javax.imageio.stream.MemoryCacheImageInputStream dis,
java.lang.String byteorder)
This method sets the Bite-Order for a MemoryCacheImageInputStream
|
static void |
setByteOrder(javax.imageio.stream.MemoryCacheImageOutputStream dos,
java.lang.String byteorder)
This method sets the Bite-Order for a MemoryCacheImageOutputStream
|
static double |
swap(double value)
Byte swap a single DOUBLE value.
|
static float |
swap(float value)
Byte swap a single FLOAT value.
|
static int |
swap(int value)
Byte swap a single INTEGER value.
|
static long |
swap(long value)
Byte swap a single LONG INTEGER value.
|
static short |
swap(short value)
Byte swap a single SHORT INT value.
|
public SplitMaskPositiveNegativeAnalysisResults()
public static void main(java.lang.String[] args)
public static void setByteOrder(javax.imageio.stream.MemoryCacheImageInputStream dis, java.lang.String byteorder)
dis
- - MemoryCacheImageInputStreambyteorder
- - String representation of byteorder. Options are
big (java.nio.ByteOrder.BIG_ENDIAN)
little (java.nio.ByteOrder.LITTLE_ENDIAN)
system (default system byteorder, java.nio.ByteOrder.nativeOrder())public static void setByteOrder(javax.imageio.stream.MemoryCacheImageOutputStream dos, java.lang.String byteorder)
dis
- - MemoryCacheImageOutputStreambyteorder
- - String representation of byteorder. Options are
big (java.nio.ByteOrder.BIG_ENDIAN)
little (java.nio.ByteOrder.LITTLE_ENDIAN)
system (default system byteorder, java.nio.ByteOrder.nativeOrder())public static short swap(short value)
value
- Value to byte swap.public static int swap(int value)
value
- Value to byte swap.public static long swap(long value)
value
- Value to byte swap.public static float swap(float value)
value
- Value to byte swap.public static double swap(double value)
value
- Value to byte swap.