org.sdmlib.replication.util.LinkedHashSetPO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SDMLib Show documentation
Show all versions of SDMLib Show documentation
SDMLib is a light weight modeling library. SDMLib intentionally comes without any tool or editor.
package org.sdmlib.replication.util;
import java.util.LinkedHashSet;
import org.sdmlib.models.pattern.PatternObject;
public class LinkedHashSetPO extends PatternObject
{
public LinkedHashSetSet allMatches()
{
this.setDoAllMatches(true);
LinkedHashSetSet matches = new LinkedHashSetSet();
while (this.getPattern().getHasMatch())
{
matches.add((LinkedHashSet) this.getCurrentMatch());
this.getPattern().findMatch();
}
return matches;
}
public LinkedHashSetPO(){
newInstance(org.sdmlib.replication.util.CreatorCreator.createIdMap("PatternObjectType"));
}
public LinkedHashSetPO(LinkedHashSet... hostGraphObject) {
if(hostGraphObject==null || hostGraphObject.length<1){
return ;
}
newInstance(org.sdmlib.replication.util.CreatorCreator.createIdMap("PatternObjectType"), hostGraphObject);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy