edu.ucla.stat.SOCR.analyses.command
Class SplitMaskPositiveNegativeAnalysisResults

java.lang.Object
  extended by edu.ucla.stat.SOCR.analyses.command.SplitMaskPositiveNegativeAnalysisResults

public class SplitMaskPositiveNegativeAnalysisResults
extends java.lang.Object


Constructor Summary
SplitMaskPositiveNegativeAnalysisResults()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplitMaskPositiveNegativeAnalysisResults

public SplitMaskPositiveNegativeAnalysisResults()
Method Detail

main

public static void main(java.lang.String[] args)

setByteOrder

public static void setByteOrder(javax.imageio.stream.MemoryCacheImageInputStream dis,
                                java.lang.String byteorder)
This method sets the Bite-Order for a MemoryCacheImageInputStream

Parameters:
dis - - MemoryCacheImageInputStream
byteorder - - 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())

setByteOrder

public static void setByteOrder(javax.imageio.stream.MemoryCacheImageOutputStream dos,
                                java.lang.String byteorder)
This method sets the Bite-Order for a MemoryCacheImageOutputStream

Parameters:
dis - - MemoryCacheImageOutputStream
byteorder - - 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())

swap

public static short swap(short value)
Byte swap a single SHORT INT value.

Parameters:
value - Value to byte swap.
Returns:
Byte swapped representation.

swap

public static int swap(int value)
Byte swap a single INTEGER value.

Parameters:
value - Value to byte swap.
Returns:
Byte swapped representation.

swap

public static long swap(long value)
Byte swap a single LONG INTEGER value.

Parameters:
value - Value to byte swap.
Returns:
Byte swapped representation.

swap

public static float swap(float value)
Byte swap a single FLOAT value.

Parameters:
value - Value to byte swap.
Returns:
Byte swapped representation.

swap

public static double swap(double value)
Byte swap a single DOUBLE value.

Parameters:
value - Value to byte swap.
Returns:
Byte swapped representation.