gnu.lists

Interface GroupPredicate

All Superinterfaces:
ElementPredicate, NodePredicate
Known Implementing Classes:
ElementType

public interface GroupPredicate
extends NodePredicate

A predicate that (only) matches a GROUP_VALUE. If using XML terminology: only matches element nodes.

Method Summary

boolean
isInstance(AbstractSequence seq, int ipos, Object groupType)

Methods inherited from interface gnu.lists.ElementPredicate

isInstancePos

Method Details

isInstance

public boolean isInstance(AbstractSequence seq,
                          int ipos,
                          Object groupType)