T - the type of the element checked.public interface HavingStatement<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(T element)
Checks if the passed element can be accepted.
|
boolean accept(T element)
element - the element to check.true if it is accepted, false otherwise.Copyright © 2020. All Rights Reserved.