org.eclipse.gmt.umlx.ecore.links
Class CandidateLinks

java.lang.Object
  extended by org.eclipse.gmt.umlx.ecore.links.CandidateLinks
All Implemented Interfaces:
java.lang.Iterable<org.eclipse.emf.ecore.EModelElement>

public class CandidateLinks
extends java.lang.Object
implements java.lang.Iterable<org.eclipse.emf.ecore.EModelElement>

CandidateLinks maintains a list of links that may satisfy the requirements of a coModel for a connection between two points. [This class differs very little from ArrayList. At one point it also maintained a direction for each candidate. It is now retained just to give a slightly clearer signaturee to some methods.]


Constructor Summary
CandidateLinks()
           
 
Method Summary
 org.eclipse.emf.ecore.EModelElement add(org.eclipse.emf.ecore.EModelElement newLink)
           
 void clear()
           
 boolean contains(java.lang.Object link)
           
 org.eclipse.emf.ecore.EModelElement getFirst()
           
 java.util.Iterator<org.eclipse.emf.ecore.EModelElement> iterator()
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CandidateLinks

public CandidateLinks()
Method Detail

add

public org.eclipse.emf.ecore.EModelElement add(org.eclipse.emf.ecore.EModelElement newLink)

clear

public void clear()

contains

public boolean contains(java.lang.Object link)

getFirst

public org.eclipse.emf.ecore.EModelElement getFirst()

iterator

public java.util.Iterator<org.eclipse.emf.ecore.EModelElement> iterator()
Specified by:
iterator in interface java.lang.Iterable<org.eclipse.emf.ecore.EModelElement>

size

public int size()