aboutsummaryrefslogtreecommitdiffstats
path: root/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LongAdder.java
diff options
context:
space:
mode:
Diffstat (limited to 'guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LongAdder.java')
-rw-r--r--guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LongAdder.java40
1 files changed, 0 insertions, 40 deletions
diff --git a/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LongAdder.java b/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LongAdder.java
deleted file mode 100644
index 34b6f37..0000000
--- a/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LongAdder.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2012 The Guava Authors
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.google.common.cache;
-
-/**
- * GWT emulated version of LongAdder.
- *
- * @author Charles Fry
- */
-class LongAdder implements LongAddable {
-
- private long value;
-
- public void increment() {
- value++;
- }
-
- public void add(long x) {
- value += x;
- }
-
- public long sum() {
- return value;
- }
-
-}