| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Comparator |
| Access | Constructor and Description |
|---|---|
| public |
| NULL_MARKER | back to summary |
|---|---|
| private static final Comparator<T> NULL_MARKER | |
| TreeMapConverter | back to summary |
|---|---|
| public TreeMapConverter(Mapper mapper) | |
| marshal | back to summary |
|---|---|
| public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) Overrides com. Implements com. Doc from com. Convert an object to textual data.
| |
| marshalComparator | back to summary |
|---|---|
| protected void marshalComparator(Comparator<T> comparator, HierarchicalStreamWriter writer, MarshallingContext context) | |
| populateTreeMap | back to summary |
|---|---|
| protected void populateTreeMap(HierarchicalStreamReader reader, UnmarshallingContext context, TreeMap<K, V> result, Comparator<T> comparator) | |
| unmarshal | back to summary |
|---|---|
| public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) Overrides com. Implements com. Doc from com. Convert textual data back into an object.
| |
| unmarshalComparator | back to summary |
|---|---|
| protected Comparator | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(Object
the first object to be compared. o1, Object the second object to be compared. o2)Implements java. |
| NullComparator | back to summary |
|---|---|
| private NullComparator() | |
| compare | back to summary |
|---|---|
| public int compare(Object o1, Object o2) Implements java. Doc from java. Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
The implementor must ensure that
The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that | |
| Modifier and Type | Field and Description |
|---|---|
| private static final Field |
| Access | Constructor and Description |
|---|---|
| private |
| comparatorField | back to summary |
|---|---|
| private static final Field comparatorField | |
| Reflections | back to summary |
|---|---|
| private Reflections() | |