DiscreteDomain.java
2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
package com.google.common.collect;
import com.google.common.annotations.Beta;
import com.google.common.annotations.GwtCompatible;
import java.io.Serializable;
import java.math.BigInteger;
import java.util.NoSuchElementException;
@Beta
@GwtCompatible
public abstract class DiscreteDomain<C extends Comparable>
{
public static DiscreteDomain<BigInteger> bigIntegers()
{
return a.a();
}
public static DiscreteDomain<Integer> integers()
{
return b.a();
}
public static DiscreteDomain<Long> longs()
{
return c.a();
}
public abstract long distance(C paramC1, C paramC2);
public C maxValue()
{
throw new NoSuchElementException();
}
public C minValue()
{
throw new NoSuchElementException();
}
public abstract C next(C paramC);
public abstract C previous(C paramC);
static final class a
extends DiscreteDomain<BigInteger>
implements Serializable
{
private static final a a = new a();
private static final BigInteger b = BigInteger.valueOf(Long.MIN_VALUE);
private static final BigInteger c = BigInteger.valueOf(Long.MAX_VALUE);
private static final long serialVersionUID = 0L;
private Object readResolve()
{
return a;
}
public final String toString()
{
return "DiscreteDomain.bigIntegers()";
}
}
static final class b
extends DiscreteDomain<Integer>
implements Serializable
{
private static final b a = new b();
private static final long serialVersionUID = 0L;
private Object readResolve()
{
return a;
}
public final String toString()
{
return "DiscreteDomain.integers()";
}
}
static final class c
extends DiscreteDomain<Long>
implements Serializable
{
private static final c a = new c();
private static final long serialVersionUID = 0L;
private Object readResolve()
{
return a;
}
public final String toString()
{
return "DiscreteDomain.longs()";
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/google/common/collect/DiscreteDomain.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/