This page is part of an archival collection and is no longer actively maintained.
It may contain outdated information and may not meet current or future
WCAG accessibility standards.
We provide this content, its subpages, and associated links for historical reference only.
If you need assistance, please contact support@cs.washington.edu
This inner class represents the base class for all Struct
members. It allows applications to define additional member types.
For example:
public class MyStruct extends Struct {
BitSet bits = new BitSet(256);
...
public BitSet extends Member {
public BitSet(int nbrBits) {
super(1, (nbrBits+7)>>3);
}
public boolean get(int i) { ... }
public void set(int i, boolean value) { ...}
}
}
Constructor Summary
protected
Struct.Member(int alignment,
int size)
Base constructor for custom member types.