public static class PredicateConverterSelectionStrategy.ExactKeyPredicate extends Object implements PredicateConverterSelectionStrategy.Predicate
Constructor and Description |
---|
PredicateConverterSelectionStrategy.ExactKeyPredicate(String desired)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
boolean |
handlesKey(String key)
Checks whether the converter with this predicate can handle the
specified key.
|
int |
hashCode() |
public PredicateConverterSelectionStrategy.ExactKeyPredicate(String desired)
desired
- the desired key to search forpublic boolean handlesKey(String key)
PredicateConverterSelectionStrategy.Predicate
handlesKey
in interface PredicateConverterSelectionStrategy.Predicate
key
- the key to check againsttrue
if the converter shall handle this key,
else false
Copyright © 2018 CoR-Lab. All rights reserved.