public class Sorter
extends java.lang.Object
Constructor | Description |
---|---|
Sorter() |
Modifier and Type | Method | Description |
---|---|---|
static void |
sortBlocks(java.util.List<LocalBlock> localBlocks) |
Sorts the persons inside the local blocks according to their birth date.
|
static void |
sortOutAllFailedApproximations(ConverterObject converterObject) |
This method removes all the objects with incomplete data, i.e. which were not approximated correctly.
|
static void |
sortRelationships(java.util.List<Relationship> relationships) |
Sorts the relationships according to their date.
|
static void |
sortRelationshipsInPersons(java.util.Map<org.gedcom4j.model.Individual,Person> persons) |
Sorts the relationships of a person according to their date.
|
public static void sortOutAllFailedApproximations(ConverterObject converterObject)
converterObject
- the converterObject containing all persons and relationships.public static void sortBlocks(java.util.List<LocalBlock> localBlocks)
localBlocks
- a list of all local blocks.public static void sortRelationships(java.util.List<Relationship> relationships)
relationships
- a list containing all relationships.public static void sortRelationshipsInPersons(java.util.Map<org.gedcom4j.model.Individual,Person> persons)
persons
- the person containing the relationships.