Package | Description |
---|---|
pt.ptcris | |
pt.ptcris.grouper | |
pt.ptcris.test.grouper |
Modifier and Type | Method | Description |
---|---|---|
static <E> java.util.List<ActivityGroup<E>> |
PTCRISGrouper.group(java.util.Collection<E> locals,
ActivityComparator<E> comparator) |
Groups a list of local activities into groups of matching activities,
according to the provided comparator.
|
Constructor | Description |
---|---|
GroupGenerator(ActivityComparator<E> comparator) |
Creates a new activity group generator, provided a comparator that will
determine whether activities match.
|
Modifier and Type | Class | Description |
---|---|---|
class |
IntegerComparator |
An integer comparator, shows that activities can be generic objects.
|
class |
StdWorkComparator |
A work comparator whose behavior should be the same as the standard ORCID
grouper: works are considered similar if they share any external identifier.
|