KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > gnu > lists > ElementPredicate


1 // Copyright (c) 2002 Per M.A. Bothner
2
// This is free software; for terms and warranty disclaimer see ./COPYING.
3

4 package gnu.lists;
5
6 /** A predicate (or type) on an element of a sequence.
7  * Element is here used in the sense of 'element of a sequence",
8  * not the XML sense of 'element node'.
9  */

10
11 public interface ElementPredicate
12 {
13   public boolean isInstancePos (AbstractSequence seq, int ipos);
14 }
15
Popular Tags