Пример #1
0
        /// <summary>
        /// Resets the graph element.
        /// </summary>
        /// <exception cref="MaltChainedException"> </exception>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void clear() throws org.maltparser.core.exception.MaltChainedException
        public virtual void clear()
        {
            if (labelSet != null && belongsToGraph != null)
            {
                belongsToGraph.CheckInLabelSet(labelSet);
            }
            labelSet = null;
            deleteObserver((SyntaxGraph)belongsToGraph);
            belongsToGraph = null;
        }
Пример #2
0
 public GraphElement()
 {
     belongsToGraph = null;
     labelSet       = null;
 }