KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > PilotHundredPoints


1 /* Copyright (C) 2004 - 2006 db4objects Inc. http://www.db4o.com */
2 import com.db4o.query.Predicate;
3
4 public class PilotHundredPoints extends Predicate {
5     public boolean match(Pilot pilot) {
6         return pilot.getPoints() == 100;
7     }
8 }
Popular Tags