|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.thoughtworks.xstream.converters.reflection.NativeFieldKeySorter
public class NativeFieldKeySorter
Sort the fields in their natural order. Fields are returned in their declaration order, fields of base classes first.
Constructor Summary | |
---|---|
NativeFieldKeySorter()
|
Method Summary | |
---|---|
java.util.Map |
sort(java.lang.Class type,
java.util.Map keyedByFieldKey)
Sort the fields of a type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NativeFieldKeySorter()
Method Detail |
---|
public java.util.Map sort(java.lang.Class type, java.util.Map keyedByFieldKey)
FieldKeySorter
sort
in interface FieldKeySorter
type
- the class that contains all the fieldskeyedByFieldKey
- a Map containing a FieldKey
as key element and a
Field
as value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |