Exclude extends GenericXMLEncodable implements XMLEncodable,
		Comparable<Exclude> { public boolean empty() { synchronized (_values) { return _values.isEmpty(); } } 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 testEmpty() { Log.info(Log.FAC_TEST, "Starting testEmpty"); ef = Exclude.uptoFactory(b0); assertFalse(ef.empty()); ArrayList<Exclude.Element> empty = new ArrayList<Exclude.Element>(); ef = new Exclude(empty); assertTrue(ef.empty()); Log.info(Log.FAC_TEST, "Completed testEmpty"); }