jwutil.collections
Class SetRepository.SharedSet

java.lang.Object
  extended by jwutil.collections.SetRepository.SharedSet
All Implemented Interfaces:
java.lang.Iterable, java.util.Collection, java.util.Set
Enclosing class:
SetRepository

public static class SetRepository.SharedSet
extends java.lang.Object
implements java.util.Set


Method Summary
 boolean add(java.lang.Object arg0)
           
 boolean addAll(java.util.Collection arg0)
           
 void clear()
           
 boolean contains(java.lang.Object arg0)
           
 boolean containsAll(java.util.Collection arg0)
           
 SetRepository.SharedSet copyAndAddAll(java.util.Set s, boolean disjoint)
           
 SetRepository.SharedSet copyAndAddAllSets(java.util.Collection sets, boolean disjoint)
           
 boolean equals(java.util.Collection c)
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 boolean isEmpty()
           
 java.util.Iterator iterator()
           
static SetRepository.SharedSet make(SetRepository repository, java.util.Collection s)
           
static SetRepository.SharedSet makeUnion(SetRepository repository, java.util.Collection sets)
           
 boolean remove(java.lang.Object arg0)
           
 boolean removeAll(java.util.Collection arg0)
           
 boolean retainAll(java.util.Collection arg0)
           
 int size()
           
 java.lang.Object[] toArray()
           
 java.lang.Object[] toArray(java.lang.Object[] arg0)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

make

public static SetRepository.SharedSet make(SetRepository repository,
                                           java.util.Collection s)

makeUnion

public static SetRepository.SharedSet makeUnion(SetRepository repository,
                                                java.util.Collection sets)

copyAndAddAll

public SetRepository.SharedSet copyAndAddAll(java.util.Set s,
                                             boolean disjoint)

copyAndAddAllSets

public SetRepository.SharedSet copyAndAddAllSets(java.util.Collection sets,
                                                 boolean disjoint)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Collection
Specified by:
hashCode in interface java.util.Set
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.util.Collection c)

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Collection
Specified by:
equals in interface java.util.Set
Overrides:
equals in class java.lang.Object

add

public boolean add(java.lang.Object arg0)
Specified by:
add in interface java.util.Collection
Specified by:
add in interface java.util.Set
See Also:
Collection.add(Object)

addAll

public boolean addAll(java.util.Collection arg0)
Specified by:
addAll in interface java.util.Collection
Specified by:
addAll in interface java.util.Set
See Also:
Collection.addAll(Collection)

clear

public void clear()
Specified by:
clear in interface java.util.Collection
Specified by:
clear in interface java.util.Set
See Also:
Collection.clear()

contains

public boolean contains(java.lang.Object arg0)
Specified by:
contains in interface java.util.Collection
Specified by:
contains in interface java.util.Set
See Also:
Collection.contains(Object)

containsAll

public boolean containsAll(java.util.Collection arg0)
Specified by:
containsAll in interface java.util.Collection
Specified by:
containsAll in interface java.util.Set
See Also:
Collection.containsAll(Collection)

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Collection
Specified by:
isEmpty in interface java.util.Set
See Also:
Collection.isEmpty()

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface java.lang.Iterable
Specified by:
iterator in interface java.util.Collection
Specified by:
iterator in interface java.util.Set
See Also:
Collection.iterator()

remove

public boolean remove(java.lang.Object arg0)
Specified by:
remove in interface java.util.Collection
Specified by:
remove in interface java.util.Set
See Also:
Collection.remove(Object)

removeAll

public boolean removeAll(java.util.Collection arg0)
Specified by:
removeAll in interface java.util.Collection
Specified by:
removeAll in interface java.util.Set
See Also:
Collection.removeAll(Collection)

retainAll

public boolean retainAll(java.util.Collection arg0)
Specified by:
retainAll in interface java.util.Collection
Specified by:
retainAll in interface java.util.Set
See Also:
Collection.retainAll(Collection)

size

public int size()
Specified by:
size in interface java.util.Collection
Specified by:
size in interface java.util.Set
See Also:
Collection.size()

toArray

public java.lang.Object[] toArray()
Specified by:
toArray in interface java.util.Collection
Specified by:
toArray in interface java.util.Set
See Also:
Collection.toArray()

toArray

public java.lang.Object[] toArray(java.lang.Object[] arg0)
Specified by:
toArray in interface java.util.Collection
Specified by:
toArray in interface java.util.Set
See Also:
Collection.toArray(Object[])


Copyright © 2004-2008 SUIF Compiler Group. All Rights Reserved.