-
-
Save florina-muntenescu/29853fed024706ddcb17695bdbb121d6 to your computer and use it in GitHub Desktop.
Inline classes - equality
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Copyright 2019 Google LLC. | |
SPDX-License-Identifier: Apache-2.0 */ | |
public final class DoggoId implements Id { | |
public static boolean equals_impl/* $FF was: equals-impl*/(long var0, @Nullable Object var2) { | |
if (var2 instanceof DoggoId) { | |
long var3 = ((DoggoId)var2).unbox-impl(); | |
if (var0 == var3) { | |
return true; | |
} | |
} | |
return false; | |
} | |
public static final boolean equals_impl0/* $FF was: equals-impl0*/(long p1, long p2) { | |
return p1 == p2; | |
} | |
public boolean equals(Object var1) { | |
return equals-impl(this.id, var1); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment