Exclude extends GenericXMLEncodable implements XMLEncodable,
		Comparable<Exclude> { public boolean match(byte [] component) { Filler lastFiller = null; synchronized (_values) { for (Element ee : _values) { if (ee instanceof ExcludeComponent) { ExcludeComponent ec = (ExcludeComponent) ee; int res = ec.compareTo(component); if (res == 0) { return true; } else if (res > 0) { return lastFiller != null && lastFiller.match(component); } lastFiller = null; } else { lastFiller = (Filler) ee; } } } return lastFiller != null && lastFiller.match(component); } Exclude(ArrayList<Element> values);  Exclude(byte omissions[][]);  Exclude(); static Exclude uptoFactory(byte [] component); static Exclude factory(byte omissions [][] ); boolean match(byte [] component); void add(byte omissions[][] ); void excludeUpto(byte [] component); boolean empty(); void decode(XMLDecoder decoder); void encode(XMLEncoder encoder); @Override long getElementLabel(); @Override boolean validate(); int compareTo(Exclude o); @Override boolean equals(Object obj); int hashCode(); int size(); Element value(int i); String toString(); static int OPTIMUM_FILTER_SIZE; }
@Test public void testExcludeByteArrayArray() { Log.info(Log.FAC_TEST, "Starting testExcludeByteArrayArray"); ef = new Exclude(array); assertTrue(ef.match(b1)); assertFalse(ef.match(b3)); assertTrue(ef.match(b06)); Log.info(Log.FAC_TEST, "Completed testExcludeByteArrayArray"); }