Skip to content

Commit

Permalink
Add new example for generate equals() and hashCode()
Browse files Browse the repository at this point in the history
  • Loading branch information
mlvandijk committed Aug 27, 2024
1 parent c22df45 commit 9044067
Showing 1 changed file with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package com.jetbrains.generation;

import java.util.List;

public class CodeGeneration {

int age;
List<String> names;

public int getAge() {
return age;
}

public void setAge(int age) {
this.age = age;
}

public List<String> getNames() {
return names;
}

public void setNames(List<String> names) {
this.names = names;
}

}

0 comments on commit 9044067

Please sign in to comment.