com.sun.msv.grammar.util

Class NameClassCollisionChecker

public class NameClassCollisionChecker extends NameClassComparator

Computes if two name classes collide or not.

This comparator returns true if the intersection of two name classes is non empty.

The same thing can be computed by using the NameClass method, but generally this method is faster.

Author: Kohsuke KAWAGUCHI