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