public boolean equals()

in src/org/jetbrains/plugins/ipnb/format/IpnbFile.java [54:67]


  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    IpnbFile file = (IpnbFile)o;

    if (myNbformat != file.myNbformat) return false;
    if (myNbFormatMinor != file.myNbFormatMinor) return false;
    if (myMetadata != null ? !myMetadata.equals(file.myMetadata) : file.myMetadata != null) return false;
    if (myCells != null ? !myCells.equals(file.myCells) : file.myCells != null) return false;
    if (!myPath.equals(file.myPath)) return false;

    return true;
  }