public static class EditionDistance.Builder extends Object
Modifier | Constructor and Description |
---|---|
protected |
EditionDistance.Builder()
Create the builder.
|
Modifier and Type | Method and Description |
---|---|
EditionDistance |
build()
return the configured instance.
|
EditionDistance.Builder |
order(int weight)
Specify the weight of any change of reference order between two instances.
|
EditionDistance.Builder |
uri(int weight)
Specify the weight of any change of uri between two instances.
|
EditionDistance.Builder |
weightProvider(WeightProvider provider)
Configure custom weight provider.
|
public EditionDistance.Builder uri(int weight)
weight
- the new weight.public EditionDistance.Builder order(int weight)
weight
- the new weight.public EditionDistance.Builder weightProvider(WeightProvider provider)
provider
- the weight provider to use.public EditionDistance build()
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.