Preconditions
Google’s been doing some interesting things lately. Some attract lots of attention, some very little. One that you may not have heard of is Google Collections . It’s just a series of Java helper classes. At first it may seem like a non-event, and mostly for us .NET folks that’s true. But I read this post about a year ago, and my interest was piqued by their Preconditions class. It’s nothing significant - it just throws various argument exceptions if you don’t pass “true” to its methods.
2 minutes to read