public boolean sameJSONFormat ( JSONFormat jf ) { Map < String , String > featLinks = new HashMap <> ( ) ; if ( ! this . name . equals ( jf . name ) || ! this . creator . equals ( jf . creator ) || ! this . license . equals ( jf . license ) || ! this . source . equals ( jf . source ) ) { return false ; } else if ( ! this . sameFeatures ( jf , featLinks ) ) { System . out . println ( "\nDifferences in features" ) ; return false ; } else if ( ! this . sameProducts ( jf , featLinks , false ) ) { System . out . println ( "\nDifferences in products" ) ; return false ; } return true ; }
Checks if the JSONFormat in parameter is the same as this omitting ids and jcell . jvalue . value content