uk.ac.ebi.microarray.zooma.track
Class HypothesisSet

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<E>
          extended by java.util.HashSet<OntologyMappingHypothesis>
              extended by uk.ac.ebi.microarray.zooma.track.HypothesisSet
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<OntologyMappingHypothesis>, java.util.Collection<OntologyMappingHypothesis>, java.util.Set<OntologyMappingHypothesis>, Information

public class HypothesisSet
extends java.util.HashSet<OntologyMappingHypothesis>
implements Information

A particular type of set that records the collection of discarded OntologyMappingHypothesis. This is a trivial extension of HashSet that adds tracking information.

Author:
Tony Burdett
See Also:
Serialized Form

Constructor Summary
HypothesisSet()
           
 
Method Summary
 boolean add(OntologyMappingHypothesis hypothesis)
           
 boolean addAll(java.util.Collection<? extends OntologyMappingHypothesis> c)
           
 void changed()
          Called whenever this information object is updated, this calls back to the mediator governing this information object and updates all dependent information artifacts.
 void clear()
           
 boolean remove(java.lang.Object o)
           
 boolean removeAll(java.util.Collection<?> c)
           
 void setHypothesisRankingTracker(HypothesisRankingTracker tracker)
           
 
Methods inherited from class java.util.HashSet
clone, contains, isEmpty, iterator, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode
 
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
containsAll, equals, hashCode, retainAll, toArray, toArray
 

Constructor Detail

HypothesisSet

public HypothesisSet()
Method Detail

setHypothesisRankingTracker

public void setHypothesisRankingTracker(HypothesisRankingTracker tracker)

add

public boolean add(OntologyMappingHypothesis hypothesis)
Specified by:
add in interface java.util.Collection<OntologyMappingHypothesis>
Specified by:
add in interface java.util.Set<OntologyMappingHypothesis>
Overrides:
add in class java.util.HashSet<OntologyMappingHypothesis>

remove

public boolean remove(java.lang.Object o)
Specified by:
remove in interface java.util.Collection<OntologyMappingHypothesis>
Specified by:
remove in interface java.util.Set<OntologyMappingHypothesis>
Overrides:
remove in class java.util.HashSet<OntologyMappingHypothesis>

clear

public void clear()
Specified by:
clear in interface java.util.Collection<OntologyMappingHypothesis>
Specified by:
clear in interface java.util.Set<OntologyMappingHypothesis>
Overrides:
clear in class java.util.HashSet<OntologyMappingHypothesis>

removeAll

public boolean removeAll(java.util.Collection<?> c)
Specified by:
removeAll in interface java.util.Collection<OntologyMappingHypothesis>
Specified by:
removeAll in interface java.util.Set<OntologyMappingHypothesis>
Overrides:
removeAll in class java.util.AbstractSet<OntologyMappingHypothesis>

addAll

public boolean addAll(java.util.Collection<? extends OntologyMappingHypothesis> c)
Specified by:
addAll in interface java.util.Collection<OntologyMappingHypothesis>
Specified by:
addAll in interface java.util.Set<OntologyMappingHypothesis>
Overrides:
addAll in class java.util.AbstractCollection<OntologyMappingHypothesis>

changed

public void changed()
Description copied from interface: Information
Called whenever this information object is updated, this calls back to the mediator governing this information object and updates all dependent information artifacts.

Specified by:
changed in interface Information


Copyright © 2010. All Rights Reserved.