public static class DfsObjDatabase.PackSource.ComparatorBuilder extends Object
DfsObjDatabase.PackSource
ordering where some values are
explicitly considered equal to others.Constructor and Description |
---|
ComparatorBuilder() |
Modifier and Type | Method and Description |
---|---|
DfsObjDatabase.PackSource.ComparatorBuilder |
add(DfsObjDatabase.PackSource... sources)
Add a collection of sources that should sort as equal.
|
Comparator<DfsObjDatabase.PackSource> |
build()
Build the comparator.
|
public DfsObjDatabase.PackSource.ComparatorBuilder add(DfsObjDatabase.PackSource... sources)
Sources in the input will sort after sources listed in previous calls to this method.
sources
- sources in this equivalence class.public Comparator<DfsObjDatabase.PackSource> build()
IllegalArgumentException
- not all DfsObjDatabase.PackSource
instances were explicitly assigned
an equivalence class.Copyright © 2020 Eclipse JGit Project. All rights reserved.