Interface PrimitiveIntVisitor<E extends java.lang.Exception>
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface PrimitiveIntVisitor<E extends java.lang.Exception>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
visited(int value)
Visit the given entry.
-
-
-
Method Detail
-
visited
boolean visited(int value) throws E extends java.lang.Exception
Visit the given entry.- Parameters:
value
- A distinct value from the set.- Returns:
- 'true' to signal that the iteration should be stopped, 'false' to signal that the iteration should continue if there are more entries to look at.
- Throws:
E
- any thrown exception of type 'E' will bubble up through the 'visit' method.E extends java.lang.Exception
-
-