LibC
Felder
Konstruktoren
Look up all fields in this class and superclasses.
Returns this Structure's field names in their proper order.
When defining a new
Structure
you shouldn't override this method, but use
Structure.FieldOrder
annotation to define your field order(this also works with inheritance)
If you want to do something non-standard you can override the method and define it as followed
Von Klasse geerbte Methoden com.sun.jna.StructureallocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public int _f_unused
public int[] _f_spare
public Statvfs()
Look up all fields in this class and superclasses.
getFieldList
in Klasse Structure
Field
available on this Structure
class.
Returns this Structure's field names in their proper order.
When defining a new
Structure
you shouldn't override this method, but use
Structure.FieldOrder
annotation to define your field order(this also works with inheritance)
If you want to do something non-standard you can override the method and define it as followed
protected List getFieldOrder() {
return Arrays.asList(...);
}
IMPORTANT
When deriving from an existing Structure subclass, ensure that you augment the list provided by the superclass, e.g.
protected List getFieldOrder() {
List fields = new LinkedList(super.getFieldOrder());
fields.addAll(Arrays.asList(...));
return fields;
}
Field order must be explicitly indicated, since the field order as returned by
Class.getFields()
is not guaranteed to be predictable.
getFieldOrder
in Klasse Structure
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4