//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: public org.maltparser.core.symbol.SymbolTable addSymbolTable(String tableName, int columnCategory, int columnType, String nullValueStrategy) throws org.maltparser.core.exception.MaltChainedException public virtual SymbolTable addSymbolTable(string tableName, int columnCategory, int columnType, string nullValueStrategy) { HashSymbolTable symbolTable = symbolTables[tableName]; if (symbolTable == null) { symbolTable = new HashSymbolTable(tableName, columnCategory, columnType, nullValueStrategy); symbolTables[tableName] = symbolTable; } return(symbolTable); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: public org.maltparser.core.symbol.SymbolTable addSymbolTable(String tableName) throws org.maltparser.core.exception.MaltChainedException public virtual SymbolTable addSymbolTable(string tableName) { HashSymbolTable symbolTable = symbolTables[tableName]; if (symbolTable == null) { symbolTable = new HashSymbolTable(tableName); symbolTables[tableName] = symbolTable; } return(symbolTable); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: public org.maltparser.core.symbol.SymbolTable addSymbolTable(String tableName, org.maltparser.core.symbol.SymbolTable parentTable) throws org.maltparser.core.exception.MaltChainedException public virtual SymbolTable addSymbolTable(string tableName, SymbolTable parentTable) { HashSymbolTable symbolTable = symbolTables[tableName]; if (symbolTable == null) { HashSymbolTable hashParentTable = (HashSymbolTable)parentTable; symbolTable = new HashSymbolTable(tableName, hashParentTable.Category, hashParentTable.Type, hashParentTable.NullValueStrategy); symbolTables[tableName] = symbolTable; } return(symbolTable); }
public override bool Equals(object obj) { if (this == obj) { return(true); } if (obj == null) { return(false); } if (GetType() != obj.GetType()) { return(false); } //JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final': //ORIGINAL LINE: final HashSymbolTable other = (HashSymbolTable)obj; HashSymbolTable other = (HashSymbolTable)obj; return((ReferenceEquals(name, null)) ? ReferenceEquals(other.name, null) : name.Equals(other.name)); }