Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. public void printItemsNQ() {
  2. final String type = askType();
  3. List items = db.query(new Predicate() {
  4. //boolean tyyppinen sovittelu
  5. public boolean match(Kurssi course) {
  6. return type.equals(course.type());
  7. }
  8.  
  9. public boolean match(Object arg0) {
  10. return false;
  11. }
  12. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement