Deprecated, for removal: This API element is subject to removal in a future version.
Used by
CodeList.valueOf(Class, Filter)
to select codes matching an arbitrary
criterion.-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated, for removal: This API element is subject to removal in a future version.Returnstrue
if the given code matches the criterion defined by this filter.codename()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the name of the code being looked for, ornull
if unknown.
-
Method Details
-
accept
-
codename
Deprecated, for removal: This API element is subject to removal in a future version.Returns the name of the code being looked for, ornull
if unknown. This method is invoked byCodeList.valueOf(Class, Filter)
if no code match the criterion defined by this filter. In such case, there is a choice:- If this method returns a non-null name, then a new code of that name is created.
- Otherwise, no new code is created and
CodeList.valueOf
returnsnull
.
- Returns:
- the name of the code being looked for, or
null
.
-
Predicate
from the standard Java library.