Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 431 for Chile (0.16 sec)

  1. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        assertThat(bimap.values())
            .containsExactly(Country.CANADA, Country.SWITZERLAND, Country.CHILE)
            .inOrder();
        // backward map ordered by country
        assertThat(bimap.inverse().keySet())
            .containsExactly(Country.CANADA, Country.CHILE, Country.SWITZERLAND)
            .inOrder();
        // backward map ordered by country (even for currency values)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        assertThat(bimap.values())
            .containsExactly(Country.CANADA, Country.SWITZERLAND, Country.CHILE)
            .inOrder();
        // backward map ordered by country
        assertThat(bimap.inverse().keySet())
            .containsExactly(Country.CANADA, Country.CHILE, Country.SWITZERLAND)
            .inOrder();
        // backward map ordered by country (even for currency values)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

    @GwtCompatible(emulated = true)
    public class EnumHashBiMapTest extends TestCase {
      private enum Currency {
        DOLLAR,
        FRANC,
        PESO,
        POUND,
        YEN
      }
    
      private enum Country {
        CANADA,
        CHILE,
        JAPAN,
        SWITZERLAND,
        UK
      }
    
      public static final class EnumHashBiMapGenerator implements TestBiMapGenerator<Country, String> {
        @SuppressWarnings("unchecked")
        @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

    @GwtCompatible(emulated = true)
    public class EnumHashBiMapTest extends TestCase {
      private enum Currency {
        DOLLAR,
        FRANC,
        PESO,
        POUND,
        YEN
      }
    
      private enum Country {
        CANADA,
        CHILE,
        JAPAN,
        SWITZERLAND,
        UK
      }
    
      public static final class EnumHashBiMapGenerator implements TestBiMapGenerator<Country, String> {
        @SuppressWarnings("unchecked")
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        return suite;
      }
    
      public void testMapConstructor() {
        /* Test with non-empty Map. */
        Map<String, String> map =
            ImmutableMap.of(
                "canada", "dollar",
                "chile", "peso",
                "switzerland", "franc");
        HashBiMap<String, String> bimap = HashBiMap.create(map);
        assertEquals("dollar", bimap.get("canada"));
        assertEquals("canada", bimap.inverse().get("dollar"));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/HashBiMapTest.java

        return suite;
      }
    
      public void testMapConstructor() {
        /* Test with non-empty Map. */
        Map<String, String> map =
            ImmutableMap.of(
                "canada", "dollar",
                "chile", "peso",
                "switzerland", "franc");
        HashBiMap<String, String> bimap = HashBiMap.create(map);
        assertEquals("dollar", bimap.get("canada"));
        assertEquals("canada", bimap.inverse().get("dollar"));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/GcFinalization.java

            return;
          } catch (InterruptedException ie) {
            throw new RuntimeException("Unexpected interrupt while waiting for future", ie);
          } catch (TimeoutException tryHarder) {
            /* OK */
          }
        } while (System.nanoTime() - deadline < 0);
        throw formatRuntimeException("Future not done within %d second timeout", timeoutSeconds);
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      public long addAndGet(K key, long delta) {
        outer:
        while (true) {
          AtomicLong atomic = map.get(key);
          if (atomic == null) {
            atomic = map.putIfAbsent(key, new AtomicLong(delta));
            if (atomic == null) {
              return delta;
            }
            // atomic is now non-null; fall through
          }
    
          while (true) {
            long oldValue = atomic.get();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

       * limits.
       */
      fun encode(string: String): String? {
        var pos = 0
        val limit = string.length
        val result = Buffer()
    
        while (pos < limit) {
          var dot = string.indexOf('.', startIndex = pos)
          if (dot == -1) dot = limit
    
          if (!encodeLabel(string, pos, dot, result)) {
            // If we couldn't encode the label, give up.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

            return;
          } catch (InterruptedException ie) {
            throw new RuntimeException("Unexpected interrupt while waiting for future", ie);
          } catch (TimeoutException tryHarder) {
            /* OK */
          }
        } while (System.nanoTime() - deadline < 0);
        throw formatRuntimeException("Future not done within %d second timeout", timeoutSeconds);
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
Back to top