com.batavia.xml
Interface Sequence

All Superinterfaces:
java.util.Collection, java.lang.Iterable, java.util.List, java.util.Set

public interface Sequence
extends Set

Special set that uses its contents sequence when comparing to other sequences.

s equal, v equal, c equal, u equal means: Every node in one sequence is {s-equal, v equal, c equal, u equal} to the node in the same position in the other sequence.

Copyright 2006 J2R BV, The Netherlands.

Part of Licensed Materials.

www.batavia-xbrl.com

Author:
Ron van Ardenne

Method Summary
 boolean c_equal(Sequence other)
          Determine if the other has Context equal Item contents in the same order as this.
 boolean identical(Sequence other)
          Determine if the other has Identical XmlParticleImpl contents in the same order as this.
 boolean s_equal(Sequence other)
          Determine if the other has Structure equal Item, Tuple, UnknownInstanceElement or XmlParticleImpl contents in the same order as this.
 boolean u_equal(Sequence other)
          Determine if the other has Unit equal Item contents in the same order as this.
 boolean v_equal(Sequence other)
          Determine if the other has Value equal XmlParticleImpl contents in the same order as this.
 
Methods inherited from interface com.batavia.xml.Set
c_equal, containsCequal, containsDuplicate, containsIdentical, containsSequal, containsUequal, containsVequal, identical, removeDuplicates, s_equal, u_equal, v_equal
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

c_equal

boolean c_equal(Sequence other)
Determine if the other has Context equal Item contents in the same order as this.

Parameters:
other - another ComparablePart object
Returns:
true if the other has Context equal Item contents in the same order as this.

identical

boolean identical(Sequence other)
Determine if the other has Identical XmlParticleImpl contents in the same order as this.

Parameters:
other - another ComparablePart object
Returns:
true if the other has Identical XmlParticleImpl contents in the same order as this.

s_equal

boolean s_equal(Sequence other)
Determine if the other has Structure equal Item, Tuple, UnknownInstanceElement or XmlParticleImpl contents in the same order as this.

Parameters:
other - another ComparablePart object
Returns:
true if the other has Structure equal Item, Tuple, UnknownInstanceElement or XmlParticleImpl contents in the same order as this.

u_equal

boolean u_equal(Sequence other)
Determine if the other has Unit equal Item contents in the same order as this.

Parameters:
other - another ComparablePart object
Returns:
true if the other has Unit equal Item contents in the same order as this.

v_equal

boolean v_equal(Sequence other)
Determine if the other has Value equal XmlParticleImpl contents in the same order as this.

Parameters:
other - another ComparablePart object
Returns:
true if the other has Value equal XmlParticleImpl contents in the same order as this.