Android is really an amazing little platform, but occasionally you will run into API differences. Some of these are actual bugs (like a number of reflection and enum issues in early releases), and ...
To match objects of two different mutually non-assignable Classes (say ClassA & ClassB) based on the equality of a proper/improper subset of their fields. Use two loops, to iterate over the list of ...
This is a very basic regular expression matcher, with super-linear time complexity implementation based on https://swtch.com/~rsc/regexp/regexp1.html, completely in ...
In the post Improving On assertEquals with JUnit and Hamcrest, I briefly discussed Hamcrest “core” matchers being “baked in” with modern versions of JUnit. In that post, I focused particularly on use ...
The ResultSet matcher is the implementation of a Java Hamcrest matcher. The Hamcrest (an anagram of "matchers") suite is a collection of matchers that aim to be written declaratively and provide ...