Java 类java.lang.Object 实例源码

项目:GitHub    文件:Phone.java   
@Override
public Phone decode(ProtoReader reader) throws IOException {
  Builder builder = new Builder();
  long token = reader.beginMessage();
  for (int tag; (tag = reader.nextTag()) != -1;) {
    switch (tag) {
      case 1: builder.number(ProtoAdapter.STRING.decode(reader)); break;
      default: {
        FieldEncoding fieldEncoding = reader.peekFieldEncoding();
        Object value = fieldEncoding.rawProtoAdapter().decode(reader);
        builder.addUnknownField(tag, fieldEncoding, value);
      }
    }
  }
  reader.endMessage(token);
  return builder.build();
}
项目:GitHub    文件:Phone.java   
@Override
public Phone decode(ProtoReader reader) throws IOException {
  Builder builder = new Builder();
  long token = reader.beginMessage();
  for (int tag; (tag = reader.nextTag()) != -1;) {
    switch (tag) {
      case 1: builder.number(ProtoAdapter.STRING.decode(reader)); break;
      default: {
        FieldEncoding fieldEncoding = reader.peekFieldEncoding();
        Object value = fieldEncoding.rawProtoAdapter().decode(reader);
        builder.addUnknownField(tag, fieldEncoding, value);
      }
    }
  }
  reader.endMessage(token);
  return builder.build();
}
项目:SVGAPlayer-Android    文件:Layout.java   
@Override
public Layout decode(ProtoReader reader) throws IOException {
  Builder builder = new Builder();
  long token = reader.beginMessage();
  for (int tag; (tag = reader.nextTag()) != -1;) {
    switch (tag) {
      case 1: builder.x(ProtoAdapter.FLOAT.decode(reader)); break;
      case 2: builder.y(ProtoAdapter.FLOAT.decode(reader)); break;
      case 3: builder.width(ProtoAdapter.FLOAT.decode(reader)); break;
      case 4: builder.height(ProtoAdapter.FLOAT.decode(reader)); break;
      default: {
        FieldEncoding fieldEncoding = reader.peekFieldEncoding();
        Object value = fieldEncoding.rawProtoAdapter().decode(reader);
        builder.addUnknownField(tag, fieldEncoding, value);
      }
    }
  }
  reader.endMessage(token);
  return builder.build();
}
项目:SVGAPlayer-Android    文件:ShapeEntity.java   
@Override
public ShapeArgs decode(ProtoReader reader) throws IOException {
  Builder builder = new Builder();
  long token = reader.beginMessage();
  for (int tag; (tag = reader.nextTag()) != -1;) {
    switch (tag) {
      case 1: builder.d(ProtoAdapter.STRING.decode(reader)); break;
      default: {
        FieldEncoding fieldEncoding = reader.peekFieldEncoding();
        Object value = fieldEncoding.rawProtoAdapter().decode(reader);
        builder.addUnknownField(tag, fieldEncoding, value);
      }
    }
  }
  reader.endMessage(token);
  return builder.build();
}
项目:SVGAPlayer-Android    文件:ShapeEntity.java   
@Override
public RectArgs decode(ProtoReader reader) throws IOException {
  Builder builder = new Builder();
  long token = reader.beginMessage();
  for (int tag; (tag = reader.nextTag()) != -1;) {
    switch (tag) {
      case 1: builder.x(ProtoAdapter.FLOAT.decode(reader)); break;
      case 2: builder.y(ProtoAdapter.FLOAT.decode(reader)); break;
      case 3: builder.width(ProtoAdapter.FLOAT.decode(reader)); break;
      case 4: builder.height(ProtoAdapter.FLOAT.decode(reader)); break;
      case 5: builder.cornerRadius(ProtoAdapter.FLOAT.decode(reader)); break;
      default: {
        FieldEncoding fieldEncoding = reader.peekFieldEncoding();
        Object value = fieldEncoding.rawProtoAdapter().decode(reader);
        builder.addUnknownField(tag, fieldEncoding, value);
      }
    }
  }
  reader.endMessage(token);
  return builder.build();
}
项目:SVGAPlayer-Android    文件:ShapeEntity.java   
@Override
public EllipseArgs decode(ProtoReader reader) throws IOException {
  Builder builder = new Builder();
  long token = reader.beginMessage();
  for (int tag; (tag = reader.nextTag()) != -1;) {
    switch (tag) {
      case 1: builder.x(ProtoAdapter.FLOAT.decode(reader)); break;
      case 2: builder.y(ProtoAdapter.FLOAT.decode(reader)); break;
      case 3: builder.radiusX(ProtoAdapter.FLOAT.decode(reader)); break;
      case 4: builder.radiusY(ProtoAdapter.FLOAT.decode(reader)); break;
      default: {
        FieldEncoding fieldEncoding = reader.peekFieldEncoding();
        Object value = fieldEncoding.rawProtoAdapter().decode(reader);
        builder.addUnknownField(tag, fieldEncoding, value);
      }
    }
  }
  reader.endMessage(token);
  return builder.build();
}
项目:SVGAPlayer-Android    文件:ShapeEntity.java   
@Override
public boolean equals(Object other) {
  if (other == this) return true;
  if (!(other instanceof ShapeStyle)) return false;
  ShapeStyle o = (ShapeStyle) other;
  return unknownFields().equals(o.unknownFields())
      && Internal.equals(fill, o.fill)
      && Internal.equals(stroke, o.stroke)
      && Internal.equals(strokeWidth, o.strokeWidth)
      && Internal.equals(lineCap, o.lineCap)
      && Internal.equals(lineJoin, o.lineJoin)
      && Internal.equals(miterLimit, o.miterLimit)
      && Internal.equals(lineDashI, o.lineDashI)
      && Internal.equals(lineDashII, o.lineDashII)
      && Internal.equals(lineDashIII, o.lineDashIII);
}
项目:openjdk-jdk10    文件:StreamZipEntriesTest.java   
@Test
public void testStreamZip() throws IOException {
    try (ZipFile zf = new ZipFile(new File(System.getProperty("test.src", "."), "input.zip"))) {
        zf.stream().forEach(e -> assertTrue(e instanceof ZipEntry));
        zf.stream().forEach(e -> assertEquals(e.toString(), "ReadZip.java"));

        Object elements[] = zf.stream().toArray();
        assertEquals(1, elements.length);
        assertEquals(elements[0].toString(), "ReadZip.java");
    }
}
项目:SVGAPlayer-Android    文件:SpriteEntity.java   
@Override
public SpriteEntity decode(ProtoReader reader) throws IOException {
  Builder builder = new Builder();
  long token = reader.beginMessage();
  for (int tag; (tag = reader.nextTag()) != -1;) {
    switch (tag) {
      case 1: builder.imageKey(ProtoAdapter.STRING.decode(reader)); break;
      case 2: builder.frames.add(FrameEntity.ADAPTER.decode(reader)); break;
      default: {
        FieldEncoding fieldEncoding = reader.peekFieldEncoding();
        Object value = fieldEncoding.rawProtoAdapter().decode(reader);
        builder.addUnknownField(tag, fieldEncoding, value);
      }
    }
  }
  reader.endMessage(token);
  return builder.build();
}
项目:nightclazz-graphql    文件:AntennaFields.java   
@Override
public boolean equals(Object o) {
  if (o == this) {
    return true;
  }
  if (o instanceof AntennaFields) {
    AntennaFields that = (AntennaFields) o;
    return this.__typename.equals(that.__typename)
     && ((this.coordinates == null) ? (that.coordinates == null) : this.coordinates.equals(that.coordinates))
     && ((this.generation == null) ? (that.generation == null) : this.generation.equals(that.generation))
     && ((this.provider == null) ? (that.provider == null) : this.provider.equals(that.provider))
     && ((this.lastUpdate == null) ? (that.lastUpdate == null) : this.lastUpdate.equals(that.lastUpdate))
     && ((this.status == null) ? (that.status == null) : this.status.equals(that.status))
     && ((this.dist == null) ? (that.dist == null) : this.dist.equals(that.dist))
     && ((this.insee == null) ? (that.insee == null) : this.insee.equals(that.insee))
     && ((this.city == null) ? (that.city == null) : this.city.equals(that.city))
     && ((this.addressLabel == null) ? (that.addressLabel == null) : this.addressLabel.equals(that.addressLabel));
  }
  return false;
}
项目:nightclazz-graphql    文件:SearchQuery.java   
@Override
public boolean equals(Object o) {
  if (o == this) {
    return true;
  }
  if (o instanceof NearestAntennaFromBouygues) {
    NearestAntennaFromBouygues that = (NearestAntennaFromBouygues) o;
    return this.__typename.equals(that.__typename)
     && ((this.coordinates == null) ? (that.coordinates == null) : this.coordinates.equals(that.coordinates))
     && ((this.generation == null) ? (that.generation == null) : this.generation.equals(that.generation))
     && ((this.provider == null) ? (that.provider == null) : this.provider.equals(that.provider))
     && ((this.lastUpdate == null) ? (that.lastUpdate == null) : this.lastUpdate.equals(that.lastUpdate))
     && ((this.status == null) ? (that.status == null) : this.status.equals(that.status))
     && ((this.dist == null) ? (that.dist == null) : this.dist.equals(that.dist))
     && ((this.insee == null) ? (that.insee == null) : this.insee.equals(that.insee))
     && ((this.city == null) ? (that.city == null) : this.city.equals(that.city))
     && ((this.addressLabel == null) ? (that.addressLabel == null) : this.addressLabel.equals(that.addressLabel))
     && this.fragments.equals(that.fragments);
  }
  return false;
}
项目:nightclazz-graphql    文件:SearchQuery.java   
@Override
public boolean equals(Object o) {
  if (o == this) {
    return true;
  }
  if (o instanceof NearestAntennaFromFree) {
    NearestAntennaFromFree that = (NearestAntennaFromFree) o;
    return this.__typename.equals(that.__typename)
     && ((this.coordinates == null) ? (that.coordinates == null) : this.coordinates.equals(that.coordinates))
     && ((this.generation == null) ? (that.generation == null) : this.generation.equals(that.generation))
     && ((this.provider == null) ? (that.provider == null) : this.provider.equals(that.provider))
     && ((this.lastUpdate == null) ? (that.lastUpdate == null) : this.lastUpdate.equals(that.lastUpdate))
     && ((this.status == null) ? (that.status == null) : this.status.equals(that.status))
     && ((this.dist == null) ? (that.dist == null) : this.dist.equals(that.dist))
     && ((this.insee == null) ? (that.insee == null) : this.insee.equals(that.insee))
     && ((this.city == null) ? (that.city == null) : this.city.equals(that.city))
     && ((this.addressLabel == null) ? (that.addressLabel == null) : this.addressLabel.equals(that.addressLabel))
     && this.fragments.equals(that.fragments);
  }
  return false;
}
项目:nightclazz-graphql    文件:SearchQuery.java   
@Override
public boolean equals(Object o) {
  if (o == this) {
    return true;
  }
  if (o instanceof NearestAntennaFromSfr3) {
    NearestAntennaFromSfr3 that = (NearestAntennaFromSfr3) o;
    return this.__typename.equals(that.__typename)
     && ((this.coordinates == null) ? (that.coordinates == null) : this.coordinates.equals(that.coordinates))
     && ((this.generation == null) ? (that.generation == null) : this.generation.equals(that.generation))
     && ((this.provider == null) ? (that.provider == null) : this.provider.equals(that.provider))
     && ((this.lastUpdate == null) ? (that.lastUpdate == null) : this.lastUpdate.equals(that.lastUpdate))
     && ((this.status == null) ? (that.status == null) : this.status.equals(that.status))
     && ((this.dist == null) ? (that.dist == null) : this.dist.equals(that.dist))
     && ((this.insee == null) ? (that.insee == null) : this.insee.equals(that.insee))
     && ((this.city == null) ? (that.city == null) : this.city.equals(that.city))
     && ((this.addressLabel == null) ? (that.addressLabel == null) : this.addressLabel.equals(that.addressLabel))
     && this.fragments.equals(that.fragments);
  }
  return false;
}
项目:nightclazz-graphql    文件:SearchQuery.java   
@Override
public boolean equals(Object o) {
  if (o == this) {
    return true;
  }
  if (o instanceof NearestAntennaFromSfr1) {
    NearestAntennaFromSfr1 that = (NearestAntennaFromSfr1) o;
    return this.__typename.equals(that.__typename)
     && ((this.coordinates == null) ? (that.coordinates == null) : this.coordinates.equals(that.coordinates))
     && ((this.generation == null) ? (that.generation == null) : this.generation.equals(that.generation))
     && ((this.provider == null) ? (that.provider == null) : this.provider.equals(that.provider))
     && ((this.lastUpdate == null) ? (that.lastUpdate == null) : this.lastUpdate.equals(that.lastUpdate))
     && ((this.status == null) ? (that.status == null) : this.status.equals(that.status))
     && ((this.dist == null) ? (that.dist == null) : this.dist.equals(that.dist))
     && ((this.insee == null) ? (that.insee == null) : this.insee.equals(that.insee))
     && ((this.city == null) ? (that.city == null) : this.city.equals(that.city))
     && ((this.addressLabel == null) ? (that.addressLabel == null) : this.addressLabel.equals(that.addressLabel))
     && this.fragments.equals(that.fragments);
  }
  return false;
}
项目:nightclazz-graphql    文件:SearchQuery.java   
@Override
public boolean equals(Object o) {
  if (o == this) {
    return true;
  }
  if (o instanceof NearestAntennaFromFree1) {
    NearestAntennaFromFree1 that = (NearestAntennaFromFree1) o;
    return this.__typename.equals(that.__typename)
     && ((this.coordinates == null) ? (that.coordinates == null) : this.coordinates.equals(that.coordinates))
     && ((this.generation == null) ? (that.generation == null) : this.generation.equals(that.generation))
     && ((this.provider == null) ? (that.provider == null) : this.provider.equals(that.provider))
     && ((this.lastUpdate == null) ? (that.lastUpdate == null) : this.lastUpdate.equals(that.lastUpdate))
     && ((this.status == null) ? (that.status == null) : this.status.equals(that.status))
     && ((this.dist == null) ? (that.dist == null) : this.dist.equals(that.dist))
     && ((this.insee == null) ? (that.insee == null) : this.insee.equals(that.insee))
     && ((this.city == null) ? (that.city == null) : this.city.equals(that.city))
     && ((this.addressLabel == null) ? (that.addressLabel == null) : this.addressLabel.equals(that.addressLabel))
     && this.fragments.equals(that.fragments);
  }
  return false;
}
项目:nightclazz-graphql    文件:SearchQuery.java   
@Override
public boolean equals(Object o) {
  if (o == this) {
    return true;
  }
  if (o instanceof AsCity) {
    AsCity that = (AsCity) o;
    return this.__typename.equals(that.__typename)
     && ((this.city == null) ? (that.city == null) : this.city.equals(that.city))
     && ((this.zipCode == null) ? (that.zipCode == null) : this.zipCode.equals(that.zipCode))
     && ((this.nearestAntennaFromOrange == null) ? (that.nearestAntennaFromOrange == null) : this.nearestAntennaFromOrange.equals(that.nearestAntennaFromOrange))
     && ((this.nearestAntennaFromBouygues == null) ? (that.nearestAntennaFromBouygues == null) : this.nearestAntennaFromBouygues.equals(that.nearestAntennaFromBouygues))
     && ((this.nearestAntennaFromSfr == null) ? (that.nearestAntennaFromSfr == null) : this.nearestAntennaFromSfr.equals(that.nearestAntennaFromSfr))
     && ((this.nearestAntennaFromFree == null) ? (that.nearestAntennaFromFree == null) : this.nearestAntennaFromFree.equals(that.nearestAntennaFromFree));
  }
  return false;
}
项目:nightclazz-graphql    文件:SearchQuery.java   
@Override
public boolean equals(Object o) {
  if (o == this) {
    return true;
  }
  if (o instanceof NearestAntennaFromOrange2) {
    NearestAntennaFromOrange2 that = (NearestAntennaFromOrange2) o;
    return this.__typename.equals(that.__typename)
     && ((this.coordinates == null) ? (that.coordinates == null) : this.coordinates.equals(that.coordinates))
     && ((this.generation == null) ? (that.generation == null) : this.generation.equals(that.generation))
     && ((this.provider == null) ? (that.provider == null) : this.provider.equals(that.provider))
     && ((this.lastUpdate == null) ? (that.lastUpdate == null) : this.lastUpdate.equals(that.lastUpdate))
     && ((this.status == null) ? (that.status == null) : this.status.equals(that.status))
     && ((this.dist == null) ? (that.dist == null) : this.dist.equals(that.dist))
     && ((this.insee == null) ? (that.insee == null) : this.insee.equals(that.insee))
     && ((this.city == null) ? (that.city == null) : this.city.equals(that.city))
     && ((this.addressLabel == null) ? (that.addressLabel == null) : this.addressLabel.equals(that.addressLabel))
     && this.fragments.equals(that.fragments);
  }
  return false;
}
项目:nightclazz-graphql    文件:SearchQuery.java   
@Override
public boolean equals(Object o) {
  if (o == this) {
    return true;
  }
  if (o instanceof NearestAntennaFromFree3) {
    NearestAntennaFromFree3 that = (NearestAntennaFromFree3) o;
    return this.__typename.equals(that.__typename)
     && ((this.coordinates == null) ? (that.coordinates == null) : this.coordinates.equals(that.coordinates))
     && ((this.generation == null) ? (that.generation == null) : this.generation.equals(that.generation))
     && ((this.provider == null) ? (that.provider == null) : this.provider.equals(that.provider))
     && ((this.lastUpdate == null) ? (that.lastUpdate == null) : this.lastUpdate.equals(that.lastUpdate))
     && ((this.status == null) ? (that.status == null) : this.status.equals(that.status))
     && ((this.dist == null) ? (that.dist == null) : this.dist.equals(that.dist))
     && ((this.insee == null) ? (that.insee == null) : this.insee.equals(that.insee))
     && ((this.city == null) ? (that.city == null) : this.city.equals(that.city))
     && ((this.addressLabel == null) ? (that.addressLabel == null) : this.addressLabel.equals(that.addressLabel))
     && this.fragments.equals(that.fragments);
  }
  return false;
}
项目:nightclazz-graphql    文件:SearchQuery.java   
@Override
public boolean equals(Object o) {
  if (o == this) {
    return true;
  }
  if (o instanceof NearestAntennaFromFree2) {
    NearestAntennaFromFree2 that = (NearestAntennaFromFree2) o;
    return this.__typename.equals(that.__typename)
     && ((this.coordinates == null) ? (that.coordinates == null) : this.coordinates.equals(that.coordinates))
     && ((this.generation == null) ? (that.generation == null) : this.generation.equals(that.generation))
     && ((this.provider == null) ? (that.provider == null) : this.provider.equals(that.provider))
     && ((this.lastUpdate == null) ? (that.lastUpdate == null) : this.lastUpdate.equals(that.lastUpdate))
     && ((this.status == null) ? (that.status == null) : this.status.equals(that.status))
     && ((this.dist == null) ? (that.dist == null) : this.dist.equals(that.dist))
     && ((this.insee == null) ? (that.insee == null) : this.insee.equals(that.insee))
     && ((this.city == null) ? (that.city == null) : this.city.equals(that.city))
     && ((this.addressLabel == null) ? (that.addressLabel == null) : this.addressLabel.equals(that.addressLabel))
     && this.fragments.equals(that.fragments);
  }
  return false;
}
项目:nightclazz-graphql    文件:SearchQuery.java   
@Override
public boolean equals(Object o) {
  if (o == this) {
    return true;
  }
  if (o instanceof NearestAntennaFromBouygues3) {
    NearestAntennaFromBouygues3 that = (NearestAntennaFromBouygues3) o;
    return this.__typename.equals(that.__typename)
     && ((this.coordinates == null) ? (that.coordinates == null) : this.coordinates.equals(that.coordinates))
     && ((this.generation == null) ? (that.generation == null) : this.generation.equals(that.generation))
     && ((this.provider == null) ? (that.provider == null) : this.provider.equals(that.provider))
     && ((this.lastUpdate == null) ? (that.lastUpdate == null) : this.lastUpdate.equals(that.lastUpdate))
     && ((this.status == null) ? (that.status == null) : this.status.equals(that.status))
     && ((this.dist == null) ? (that.dist == null) : this.dist.equals(that.dist))
     && ((this.insee == null) ? (that.insee == null) : this.insee.equals(that.insee))
     && ((this.city == null) ? (that.city == null) : this.city.equals(that.city))
     && ((this.addressLabel == null) ? (that.addressLabel == null) : this.addressLabel.equals(that.addressLabel))
     && this.fragments.equals(that.fragments);
  }
  return false;
}
项目:GitHub    文件:Phone.java   
@Override
public boolean equals(Object other) {
  if (other == this) return true;
  if (!(other instanceof Phone)) return false;
  Phone o = (Phone) other;
  return Internal.equals(unknownFields(), o.unknownFields())
      && Internal.equals(number, o.number);
}
项目:dataenum    文件:PrimitiveValue.java   
@Override
public boolean equals(Object other) {
  if (other == this) return true;
  if (!(other instanceof Value)) return false;
  Value o = (Value) other;
  return o.param1 == param1
      && o.param2 == param2
      && o.param3 == param3
      && o.param4 == param4;
}
项目:auto-value-variant    文件:ModelDummyGroup.java   
@Override
public final boolean like(Object other, String group) {
    return group != null
            && other != null
            && other instanceof ModelDummyGroup
            && groupFieldsEqual((ModelDummyGroup) other, group)
            && !equals(other);
}
项目:dataenum    文件:InPackage.java   
@Override
public boolean equals(Object other) {
  if (other == this) return true;
  if (!(other instanceof Value1)) return false;
  Value1 o = (Value1) other;
  return o.param1 == param1
      && o.param2 == param2;
}
项目:dataenum    文件:RecursiveGenericValue.java   
@Override
public boolean equals(Object other) {
  if (other == this) return true;
  if (!(other instanceof Branch)) return false;
  Branch<?, ?> o = (Branch<?, ?>) other;
  return o.left.equals(this.left)
      && o.right.equals(this.right);
}
项目:mp4parser_android    文件:ProtectionSpecificHeader.java   
@Override
public boolean equals(Object obj) {
    if (obj instanceof ProtectionSpecificHeader) {
        if (this.getClass().equals(obj.getClass())) {
            return data.equals(((ProtectionSpecificHeader) obj).data);
        }
    }
    return false;
}
项目:powsybl-core    文件:Version.java   
@Override
public boolean equals(Object obj) {
    if (obj instanceof Version) {
        Version other = (Version) obj;
        return projectVersion.equals(other.projectVersion)
                && gitVersion.equals(other.gitVersion)
                && gitBranch.equals(other.gitBranch)
                && buildTimestamp == other.buildTimestamp;
    }
    return false;
}
项目:dataenum    文件:GenericValues.java   
@Override
public boolean equals(Object other) {
  if (other == this) return true;
  if (!(other instanceof Right)) return false;
  Right<?> o = (Right<?>) other;
  return o.error.equals(this.error);
}
项目:dataenum    文件:RecursiveGenericValue.java   
@Override
public boolean equals(Object other) {
  if (other == this) return true;
  if (!(other instanceof Right)) return false;
  Right<?> o = (Right<?>) other;
  return o.value.equals(this.value);
}
项目:SVGAPlayer-Android    文件:MovieParams.java   
@Override
public boolean equals(Object other) {
  if (other == this) return true;
  if (!(other instanceof MovieParams)) return false;
  MovieParams o = (MovieParams) other;
  return unknownFields().equals(o.unknownFields())
      && Internal.equals(viewBoxWidth, o.viewBoxWidth)
      && Internal.equals(viewBoxHeight, o.viewBoxHeight)
      && Internal.equals(fps, o.fps)
      && Internal.equals(frames, o.frames);
}
项目:SVGAPlayer-Android    文件:Layout.java   
@Override
public boolean equals(Object other) {
  if (other == this) return true;
  if (!(other instanceof Layout)) return false;
  Layout o = (Layout) other;
  return unknownFields().equals(o.unknownFields())
      && Internal.equals(x, o.x)
      && Internal.equals(y, o.y)
      && Internal.equals(width, o.width)
      && Internal.equals(height, o.height);
}
项目:SVGAPlayer-Android    文件:ShapeEntity.java   
@Override
public boolean equals(Object other) {
  if (other == this) return true;
  if (!(other instanceof ShapeEntity)) return false;
  ShapeEntity o = (ShapeEntity) other;
  return unknownFields().equals(o.unknownFields())
      && Internal.equals(type, o.type)
      && Internal.equals(styles, o.styles)
      && Internal.equals(transform, o.transform)
      && Internal.equals(shape, o.shape)
      && Internal.equals(rect, o.rect)
      && Internal.equals(ellipse, o.ellipse);
}
项目:SVGAPlayer-Android    文件:ShapeEntity.java   
@Override
public boolean equals(Object other) {
  if (other == this) return true;
  if (!(other instanceof ShapeArgs)) return false;
  ShapeArgs o = (ShapeArgs) other;
  return unknownFields().equals(o.unknownFields())
      && Internal.equals(d, o.d);
}
项目:nightclazz-graphql    文件:SearchQuery.java   
@Override
public boolean equals(Object o) {
  if (o == this) {
    return true;
  }
  if (o instanceof Fragments) {
    Fragments that = (Fragments) o;
    return this.antennaFields.equals(that.antennaFields);
  }
  return false;
}
项目:SVGAPlayer-Android    文件:ShapeEntity.java   
@Override
public boolean equals(Object other) {
  if (other == this) return true;
  if (!(other instanceof EllipseArgs)) return false;
  EllipseArgs o = (EllipseArgs) other;
  return unknownFields().equals(o.unknownFields())
      && Internal.equals(x, o.x)
      && Internal.equals(y, o.y)
      && Internal.equals(radiusX, o.radiusX)
      && Internal.equals(radiusY, o.radiusY);
}
项目:SVGAPlayer-Android    文件:ShapeEntity.java   
@Override
public boolean equals(Object other) {
  if (other == this) return true;
  if (!(other instanceof RGBAColor)) return false;
  RGBAColor o = (RGBAColor) other;
  return unknownFields().equals(o.unknownFields())
      && Internal.equals(r, o.r)
      && Internal.equals(g, o.g)
      && Internal.equals(b, o.b)
      && Internal.equals(a, o.a);
}
项目:SVGAPlayer-Android    文件:MovieEntity.java   
@Override
public boolean equals(Object other) {
  if (other == this) return true;
  if (!(other instanceof MovieEntity)) return false;
  MovieEntity o = (MovieEntity) other;
  return unknownFields().equals(o.unknownFields())
      && Internal.equals(version, o.version)
      && Internal.equals(params, o.params)
      && images.equals(o.images)
      && sprites.equals(o.sprites);
}
项目:SVGAPlayer-Android    文件:SpriteEntity.java   
@Override
public boolean equals(Object other) {
  if (other == this) return true;
  if (!(other instanceof SpriteEntity)) return false;
  SpriteEntity o = (SpriteEntity) other;
  return unknownFields().equals(o.unknownFields())
      && Internal.equals(imageKey, o.imageKey)
      && frames.equals(o.frames);
}
项目:nightclazz-graphql    文件:SearchQuery.java   
@Override
public boolean equals(Object o) {
  if (o == this) {
    return true;
  }
  if (o instanceof Fragments) {
    Fragments that = (Fragments) o;
    return this.antennaFields.equals(that.antennaFields);
  }
  return false;
}
项目:a6y-server    文件:Action.java   
private org.antology.db.Node jsToNode(Object object) throws Exception {
    if (object instanceof ScriptObjectMirror) {
        ScriptObjectMirror mirror = (ScriptObjectMirror) object;

        if (mirror.isArray()) {
            List<org.antology.db.Node> list = new LinkedList<>();
            for (int i = 0; i < mirror.size(); i++) {
                list.add(jsToNode(mirror.get(Integer.toString(i))));
            }
            return new Node(Schema.Type.LIST, list);
        } else {
            Map<String, org.antology.db.Node> struct = new HashMap<>();
            for (String key : mirror.getOwnKeys(false)) {
                java.lang.Object value = mirror.get(key);
                struct.put(key, jsToNode(value));
            }
            return new Node(Schema.Type.STRUCT, struct);
        }
    } else if (object instanceof String) {
        return new Node(Schema.Type.STRING, object);
    } else if (object instanceof Integer) {
        return new Node(Schema.Type.INTEGER, object);
    } else if (object instanceof Double) {
        return new Node(Schema.Type.FLOAT, object);
    } else if (object instanceof Boolean) {
        return new Node(Schema.Type.BOOLEAN, object);
    } else {
        throw new Exception("Unknown type " + object.getClass().getName());
    }
}