private static class ConflictCollection.FilterPredicate extends java.lang.Object implements Predicate<Conflict<? extends OsmPrimitive>>
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<? extends OsmPrimitive> |
c |
Constructor and Description |
---|
ConflictCollection.FilterPredicate(java.lang.Class<? extends OsmPrimitive> c) |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(Conflict<? extends OsmPrimitive> conflict)
Determines whether the object passes the test or not
|
private final java.lang.Class<? extends OsmPrimitive> c
public ConflictCollection.FilterPredicate(java.lang.Class<? extends OsmPrimitive> c)
public boolean evaluate(Conflict<? extends OsmPrimitive> conflict)
Predicate
evaluate
in interface Predicate<Conflict<? extends OsmPrimitive>>
conflict
- The object to evaluatetrue
if the object passes the test, false
otherwise