D - Concrete injection binding implementation type.public static class MatchableBinding.Matching<D extends MatchableBinding> extends Object implements Comparable<MatchableBinding.Matching>
| Modifier and Type | Field and Description |
|---|---|
protected MatchableBinding.MatchLevel |
matchLevel |
| Modifier | Constructor and Description |
|---|---|
protected |
Matching(D binding,
MatchableBinding.MatchLevel matchLevel) |
| Modifier and Type | Method and Description |
|---|---|
MatchableBinding.Matching |
better(MatchableBinding.Matching other) |
int |
compareTo(MatchableBinding.Matching other) |
D |
getBinding() |
boolean |
isBest() |
boolean |
matches() |
static <D extends MatchableBinding> |
noneMatching() |
protected MatchableBinding.MatchLevel matchLevel
protected Matching(D binding, MatchableBinding.MatchLevel matchLevel)
public static <D extends MatchableBinding> MatchableBinding.Matching<D> noneMatching()
public int compareTo(MatchableBinding.Matching other)
compareTo in interface Comparable<MatchableBinding.Matching>public MatchableBinding.Matching better(MatchableBinding.Matching other)
public boolean isBest()
public boolean matches()
public D getBinding()
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.