From 39e85382d5c6ba92164e92dcebb0de1e4a4dfbf1 Mon Sep 17 00:00:00 2001 From: Tobias Thierer Date: Wed, 25 Oct 2017 00:58:05 +0100 Subject: Move Mutable{Int,Long} from libcore to framework. No libcore dependencies on these classes remain, so they can now move to framework which already has all of the other classes from android.util. After this CL topic, libcore and framework no longer have any classes from the same package. Bug: 67901714 Test: make droid Test: Treehugger (cherry picked from commit 232f1eb387649e65008b88f86b81e5667321a735) Change-Id: I65871516b762d8a53ebe01697e4d92f94903bfd3 Merged-In: I65871516b762d8a53ebe01697e4d92f94903bfd3 --- core/java/android/util/MutableLong.java | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 core/java/android/util/MutableLong.java (limited to 'core/java/android/util/MutableLong.java') diff --git a/core/java/android/util/MutableLong.java b/core/java/android/util/MutableLong.java new file mode 100644 index 000000000000..575068ea9364 --- /dev/null +++ b/core/java/android/util/MutableLong.java @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2011 The Android Open Source Project + * + * 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 android.util; + +/** + */ +public final class MutableLong { + public long value; + + public MutableLong(long value) { + this.value = value; + } +} -- cgit v1.2.3