mpi
Class SimplePackerBoolean

java.lang.Object
  extended by mpi.SimplePacker
      extended by mpi.SimplePackerBoolean
All Implemented Interfaces:
Packer

public class SimplePackerBoolean
extends SimplePacker


Field Summary
 
Fields inherited from class mpi.SimplePacker
numEls
 
Constructor Summary
SimplePackerBoolean(int numEls)
           
 
Method Summary
 void pack(Buffer mpjbuf, java.lang.Object buf, int offset)
           
 void pack(Buffer mpjbuf, java.lang.Object buf, int offset, int count)
           
 void unpack(Buffer mpjbuf, int length, java.lang.Object buf, int offset, int count)
           
 void unpack(Buffer mpjbuf, java.lang.Object buf, int offset)
           
 void unpack(Buffer mpjbuf, java.lang.Object buf, int offset, int count)
           
 void unpackPartial(Buffer mpjbuf, int length, java.lang.Object buf, int offset)
          Precondition for calling `unpackPartial()' is that `length' is less than `size' (numEls).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplePackerBoolean

public SimplePackerBoolean(int numEls)
Method Detail

pack

public void pack(Buffer mpjbuf,
                 java.lang.Object buf,
                 int offset)
          throws MPIException
Throws:
MPIException

unpack

public void unpack(Buffer mpjbuf,
                   java.lang.Object buf,
                   int offset)
            throws MPIException
Throws:
MPIException

unpackPartial

public void unpackPartial(Buffer mpjbuf,
                          int length,
                          java.lang.Object buf,
                          int offset)
                   throws MPIException
Description copied from interface: Packer
Precondition for calling `unpackPartial()' is that `length' is less than `size' (numEls).

Throws:
MPIException

pack

public void pack(Buffer mpjbuf,
                 java.lang.Object buf,
                 int offset,
                 int count)
          throws MPIException
Throws:
MPIException

unpack

public void unpack(Buffer mpjbuf,
                   java.lang.Object buf,
                   int offset,
                   int count)
            throws MPIException
Throws:
MPIException

unpack

public void unpack(Buffer mpjbuf,
                   int length,
                   java.lang.Object buf,
                   int offset,
                   int count)
            throws MPIException
Throws:
MPIException