JavaTM 2 Platform
Std. Ed. v1.3.1

com.apple.mrj.jdirect
Class Struct

java.lang.Object
  |
  +--com.apple.mrj.jdirect.Struct
Direct Known Subclasses:
ByteArrayStruct, CharArrayStruct, DoubleArrayStruct, FloatArrayStruct, HandleStruct, IntArrayStruct, LongArrayStruct, PointerStruct, ShortArrayStruct

public abstract class Struct
extends Object


Constructor Summary
protected Struct()
           
 
Method Summary
protected abstract  boolean getBooleanAt(int byteOffset)
           
protected abstract  byte getByteAt(int byteOffset)
           
abstract  byte[] getBytes()
           
abstract  byte[] getBytesAt(int byteOffset, int byteCount)
           
protected abstract  char getCharAt(int byteOffset)
           
protected abstract  double getDoubleAt(int byteOffset)
           
protected abstract  float getFloatAt(int byteOffset)
           
protected abstract  int getIntAt(int byteOffset)
           
protected abstract  long getLongAt(int byteOffset)
           
protected abstract  short getShortAt(int byteOffset)
           
abstract  int getSize()
           
protected abstract  void setBooleanAt(int byteOffset, boolean value)
           
protected abstract  void setByteAt(int byteOffset, byte value)
           
protected abstract  void setBytesAt(int byteOffset, byte[] source)
           
protected abstract  void setCharAt(int byteOffset, char value)
           
protected abstract  void setDoubleAt(int byteOffset, double value)
           
protected abstract  void setFloatAt(int byteOffset, float value)
           
protected abstract  void setIntAt(int byteOffset, int value)
           
protected abstract  void setLongAt(int byteOffset, long value)
           
protected abstract  void setShortAt(int byteOffset, short value)
           
protected abstract  void setStructAt(int byteOffset, Struct value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Struct

protected Struct()
Method Detail

getBooleanAt

protected abstract boolean getBooleanAt(int byteOffset)

getByteAt

protected abstract byte getByteAt(int byteOffset)

getCharAt

protected abstract char getCharAt(int byteOffset)

getShortAt

protected abstract short getShortAt(int byteOffset)

getIntAt

protected abstract int getIntAt(int byteOffset)

getLongAt

protected abstract long getLongAt(int byteOffset)

getFloatAt

protected abstract float getFloatAt(int byteOffset)

getDoubleAt

protected abstract double getDoubleAt(int byteOffset)

setBooleanAt

protected abstract void setBooleanAt(int byteOffset,
                                     boolean value)

setByteAt

protected abstract void setByteAt(int byteOffset,
                                  byte value)

setCharAt

protected abstract void setCharAt(int byteOffset,
                                  char value)

setShortAt

protected abstract void setShortAt(int byteOffset,
                                   short value)

setIntAt

protected abstract void setIntAt(int byteOffset,
                                 int value)

setLongAt

protected abstract void setLongAt(int byteOffset,
                                  long value)

setFloatAt

protected abstract void setFloatAt(int byteOffset,
                                   float value)

setDoubleAt

protected abstract void setDoubleAt(int byteOffset,
                                    double value)

setStructAt

protected abstract void setStructAt(int byteOffset,
                                    Struct value)

setBytesAt

protected abstract void setBytesAt(int byteOffset,
                                   byte[] source)

getBytesAt

public abstract byte[] getBytesAt(int byteOffset,
                                  int byteCount)

getBytes

public abstract byte[] getBytes()

getSize

public abstract int getSize()

JavaTM 2 Platform
Std. Ed. v1.3.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.