public boolean equals(Object obj) { return this == obj || obj instanceof ObjIntPair && this.i == ((ObjIntPair) obj).i && Util.equals(this.t, ((ObjIntPair) obj).t); }
public boolean equals(Object obj) { if (obj instanceof SetType) { SetType that = (SetType) obj; return Util.equals(this.elementType, that.elementType); } else { return false; } }
@Override public boolean equals(Object obj) { if (!(obj instanceof SegmentColumn)) { return false; } SegmentColumn that = (SegmentColumn) obj; if (this.values == null && that.values == null) { return true; } return this.columnExpression.equals(that.columnExpression) && Util.equals(this.values, that.values); }
public boolean equals(Object obj) { if (!(obj instanceof Column)) { return false; } Column that = (Column) obj; return this.name.equals(that.name) && Util.equals(this.table, that.table); } // END pass-through code block ---
public boolean equals(Object obj) { if (!(obj instanceof Column)) { return false; } Column that = (Column) obj; return this.name.equals(that.name) && Util.equals(this.table, that.table); } // END pass-through code block ---
public boolean equals(Object obj) { if (!(obj instanceof SQL)) { return false; } SQL that = (SQL) obj; return this.dialect.equals(that.dialect) && Util.equals(this.cdata, that.cdata); }
public boolean equals(Object obj) { if (! (obj instanceof RolapStar.Column)) { return false; } RolapStar.Column other = (RolapStar.Column) obj; // Note: both columns have to be from the same table return other.table == this.table && Util.equals(other.expression, this.expression) && other.datatype == this.datatype && other.name.equals(this.name); }
public Expression getNameExp() { if (nameExp != null) { return nameExp; } else if (nameColumn != null && !Util.equals(nameColumn, column)) { return new Column(table, nameColumn); } else { return null; } }
public Expression getNameExp() { if (nameExp != null) { return nameExp; } else if (nameColumn != null && !Util.equals(nameColumn, column)) { return new Column(table, nameColumn); } else { return null; } }
public static boolean areCatalogsEqual( DataSourcesConfig.DataSource dataSource1, DataSourcesConfig.Catalog catalog1, DataSourcesConfig.DataSource dataSource2, DataSourcesConfig.Catalog catalog2) { return Util.equals(dsi(dataSource1, catalog1), dsi(dataSource2, catalog2)) && catalog1.name.equals(catalog2.name) && catalog1.definition.equals(catalog2.definition); }
public boolean equals(Object obj) { if (obj instanceof DimensionType) { DimensionType that = (DimensionType) obj; return Util.equals(this.getDimension(), that.getDimension()); } return false; }
public static RollupType getAggregatorType(String friendlyName) { for (RollupType rollupType : RollupType.values()) { if (Util.equals(rollupType.getFriendlyName(), friendlyName)) { return rollupType; } } return null; } }
public boolean equals(Object o) { if (o instanceof HierarchyUsage) { HierarchyUsage other = (HierarchyUsage) o; return (this.kind == other.kind) && Util.equals(this.fact, other.fact) && this.hierarchyName.equals(other.hierarchyName) && Util.equalName(this.name, other.name) && Util.equalName(this.source, other.source) && Util.equalName(this.foreignKey, other.foreignKey); } else { return false; } }