Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.sdmlib.models.classes.util;
 
 
 public class DataTypePO extends PatternObject<DataTypePODataType>
 {
 
     public DataTypeSet allMatches()
   {
      this.setDoAllMatches(true);
      
      DataTypeSet matches = new DataTypeSet();
      while (this.getPattern().getHasMatch())
      {
         matches.add((DataTypethis.getCurrentMatch());
         
         this.getPattern().findMatch();
      }
      
      return matches;
   }
   public DataTypePO(){
      newInstance(CreatorCreator.createIdMap("PatternObjectType"));
   }
   public DataTypePO(DataType... hostGraphObject) {
      if(hostGraphObject==null || hostGraphObject.length<1){
         return ;
      }
      newInstance(CreatorCreator.createIdMap("PatternObjectType"), hostGraphObject);
   }
New to GrepCode? Check out our FAQ X