public class ImmutableFieldKeySorter extends Object implements FieldKeySorter
Constructor and Description |
---|
ImmutableFieldKeySorter() |
Modifier and Type | Method and Description |
---|---|
Map |
sort(Class type,
Map keyedByFieldKey)
Sort the fields of a type.
|
public Map sort(Class type, 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.Copyright © 2004–2017 XStream. All rights reserved.