diff options
author | Harald Musum <musum@yahoo-inc.com> | 2018-02-21 23:43:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-21 23:43:02 +0100 |
commit | fdff142dab4a75ace0623c2c8bf513a0a4597aca (patch) | |
tree | 0101a275869dd270a1609d1199381e0137e5d1f6 /vespajlib/src/main/java/com/yahoo/lang/MutableLong.java | |
parent | 2238f0d8d3b8a07e5e9d0ce1a01fc7f3e149cece (diff) |
Revert "Bratseth/typecheck all 3"
Diffstat (limited to 'vespajlib/src/main/java/com/yahoo/lang/MutableLong.java')
-rw-r--r-- | vespajlib/src/main/java/com/yahoo/lang/MutableLong.java | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/vespajlib/src/main/java/com/yahoo/lang/MutableLong.java b/vespajlib/src/main/java/com/yahoo/lang/MutableLong.java deleted file mode 100644 index e0e4a0828a9..00000000000 --- a/vespajlib/src/main/java/com/yahoo/lang/MutableLong.java +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -package com.yahoo.lang; - -/** - * A mutable long - * - * @author bratseth - */ -public class MutableLong { - - private long value; - - public MutableLong(long value) { - this.value = value; - } - - public long get() { return value; } - - public void set(long value) { this.value = value; } - - /** Adds the increment to the current value and returns the resulting value */ - public long add(long increment) { - value += increment; - return value; - } - - /** Adds the increment to the current value and returns the resulting value */ - public long subtract(long increment) { - value -= increment; - return value; - } - -} |