@Override public boolean equals( Object obj ) { if (obj == this) return true; if (obj instanceof AttributeTest) { AttributeTest that = (AttributeTest)obj; return ObjectUtil.isEqualWithNulls(this.typeName, that.typeName) && ObjectUtil.isEqualWithNulls(this.attributeNameOrWildcard, that.attributeNameOrWildcard); } return false; }
@Override public boolean equals( Object obj ) { if (obj == this) return true; if (obj instanceof ColumnExpression) { ColumnExpression that = (ColumnExpression)obj; if (!ObjectUtil.isEqualWithNulls(this.selectorName, that.selectorName)) return false; if (!ObjectUtil.isEqualWithNulls(this.propertyName, that.propertyName)) return false; if (!ObjectUtil.isEqualWithNulls(this.columnName, that.columnName)) return false; return true; } return false; }
@Override public boolean equals( Object obj ) { if (obj == this) return true; if (obj instanceof Tuple4) { Tuple4<?, ?, ?, ?> that = (Tuple4<?, ?, ?, ?>)obj; return ObjectUtil.isEqualWithNulls(this.v1, that.v1) && ObjectUtil.isEqualWithNulls(this.v2, that.v2) && ObjectUtil.isEqualWithNulls(this.v3, that.v3) && ObjectUtil.isEqualWithNulls(this.v4, that.v4); } return false; }
@Override public boolean equals( Object obj ) { if (obj == this) return true; if (obj instanceof ColumnExpression) { ColumnExpression that = (ColumnExpression)obj; if (!ObjectUtil.isEqualWithNulls(this.selectorName, that.selectorName)) return false; if (!ObjectUtil.isEqualWithNulls(this.propertyName, that.propertyName)) return false; if (!ObjectUtil.isEqualWithNulls(this.columnName, that.columnName)) return false; return true; } return false; }
@Override public boolean equals( Object obj ) { if (obj == this) return true; if (obj instanceof Tuple2) { Tuple2<?, ?> that = (Tuple2<?, ?>)obj; return ObjectUtil.isEqualWithNulls(this.v1, that.v1) && ObjectUtil.isEqualWithNulls(this.v2, that.v2); } return false; }
@Override public boolean equals( Object obj ) { if (obj == this) return true; if (obj instanceof NameTest) { NameTest that = (NameTest)obj; return ObjectUtil.isEqualWithNulls(this.prefixTest, that.prefixTest) && ObjectUtil.isEqualWithNulls(this.localTest, that.localTest); } return false; }
@Override public boolean equals( Object obj ) { if (obj == this) return true; if (obj instanceof ElementTest) { ElementTest that = (ElementTest)obj; return ObjectUtil.isEqualWithNulls(this.typeName, that.typeName) && ObjectUtil.isEqualWithNulls(this.elementNameOrWildcard, that.elementNameOrWildcard); } return false; }
@Override public boolean equals( Object obj ) { if (obj == this) return true; if (obj instanceof SequencerPathExpression.Matcher) { SequencerPathExpression.Matcher that = (SequencerPathExpression.Matcher)obj; if (!super.equals(that)) return false; return ObjectUtil.isEqualWithNulls(this.outputPath, that.outputPath); } return false; }
@Override public boolean equals( Object obj ) { if (obj == this) return true; if (obj instanceof PathExpression) { PathExpression that = (PathExpression)obj; return this.relative == that.relative && ObjectUtil.isEqualWithNulls(this.orderBy, that.orderBy) && this.steps.equals(that.steps); } return false; }
@Override public boolean equals( Object obj ) { if (obj == this) return true; if (obj instanceof Column) { Column that = (Column)obj; if (!this.selectorName.equals(that.selectorName)) return false; if (!ObjectUtil.isEqualWithNulls(this.propertyName, that.propertyName)) return false; if (!ObjectUtil.isEqualWithNulls(this.columnName, that.columnName)) return false; return true; } return false; }
@Override public boolean equals( Object obj ) { if (obj == this) return true; if (obj instanceof Column) { Column that = (Column)obj; if (!this.selectorName.equals(that.selectorName)) return false; if (!ObjectUtil.isEqualWithNulls(this.propertyName, that.propertyName)) return false; if (!ObjectUtil.isEqualWithNulls(this.columnName, that.columnName)) return false; return true; } return false; }
@Override public boolean equals( Object obj ) { if (obj == this) return true; if (obj instanceof Map.Entry) { Map.Entry<?, ?> that = (Map.Entry<?, ?>)obj; if (!ObjectUtil.isEqualWithNulls(this.getKey(), that.getKey())) return false; if (!ObjectUtil.isEqualWithNulls(this.getValue(), that.getValue())) return false; return true; } return false; }
@Override public boolean equals( Object obj ) { if (obj == this) return true; if (obj instanceof Map.Entry) { Map.Entry<?, ?> that = (Map.Entry<?, ?>)obj; if (!ObjectUtil.isEqualWithNulls(this.getKey(), that.getKey())) return false; if (!ObjectUtil.isEqualWithNulls(this.getValue(), that.getValue())) return false; return true; } return false; }
@Override public boolean equals( Object obj ) { if (obj == this) return true; if (obj instanceof Selector) { Selector that = (Selector)obj; return ObjectUtil.isEqualWithNulls(this.name(), that.name()) && ObjectUtil.isEqualWithNulls(this.alias(), that.alias()); } return false; }
@Override public boolean containsEntry( Object key, Object value ) { @SuppressWarnings( "unchecked" ) ValueIterator values = new ValueIterator((K)key); while (values.hasNext()) { if (ObjectUtil.isEqualWithNulls(values.next(), value)) return true; } return false; }
@Override public boolean containsValue( Object value ) { EntryIterator entries = new EntryIterator(); while (entries.hasNext()) { if (ObjectUtil.isEqualWithNulls(entries.next().value, value)) return true; } return false; }
@Override public boolean containsEntry( Object key, Object value ) { @SuppressWarnings( "unchecked" ) ValueIterator values = new ValueIterator((K)key); while (values.hasNext()) { if (ObjectUtil.isEqualWithNulls(values.next(), value)) return true; } return false; }
@Override public boolean containsValue( Object value ) { EntryIterator entries = new EntryIterator(); while (entries.hasNext()) { if (ObjectUtil.isEqualWithNulls(entries.next().value, value)) return true; } return false; }
@Override public boolean equals( Object obj ) { if (obj == this) return true; if (obj instanceof Selector) { Selector that = (Selector)obj; if (!this.name().equals(that.name())) return false; if (!ObjectUtil.isEqualWithNulls(this.alias(), that.alias())) return false; return true; } return false; }
@Override public boolean equals( Object obj ) { if (obj == this) return true; if (obj instanceof Selector) { Selector that = (Selector)obj; if (!this.name().equals(that.name())) return false; if (!ObjectUtil.isEqualWithNulls(this.alias(), that.alias())) return false; return true; } return false; }