Class StringEndsWith
java.lang.Object
it.unimi.di.prog2.h13.StringEndsWith
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStringEndsWith(String suffix) Creates a new predicate checking for the given suffix. -
Method Summary
-
Field Details
-
suffix
The suffix to check for.
-
-
Constructor Details
-
StringEndsWith
Creates a new predicate checking for the given suffix.- Parameters:
suffix- the suffix to check for.- Throws:
NullPointerException- if suffix is null.
-
-
Method Details
-
test
-