@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } final AllFields other = (AllFields) obj; return Objects.equal(docid, other.docid) && Objects.equal(type, other.type) && Objects.equal(role, other.role) && Objects.equal(realis, other.realis) && Objects.equal(argumentCanonicalString, other.argumentCanonicalString) && Objects.equal(argumentJustifications, other.argumentJustifications) && Objects.equal(predicateJustifications, other.predicateJustifications); }
@Override public boolean equals(Object o) { if (!(o instanceof Message)) { return false; } Message e = (Message) o; return message.equals(e.message) && Objects.equal(cause, e.cause) && sources.equals(e.sources); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final TransportHandlingUnitType o = ((TransportHandlingUnitType) other); return ((((((((((((((((((((((((((Objects.equal(id, o.id)&&Objects.equal(transportHandlingUnitTypeCode, o.transportHandlingUnitTypeCode))&&Objects.equal(handlingCode, o.handlingCode))&&Objects.equal(handlingInstructions, o.handlingInstructions))&&Objects.equal(hazardousRiskIndicator, o.hazardousRiskIndicator))&&Objects.equal(totalGoodsItemQuantity, o.totalGoodsItemQuantity))&&Objects.equal(totalPackageQuantity, o.totalPackageQuantity))&&Objects.equal(damageRemarks, o.damageRemarks))&&Objects.equal(shippingMarks, o.shippingMarks))&&Objects.equal(traceID, o.traceID))&&Objects.equal(handlingUnitDespatchLine, o.handlingUnitDespatchLine))&&Objects.equal(actualPackage, o.actualPackage))&&Objects.equal(receivedHandlingUnitReceiptLine, o.receivedHandlingUnitReceiptLine))&&Objects.equal(transportEquipment, o.transportEquipment))&&Objects.equal(transportMeans, o.transportMeans))&&Objects.equal(hazardousGoodsTransit, o.hazardousGoodsTransit))&&Objects.equal(measurementDimension, o.measurementDimension))&&Objects.equal(minimumTemperature, o.minimumTemperature))&&Objects.equal(maximumTemperature, o.maximumTemperature))&&Objects.equal(goodsItem, o.goodsItem))&&Objects.equal(floorSpaceMeasurementDimension, o.floorSpaceMeasurementDimension))&&Objects.equal(palletSpaceMeasurementDimension, o.palletSpaceMeasurementDimension))&&Objects.equal(shipmentDocumentReference, o.shipmentDocumentReference))&&Objects.equal(status, o.status))&&Objects.equal(customsDeclaration, o.customsDeclaration))&&Objects.equal(referencedShipment, o.referencedShipment))&&Objects.equal(_package, o._package)); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final UNDGCodeType o = ((UNDGCodeType) other); return (((((((((Objects.equal(value, o.value)&&Objects.equal(listID, o.listID))&&Objects.equal(listAgencyID, o.listAgencyID))&&Objects.equal(listAgencyName, o.listAgencyName))&&Objects.equal(listName, o.listName))&&Objects.equal(listVersionID, o.listVersionID))&&Objects.equal(name, o.name))&&Objects.equal(languageID, o.languageID))&&Objects.equal(listURI, o.listURI))&&Objects.equal(listSchemeURI, o.listSchemeURI)); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final EarliestPickupTimeType o = ((EarliestPickupTimeType) other); return Objects.equal(value, o.value); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; Wrapper other = (Wrapper)obj; return Objects.equal(this.obj, other.obj); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final UBLDocumentSignaturesType o = ((UBLDocumentSignaturesType) other); return Objects.equal(signatureInformation, o.signatureInformation); }
/** * @deprecated Use {@link Network#equals(Object)} instead. This method will be removed in late * 2017. */ // TODO(user): Delete this method. @Deprecated public static boolean equivalent( @Nullable Network<?, ?> networkA, @Nullable Network<?, ?> networkB) { return Objects.equal(networkA, networkB); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final ReturnableMaterialIndicatorType o = ((ReturnableMaterialIndicatorType) other); return Objects.equal(value, o.value); }
private SqlAddLayout(SqlParserPos pos, SqlIdentifier tblName, SqlNode isRaw, SqlNodeList displayList, SqlNodeList dimensionList, SqlNodeList measureList, SqlNodeList distributionList, SqlNodeList partitionList, SqlNodeList sortList, PartitionDistributionStrategy partitionDistributionStrategy, SqlIdentifier name) { super(pos); this.tblName = tblName; this.isRaw = isRaw; this.displayList = Objects.firstNonNull(displayList, SqlNodeList.EMPTY); this.dimensionList = Objects.firstNonNull(dimensionList, SqlNodeList.EMPTY); this.measureList = Objects.firstNonNull(measureList, SqlNodeList.EMPTY); this.distributionList = distributionList; this.partitionList = partitionList; this.sortList = sortList; this.partitionDistributionStrategy = partitionDistributionStrategy; this.name = name; }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final CallTimeType o = ((CallTimeType) other); return Objects.equal(value, o.value); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final ParentDocumentLineReferenceIDType o = ((ParentDocumentLineReferenceIDType) other); return (((((((Objects.equal(value, o.value)&&Objects.equal(schemeID, o.schemeID))&&Objects.equal(schemeName, o.schemeName))&&Objects.equal(schemeAgencyID, o.schemeAgencyID))&&Objects.equal(schemeAgencyName, o.schemeAgencyName))&&Objects.equal(schemeVersionID, o.schemeVersionID))&&Objects.equal(schemeDataURI, o.schemeDataURI))&&Objects.equal(schemeURI, o.schemeURI)); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final BackorderReasonType o = ((BackorderReasonType) other); return ((Objects.equal(value, o.value)&&Objects.equal(languageID, o.languageID))&&Objects.equal(languageLocaleID, o.languageLocaleID)); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final SettlementDiscountPercentType o = ((SettlementDiscountPercentType) other); return (Objects.equal(value, o.value)&&Objects.equal(format, o.format)); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final RoomType o = ((RoomType) other); return ((Objects.equal(value, o.value)&&Objects.equal(languageID, o.languageID))&&Objects.equal(languageLocaleID, o.languageLocaleID)); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; PPOEntityEquipment that = (PPOEntityEquipment) o; return getEntityID() == that.getEntityID() && Objects.equal(getItemStack(), that.getItemStack()) && getEquipSlot() == that.getEquipSlot(); }
private void handleDisconnect(Player player) { Preconditions.checkNotNull(player); if (this.eventFaction == null) return; Collection<CaptureZone> captureZones = this.eventFaction.getCaptureZones(); for (CaptureZone captureZone : captureZones) { if (Objects.equal(captureZone.getCappingPlayer(), player)) { captureZone.setCappingPlayer(null); this.eventFaction.getEventType().getEventTracker().onControlLoss(player, captureZone, this.eventFaction); break; } } }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final SourceCurrencyBaseRateType o = ((SourceCurrencyBaseRateType) other); return (Objects.equal(value, o.value)&&Objects.equal(format, o.format)); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final ActivityDataLineType o = ((ActivityDataLineType) other); return (((((((Objects.equal(id, o.id)&&Objects.equal(supplyChainActivityTypeCode, o.supplyChainActivityTypeCode))&&Objects.equal(buyerCustomerParty, o.buyerCustomerParty))&&Objects.equal(sellerSupplierParty, o.sellerSupplierParty))&&Objects.equal(activityPeriod, o.activityPeriod))&&Objects.equal(activityOriginLocation, o.activityOriginLocation))&&Objects.equal(activityFinalLocation, o.activityFinalLocation))&&Objects.equal(salesItem, o.salesItem)); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || getClass() != obj.getClass()) { return false; } final Bmv2TernaryMatchParam other = (Bmv2TernaryMatchParam) obj; return Objects.equal(this.value, other.value) && Objects.equal(this.mask, other.mask); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public boolean isAbstract() { return ((((this.eContainer() instanceof N4InterfaceDeclaration) && (this.getBody() == null)) && (!IterableExtensions.<Annotation>exists(this.getAnnotations(), new Function1<Annotation, Boolean>() { public Boolean apply(final Annotation it) { String _name = it.getName(); return Boolean.valueOf(Objects.equal(_name, "ProvidesDefaultImplementation")); } }))) || this.getDeclaredModifiers().contains(N4Modifier.ABSTRACT)); }
/** * Determines whether an edge has already been used during traversal. In the directed case a cycle * is always detected before reusing an edge, so no special logic is required. In the undirected * case, we must take care not to "backtrack" over an edge (i.e. going from A to B and then going * from B to A). */ private static boolean canTraverseWithoutReusingEdge( Graph<?> graph, Object nextNode, @Nullable Object previousNode) { if (graph.isDirected() || !Objects.equal(previousNode, nextNode)) { return true; } // This falls into the undirected A->B->A case. The Graph interface does not support parallel // edges, so this traversal would require reusing the undirected AB edge. return false; }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final CharacterSetCodeType o = ((CharacterSetCodeType) other); return (((((((((Objects.equal(value, o.value)&&Objects.equal(listID, o.listID))&&Objects.equal(listAgencyID, o.listAgencyID))&&Objects.equal(listAgencyName, o.listAgencyName))&&Objects.equal(listName, o.listName))&&Objects.equal(listVersionID, o.listVersionID))&&Objects.equal(name, o.name))&&Objects.equal(languageID, o.languageID))&&Objects.equal(listURI, o.listURI))&&Objects.equal(listSchemeURI, o.listSchemeURI)); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final DocumentResponseType o = ((DocumentResponseType) other); return ((((Objects.equal(response, o.response)&&Objects.equal(documentReference, o.documentReference))&&Objects.equal(issuerParty, o.issuerParty))&&Objects.equal(recipientParty, o.recipientParty))&&Objects.equal(lineResponse, o.lineResponse)); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof ShowImageDTO)) { return false; } ShowImageDTO other = (ShowImageDTO) obj; return Objects.equal(path, other.path) && Objects.equal(size, other.size); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; DMLProjection that = (DMLProjection) o; return Objects.equal(uidSymbol, that.uidSymbol); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final SubcontractTermsType o = ((SubcontractTermsType) other); return ((((((Objects.equal(rate, o.rate)&&Objects.equal(unknownPriceIndicator, o.unknownPriceIndicator))&&Objects.equal(description, o.description))&&Objects.equal(amount, o.amount))&&Objects.equal(subcontractingConditionsCode, o.subcontractingConditionsCode))&&Objects.equal(maximumPercent, o.maximumPercent))&&Objects.equal(minimumPercent, o.minimumPercent)); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Facet facet = (Facet) o; return type == facet.type && Objects.equal(name, facet.name) && Objects.equal(version, facet.version); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final QualifyingPropertiesReferenceType o = ((QualifyingPropertiesReferenceType) other); return (Objects.equal(uri, o.uri)&&Objects.equal(id, o.id)); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final LineExtensionAmountType o = ((LineExtensionAmountType) other); return ((Objects.equal(value, o.value)&&Objects.equal(currencyID, o.currencyID))&&Objects.equal(currencyCodeListVersionID, o.currencyCodeListVersionID)); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final TransportMeansType o = ((TransportMeansType) other); return ((((((((((((Objects.equal(journeyID, o.journeyID)&&Objects.equal(registrationNationalityID, o.registrationNationalityID))&&Objects.equal(registrationNationality, o.registrationNationality))&&Objects.equal(directionCode, o.directionCode))&&Objects.equal(transportMeansTypeCode, o.transportMeansTypeCode))&&Objects.equal(tradeServiceCode, o.tradeServiceCode))&&Objects.equal(stowage, o.stowage))&&Objects.equal(airTransport, o.airTransport))&&Objects.equal(roadTransport, o.roadTransport))&&Objects.equal(railTransport, o.railTransport))&&Objects.equal(maritimeTransport, o.maritimeTransport))&&Objects.equal(ownerParty, o.ownerParty))&&Objects.equal(measurementDimension, o.measurementDimension)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public boolean isDeclaredFinal() { final Function1<Annotation, Boolean> _function = new Function1<Annotation, Boolean>() { public Boolean apply(final Annotation it) { String _name = it.getName(); return Boolean.valueOf(Objects.equal(_name, "Final")); } }; return IterableExtensions.<Annotation>exists(this.getAnnotations(), _function); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } SpecKey that = (SpecKey) o; return Objects.equal(this.patterns, that.patterns) && Objects.equal(this.include, that.include) && Objects.equal(this.caseSensitive, that.caseSensitive); }
@Override public boolean contains(Object o) { if (o instanceof Entry) { Entry<?, ?> entry = (Entry<?, ?>) o; Object key = entry.getKey(); V value = Maps.safeGet(map(), key); return Objects.equal(value, entry.getValue()) && (value != null || map().containsKey(key)); } return false; }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final DescriptionType o = ((DescriptionType) other); return ((Objects.equal(value, o.value)&&Objects.equal(languageID, o.languageID))&&Objects.equal(languageLocaleID, o.languageLocaleID)); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (other == null) { return false; } if (getClass()!= other.getClass()) { return false; } final CompanyIDType o = ((CompanyIDType) other); return (((((((Objects.equal(value, o.value)&&Objects.equal(schemeID, o.schemeID))&&Objects.equal(schemeName, o.schemeName))&&Objects.equal(schemeAgencyID, o.schemeAgencyID))&&Objects.equal(schemeAgencyName, o.schemeAgencyName))&&Objects.equal(schemeVersionID, o.schemeVersionID))&&Objects.equal(schemeDataURI, o.schemeDataURI))&&Objects.equal(schemeURI, o.schemeURI)); }
@Override public int hashCode() { return Objects.hashCode(name); }
@Override public int hashCode() { return Objects.hashCode(telecommunicationsSupplyType, telecommunicationsSupplyTypeCode, privacyCode, description, totalAmount, telecommunicationsSupplyLine); }
@Override public int hashCode() { return Objects.hashCode(routing, jobId, shardId(), items, locations); }
@Override public int hashCode() { return Objects.hashCode(id, issueDate, issueTime, description, notaryParty, agentParty, witnessParty, mandateDocumentReference); }