HomeSort by relevance Sort by last modified time
    Searched refs:ImmutableBiMap (Results 1 - 25 of 101) sorted by null

1 2 3 4 5

  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
EmptyImmutableBiMap.java 27 final class EmptyImmutableBiMap extends ImmutableBiMap<Object, Object> {
33 @Override public ImmutableBiMap<Object, Object> inverse() {
RegularImmutableBiMap.java 26 class RegularImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
30 private ImmutableBiMap<V, K> inverse;
44 ImmutableBiMap<V, K> inverse) {
49 @Override public ImmutableBiMap<V, K> inverse() {
ImmutableBiMap.java 24 * GWT emulation of {@link ImmutableBiMap}.
28 public abstract class ImmutableBiMap<K, V> extends ForwardingImmutableMap<K, V>
33 public static <K, V> ImmutableBiMap<K, V> of() {
34 return (ImmutableBiMap<K, V>) EmptyImmutableBiMap.INSTANCE;
37 public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1) {
42 public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) {
46 public static <K, V> ImmutableBiMap<K, V> of(
52 public static <K, V> ImmutableBiMap<K, V> of(
58 public static <K, V> ImmutableBiMap<K, V> of(
82 @Override public ImmutableBiMap<K, V> build()
    [all...]
SingletonImmutableBiMap.java 28 final class SingletonImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
56 public ImmutableBiMap<V, K> inverse() {
57 ImmutableBiMap<V, K> result = inverse;
ImmutableMap.java 48 return ImmutableBiMap.of();
52 return ImmutableBiMap.of(k1, v1);
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
ImmutableBiMapTest.java 23 import com.google.common.collect.ImmutableBiMap.Builder;
35 * Tests for {@link ImmutableBiMap}.
82 return ImmutableBiMap.of();
86 return ImmutableBiMap.of("one", 1, "two", 2, "three", 3);
101 return ImmutableBiMap.of();
105 return ImmutableBiMap.of(1, "one", 2, "two", 3, "three").inverse();
119 ImmutableBiMap<String, Integer> map
123 assertSame(ImmutableBiMap.of(), map);
127 ImmutableBiMap<String, Integer> map = new Builder<String, Integer>()
135 ImmutableBiMap<String, Integer> ma
    [all...]
MapsTest.java 752 new ImmutableBiMap.Builder<Integer, String>()
814 ImmutableBiMap<String, Integer> biMap = ImmutableBiMap.of(
824 ImmutableBiMap<String, Integer> biMap = ImmutableBiMap.of(
834 ImmutableBiMap<String, Integer> biMap = ImmutableBiMap.of(
846 ImmutableBiMap<String, Integer> biMap = ImmutableBiMap.of(
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
ImmutableBiMapTest.java 24 import com.google.common.collect.ImmutableBiMap.Builder;
46 * Tests for {@link ImmutableBiMap}.
65 .named("ImmutableBiMap")
74 .named("ImmutableBiMap.copyOf")
123 return ImmutableBiMap.of();
127 return ImmutableBiMap.of("one", 1, "two", 2, "three", 3);
142 return ImmutableBiMap.of();
146 return ImmutableBiMap.of(1, "one", 2, "two", 3, "three").inverse();
160 ImmutableBiMap<String, Integer> map
164 assertSame(ImmutableBiMap.of(), map)
    [all...]
MapsTest.java     [all...]
FauxveridesTest.java 50 doHasAllFauxveridesTest(ImmutableBiMap.class, ImmutableMap.class);
  /external/guava/guava/src/com/google/common/collect/
ImmutableBiMap.java 25 * not permit null keys or values. An {@code ImmutableBiMap} and its inverse
28 * <p>An instance of {@code ImmutableBiMap} contains its own data and will
29 * <i>never</i> change. {@code ImmutableBiMap} is convenient for
41 public abstract class ImmutableBiMap<K, V> extends ImmutableMap<K, V>
49 public static <K, V> ImmutableBiMap<K, V> of() {
50 return (ImmutableBiMap<K, V>) EmptyImmutableBiMap.INSTANCE;
56 public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1) {
65 public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) {
74 public static <K, V> ImmutableBiMap<K, V> of(
84 public static <K, V> ImmutableBiMap<K, V> of
    [all...]
SingletonImmutableBiMap.java 33 final class SingletonImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
45 ImmutableBiMap<V, K> inverse) {
86 transient ImmutableBiMap<V, K> inverse;
89 public ImmutableBiMap<V, K> inverse() {
91 ImmutableBiMap<V, K> result = inverse;
EmptyImmutableBiMap.java 30 final class EmptyImmutableBiMap extends ImmutableBiMap<Object, Object> {
35 @Override public ImmutableBiMap<Object, Object> inverse() {
RegularImmutableBiMap.java 35 class RegularImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
242 private transient ImmutableBiMap<V, K> inverse;
245 public ImmutableBiMap<V, K> inverse() {
246 ImmutableBiMap<V, K> result = inverse;
250 private final class Inverse extends ImmutableBiMap<V, K> {
258 public ImmutableBiMap<K, V> inverse() {
332 private final ImmutableBiMap<K, V> forward;
334 InverseSerializedForm(ImmutableBiMap<K, V> forward) {
ImmutableMap.java 70 return ImmutableBiMap.of();
80 return ImmutableBiMap.of(k1, v1);
238 * TODO(kevinb): Should build() and the ImmutableBiMap & ImmutableSortedMap
274 // TODO(user): Make ImmutableMap.copyOf(immutableBiMap) call copyOf()
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
BiMapGenerators.java 21 import com.google.common.collect.ImmutableBiMap;
38 ImmutableBiMap.Builder<String, String> builder = ImmutableBiMap.builder();
52 return ImmutableBiMap.copyOf(builder);
  /external/guava/guava-tests/test/com/google/common/net/
HttpHeadersTest.java 22 import com.google.common.collect.ImmutableBiMap;
40 ImmutableBiMap<String, String> specialCases = ImmutableBiMap.of("ETAG", "ETag");
48 ImmutableBiMap<String, String> specialCases, ImmutableSet<String> uppercaseAcronyms)
76 ImmutableBiMap<String, String> specialCases, ImmutableSet<String> uppercaseAcronyms) {
  /external/caliper/caliper/src/main/java/com/google/caliper/util/
Util.java 19 import com.google.common.collect.ImmutableBiMap;
138 public static <T> ImmutableBiMap<T, String> assignNames(Set<T> items) {
140 ImmutableBiMap.Builder<T, String> itemNamesBuilder = ImmutableBiMap.builder();
  /external/guava/guava-gwt/src/com/google/common/collect/
RegularImmutableBiMap_CustomFieldSerializer.java 45 * always have one or more elements, ImmutableBiMap.copyOf always return a
49 (RegularImmutableBiMap<Object, Object>) ImmutableBiMap.copyOf(entries);
  /external/caliper/caliper/src/main/java/com/google/caliper/config/
CaliperConfig.java 33 import com.google.common.collect.ImmutableBiMap;
67 private static <T> ImmutableBiMap<String, Class<? extends T>> mapGroupNamesToClasses(
86 return ImmutableBiMap.copyOf(namesToClasses);
92 ImmutableBiMap<String, Class<? extends ResultProcessor>> processorToClass =
  /external/guava/guava-testlib/src/com/google/common/testing/
ArbitraryInstances.java 35 import com.google.common.collect.ImmutableBiMap;
266 .put(BiMap.class, ImmutableBiMap.of())
267 .put(ImmutableBiMap.class, ImmutableBiMap.of())
FreshValueGenerator.java 35 import com.google.common.collect.ImmutableBiMap;
706 @Generates private static <K, V> ImmutableBiMap<K, V> freshImmutableBimap(
708 return ImmutableBiMap.of(key, value);
  /packages/apps/Tag/src/com/android/apps/tag/record/
UriRecord.java 23 import com.google.common.collect.ImmutableBiMap;
  /external/guava/guava-testlib/test/com/google/common/testing/
ArbitraryInstancesTest.java 30 import com.google.common.collect.ImmutableBiMap;
196 assertEquals(ImmutableBiMap.of(), ArbitraryInstances.get(BiMap.class));
197 assertEquals(ImmutableBiMap.of(), ArbitraryInstances.get(ImmutableBiMap.class));
FreshValueGeneratorTest.java 33 import com.google.common.collect.ImmutableBiMap;
260 assertFreshInstance(new TypeToken<ImmutableBiMap<String, Integer>>() {});
263 ImmutableBiMap.of(generator.generate(String.class), generator.generate(int.class)),
265 new TypeToken<ImmutableBiMap<String, Integer>>() {}));
    [all...]

Completed in 1364 milliseconds

1 2 3 4 5