aboutsummaryrefslogtreecommitdiff
path: root/usage_examples
diff options
context:
space:
mode:
Diffstat (limited to 'usage_examples')
-rw-r--r--usage_examples/experimental/ValueExample_post.jpage20
1 files changed, 0 insertions, 20 deletions
diff --git a/usage_examples/experimental/ValueExample_post.jpage b/usage_examples/experimental/ValueExample_post.jpage
index 47de72a5..ac9b64d1 100644
--- a/usage_examples/experimental/ValueExample_post.jpage
+++ b/usage_examples/experimental/ValueExample_post.jpage
@@ -30,18 +30,6 @@ public final class ValueExample {
return this.tags;
}
- public ValueExample withName(String name) {
- return this.name == name ? this : new ValueExample(name, age, score, tags);
- }
-
- public ValueExample withScore(double score) {
- return this.score == score ? this : new ValueExample(name, age, score, tags);
- }
-
- public ValueExample withTags(String[] tags) {
- return this.tags == tags ? this : new ValueExample(name, age, score, tags);
- }
-
@java.lang.Override
public boolean equals(Object o) {
if (o == this) return true;
@@ -99,14 +87,6 @@ public final class ValueExample {
return this.value;
}
- public Exercise<T> withName(String name) {
- return this.name == name ? this : new Exercise<T>(name, value);
- }
-
- public Exercise<T> withValue(T value) {
- return this.value == value ? this : new Exercise<T>(name, value);
- }
-
@java.lang.Override
public boolean equals(Object o) {
if (o == this) return true;