|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mmm.util.nls.impl.formatter.NlsFormatterChoice.Condition
private class NlsFormatterChoice.Condition
This inner class represents a single choice.
| Field Summary | |
|---|---|
private Comparator |
comparator
The Comparator. |
private Object |
comparatorArgument
The argument for the comparator. |
| Constructor Summary | |
|---|---|
NlsFormatterChoice.Condition(Comparator comparator,
Object comparatorArgument)
The constructor. |
|
| Method Summary | |
|---|---|
boolean |
accept(Object value)
This method determines if the given value should be accepted. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final Comparator comparator
Comparator.
private final Object comparatorArgument
comparator.
| Constructor Detail |
|---|
public NlsFormatterChoice.Condition(Comparator comparator,
Object comparatorArgument)
comparator - is the comparator.comparatorArgument - is the comparatorArgument.| Method Detail |
|---|
public boolean accept(Object value)
value should be accepted.
accept in interface Filter<Object>value - is the value to check.
true if the given value is acceptable,
false if it should be filtered.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||