List of usage examples for java.util Objects hashCode
public static int hashCode(Object o)
From source file:com.redhat.lightblue.query.SetExpression.java
@Override public int hashCode() { int hash = 7; hash = 79 * hash + Objects.hashCode(this.fields); hash = 79 * hash + Objects.hashCode(this.op); return hash;//www .ja v a 2s . com }
From source file:ws.salient.knowledge.KnowledgeBase.java
@Override public int hashCode() { int hash = 7; hash = 59 * hash + Objects.hashCode(this.releaseId); hash = 59 * hash + Objects.hashCode(this.name); return hash;/*from w w w . jav a 2 s . c o m*/ }
From source file:ua.pp.simplecommerce.model.entity.Language.java
@Override public int hashCode() { return Objects.hashCode(code); }
From source file:epgtools.dumpchannellistfromts.physicalchannelnumberrecord.PhysicalChannelNumberRecordBuilder.java
@Override public int hashCode() { int hash = 7; hash = 19 * hash + this.networkId; hash = 19 * hash + Objects.hashCode(this.networkName); hash = 19 * hash + this.transportStreamId; hash = 19 * hash + this.originalNetworkId; hash = 19 * hash + this.serviceId; return hash;//from w ww.j a v a 2 s .co m }
From source file:com.redhat.lightblue.query.ArrayAddExpression.java
@Override public int hashCode() { int hash = 7; hash = 89 * hash + Objects.hashCode(this.values); hash = 89 * hash + Objects.hashCode(this.op); hash = 89 * hash + Objects.hashCode(this.field); return hash;/*ww w . j a v a2 s . c o m*/ }
From source file:br.com.ln.view.FnAcesso.java
@Override public int hashCode() { int hash = 7; hash = 67 * hash + Objects.hashCode(this.usuario); hash = 67 * hash + Objects.hashCode(this.senha); hash = 67 * hash + Objects.hashCode(this.mensagem); hash = 67 * hash + Objects.hashCode(this.lnUsuario); hash = 67 * hash + Objects.hashCode(this.beanVar); hash = 67 * hash + Objects.hashCode(this.model); return hash;/* ww w. ja va2 s .co m*/ }
From source file:libepg.epg.section.descriptor.contentdescriptor.Nibble.java
@Override public int hashCode() { int hash = 3; hash = 23 * hash + Objects.hashCode(this.data); return hash; }
From source file:org.kisoonlineapp.uc.report.CalBuilder.java
public VEvent generateVEvntFor(Veranstaltung veranstaltung) { Objects.requireNonNull(veranstaltung); VEvent veranstaltungEvent = null;//from w w w. j a va 2s .c o m //--- try { final Calendar calBegin = veranstaltung.getBeginnEnde().calcBeginn(); final Calendar calEnd = veranstaltung.getBeginnEnde().calcEnde(); final String summary = veranstaltungView.formatVeranstaltung(veranstaltung); boolean guardGenerating = calBegin != null && calEnd != null; guardGenerating = guardGenerating && StringUtils.isNotBlank(summary); if (guardGenerating) { final TimeZoneRegistry registry = TimeZoneRegistryFactory.getInstance().createRegistry(); final TimeZone tz = registry.getTimeZone("Europe/Vienna"); final DateTime dt1 = new DateTime(calBegin.getTime()); dt1.setTimeZone(tz); final DateTime dt2 = new DateTime(calEnd.getTime()); dt2.setTimeZone(tz); veranstaltungEvent = new VEvent(dt1, dt2, summary); if (veranstaltung.getTreffpunktAdresse() != null) { String aValue = adresseView .formatBeschreibungUndStrasseNummerPlzOrt(veranstaltung.getTreffpunktAdresse()); Location location = new Location(aValue); veranstaltungEvent.getProperties().add(location); } { // Generate a UID for the event.. String pid = "" + Objects.hashCode(veranstaltung); UidGenerator ug = new UidGenerator(hostInfo, pid); veranstaltungEvent.getProperties().add(ug.generateUid()); } if (veranstaltung.getBeschreibung() != null) { String veranstaltungDescription = beschreibungView .formatBeschreibungKurz(veranstaltung.getBeschreibung()); if (StringUtils.isNotBlank(veranstaltungDescription)) { Description description = new Description(veranstaltungDescription); veranstaltungEvent.getProperties().add(description); } } } } catch (Exception ex) { logger.log(Level.WARNING, "Cannot create VEvent: " + veranstaltung, ex); veranstaltungEvent = null; } return veranstaltungEvent; }
From source file:com.offbynull.voip.kademlia.model.NodeChangeSet.java
@Override public int hashCode() { int hash = 3; hash = 23 * hash + Objects.hashCode(this.removed); hash = 23 * hash + Objects.hashCode(this.added); hash = 23 * hash + Objects.hashCode(this.updated); return hash;/*from w ww.j av a2 s . com*/ }
From source file:org.apache.arrow.vector.types.pojo.Schema.java
@Override public int hashCode() { return Objects.hashCode(fields); }