aboutsummaryrefslogtreecommitdiffstats
path: root/guava/src/com/google/common/collect/BoundType.java
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2015-01-19 12:46:40 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-19 12:46:40 +0000
commitaab56800fcb95e9b1a2d653588b14158080cc6b4 (patch)
tree7365392c3ea77742021cf187acfd465f9bb774ab /guava/src/com/google/common/collect/BoundType.java
parent6fa98dbaae182b511fbeb331e08f5fb827715ea8 (diff)
parent84fb43aa6a1e752487f2624055ff26b1b6b7c043 (diff)
downloadandroid_external_guava-aab56800fcb95e9b1a2d653588b14158080cc6b4.tar.gz
android_external_guava-aab56800fcb95e9b1a2d653588b14158080cc6b4.tar.bz2
android_external_guava-aab56800fcb95e9b1a2d653588b14158080cc6b4.zip
am 84fb43aa: Merge "Revert "Upgraded Guava to unmodified v14.0.1""
* commit '84fb43aa6a1e752487f2624055ff26b1b6b7c043': Revert "Upgraded Guava to unmodified v14.0.1"
Diffstat (limited to 'guava/src/com/google/common/collect/BoundType.java')
-rw-r--r--guava/src/com/google/common/collect/BoundType.java19
1 files changed, 5 insertions, 14 deletions
diff --git a/guava/src/com/google/common/collect/BoundType.java b/guava/src/com/google/common/collect/BoundType.java
index 7b8f34b..3632b32 100644
--- a/guava/src/com/google/common/collect/BoundType.java
+++ b/guava/src/com/google/common/collect/BoundType.java
@@ -14,6 +14,7 @@
package com.google.common.collect;
+import com.google.common.annotations.Beta;
import com.google.common.annotations.GwtCompatible;
/**
@@ -23,26 +24,18 @@ import com.google.common.annotations.GwtCompatible;
*
* @since 10.0
*/
+@Beta
@GwtCompatible
public enum BoundType {
/**
* The endpoint value <i>is not</i> considered part of the set ("exclusive").
*/
- OPEN {
- @Override
- BoundType flip() {
- return CLOSED;
- }
- },
+ OPEN,
+
/**
* The endpoint value <i>is</i> considered part of the set ("inclusive").
*/
- CLOSED {
- @Override
- BoundType flip() {
- return OPEN;
- }
- };
+ CLOSED;
/**
* Returns the bound type corresponding to a boolean value for inclusivity.
@@ -50,6 +43,4 @@ public enum BoundType {
static BoundType forBoolean(boolean inclusive) {
return inclusive ? CLOSED : OPEN;
}
-
- abstract BoundType flip();
}