OntoSim 2.4

fr.inrialpes.exmo.ontosim.extractor.matching
Class BasicMatching<O>

java.lang.Object
  extended by fr.inrialpes.exmo.ontosim.extractor.matching.BasicMatching<O>
All Implemented Interfaces:
Matching<O>, Iterable<Matching.Entry<O>>

public class BasicMatching<O>
extends Object
implements Matching<O>


Nested Class Summary
 
Nested classes/interfaces inherited from interface fr.inrialpes.exmo.ontosim.extractor.matching.Matching
Matching.Entry<T>
 
Field Summary
private  HashMap<O,Set<O>> entries
           
private  Collection<Matching.Entry<O>> entriesList
           
 
Constructor Summary
BasicMatching()
           
BasicMatching(Collection<Matching.Entry<O>> s)
           
 
Method Summary
 boolean add(Matching.Entry<O> entry)
           
 boolean add(O s, O t)
           
 void addAll(Set<Matching.Entry<O>> entries)
           
 void clear()
           
 boolean contains(O s, O t)
           
 Iterator<Matching.Entry<O>> iterator()
           
 int size()
           
 Matching<O> transposeView()
          To be modified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entries

private HashMap<O,Set<O>> entries

entriesList

private Collection<Matching.Entry<O>> entriesList
Constructor Detail

BasicMatching

public BasicMatching()

BasicMatching

public BasicMatching(Collection<Matching.Entry<O>> s)
Method Detail

addAll

public void addAll(Set<Matching.Entry<O>> entries)

add

public boolean add(Matching.Entry<O> entry)

add

public boolean add(O s,
                   O t)
Specified by:
add in interface Matching<O>

clear

public void clear()
Specified by:
clear in interface Matching<O>

transposeView

public Matching<O> transposeView()
To be modified

Specified by:
transposeView in interface Matching<O>

size

public int size()
Specified by:
size in interface Matching<O>

contains

public boolean contains(O s,
                        O t)
Specified by:
contains in interface Matching<O>

iterator

public Iterator<Matching.Entry<O>> iterator()
Specified by:
iterator in interface Iterable<Matching.Entry<O>>

OntoSim 2.4

(C) INRIA, UPMF & friends, 2008-2011