1 26 27 package org.omg.lifl.eclipse.plugin.project.OpenCCM.utils; 28 29 import java.util.HashMap ; 30 31 38 public class TagGroup { 39 40 private HashMap theTags = new HashMap (); 41 private int nbEntry = 0; 42 43 public TagGroup(String tabTag[], String tabValue[]){ 44 for (int i=0 ; i < tabTag.length; i++) 45 theTags.put(tabTag[i],tabValue[i]); 46 setNbEntry(tabTag.length); 47 } 48 51 public int getNbEntry() { 52 return nbEntry; 53 } 54 55 58 public void setNbEntry(int i) { 59 nbEntry = i; 60 } 61 62 65 public HashMap getTheTags() { 66 return theTags; 67 } 68 69 72 public void setTheTags(HashMap map) { 73 theTags = map; 74 } 75 76 } 77 | Popular Tags |