Пример #1
0
 public boolean isSame(WordsInfo wInfo) {
   if (this.type_ == wInfo.type_
       && Util.isEqualStr(this.id_, wInfo.id_)
       && Util.isEqualStr(this.index_, wInfo.index_)) {
     return true;
   }
   return false;
 }
 static {
   try {
     Document doc;
     doc = Util.readXMLFile("./data/stock/stock_onto.xml", true);
     ontoInfo = OntoXmlReader.loadOnto(doc);
   } catch (DataConfException e) {
     System.err.println(e.toString());
   }
 }