com.batavia.xml
Interface Set

All Superinterfaces:
java.util.Collection, java.lang.Iterable, java.util.List, java.util.Set
All Known Subinterfaces:
Sequence, TupleChildren

public interface Set
extends java.util.List, java.util.Set

Special type of List subclassed from ArrayList that allows for comparing to other sets.

identical, s equal, v equal, c equal, u equa means: Set X is {identical, s-equal, v-equal, c-equal, u-equal} to set Y if: every node in set X can be paired with a node in set Y to which it is {identical, s-equal, v-equal, c-equal, u-equal} and the two sets have the same number of members.

Copyright 2006 J2R BV, The Netherlands.

Part of Licensed Materials.

www.batavia-xbrl.com

Author:
Ron van Ardenne

Method Summary
 boolean c_equal(Set other)
          Determine if the other has Context equal Item contents in any order as this.
 boolean containsCequal(ComparablePart otherParticle)
          Determine if the SetImpl contains a Context equal ComparablePart in any order.
 boolean containsDuplicate(ComparablePart otherParticle)
          Determine if the SetImpl contains a Duplicate ComparablePart in any order.
 boolean containsIdentical(ComparablePart otherParticle)
          Determine if the SetImpl contains an Identical XmlParticleImpl in any order.
 boolean containsSequal(ComparablePart otherParticle)
          Determine if the SetImpl contains a Structure equal ComparablePart in any order.
 boolean containsUequal(ComparablePart otherParticle)
          Determine if the SetImpl contains a Unit equal Item in any order.
 boolean containsVequal(ComparablePart otherParticle)
          Determine if the SetImpl contains a Value equal ComparablePart in any order.
 boolean identical(Set other)
          Determine if the other has Identical XmlParticleImpl contents as this in any order.
 void removeDuplicates()
           
 boolean s_equal(Set other)
          Determine if the other has Structure equal ComparablePart contents in any order as this.
 boolean u_equal(Set other)
          Determine if the other has Unit equal Item contents in any order as this.
 boolean v_equal(Set other)
          Determine if the other has Value equal ComparablePart contents in any order as this.
 
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(Set other)
Determine if the other has Context equal Item contents in any order as this.

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

identical

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

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

s_equal

boolean s_equal(Set other)
Determine if the other has Structure equal ComparablePart contents in any order as this.

Parameters:
other - another Set object
Returns:
true if the other has Structure equal ComparablePart contents in any order as this.

u_equal

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

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

v_equal

boolean v_equal(Set other)
Determine if the other has Value equal ComparablePart contents in any order as this.

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

containsCequal

boolean containsCequal(ComparablePart otherParticle)
Determine if the SetImpl contains a Context equal ComparablePart in any order.

Parameters:
otherParticle - another Item object
Returns:
true if the SetImpl contains a Context equal ComparablePart in any order.

containsDuplicate

boolean containsDuplicate(ComparablePart otherParticle)
Determine if the SetImpl contains a Duplicate ComparablePart in any order.

Parameters:
otherParticle - another Item object
Returns:
true if the SetImpl contains a Duplicate ComparablePart in any order.

containsIdentical

boolean containsIdentical(ComparablePart otherParticle)
Determine if the SetImpl contains an Identical XmlParticleImpl in any order.

Parameters:
otherParticle - another ComparablePart object
Returns:
true if the SetImpl contains an Identical XmlParticleImpl in any order.

containsSequal

boolean containsSequal(ComparablePart otherParticle)
Determine if the SetImpl contains a Structure equal ComparablePart in any order.

Parameters:
otherParticle - another ComparablePart object
Returns:
true if the SetImpl contains a Structure equal ComparablePart in any order.

containsUequal

boolean containsUequal(ComparablePart otherParticle)
Determine if the SetImpl contains a Unit equal Item in any order.

Parameters:
otherParticle - another ComparablePart object
Returns:
true if the SetImpl contains a Unit equal Item in any order.

containsVequal

boolean containsVequal(ComparablePart otherParticle)
Determine if the SetImpl contains a Value equal ComparablePart in any order.

Parameters:
otherParticle - another ComparablePart object
Returns:
true if the SetImpl contains a Value equal ComparablePart in any order.

removeDuplicates

void removeDuplicates()