Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for mod (2.4 sec)

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

      }
    
      @GwtIncompatible // NavigableSet
      public void testUnmodifiableNavigableSet() {
        TreeSet<Integer> mod = Sets.newTreeSet();
        mod.add(1);
        mod.add(2);
        mod.add(3);
    
        NavigableSet<Integer> unmod = unmodifiableNavigableSet(mod);
    
        /* Unmodifiable is a view. */
        mod.add(4);
        assertTrue(unmod.contains(4));
        assertTrue(unmod.descendingSet().contains(4));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTest.java

      @GwtIncompatible // NavigableMap
      public void testUnmodifiableNavigableMap() {
        TreeMap<Integer, String> mod = Maps.newTreeMap();
        mod.put(1, "one");
        mod.put(2, "two");
        mod.put(3, "three");
    
        NavigableMap<Integer, String> unmod = unmodifiableNavigableMap(mod);
    
        /* unmod is a view. */
        mod.put(4, "four");
        assertEquals("four", unmod.get(4));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapsTest.java

      @GwtIncompatible // NavigableMap
      public void testUnmodifiableNavigableMap() {
        TreeMap<Integer, String> mod = Maps.newTreeMap();
        mod.put(1, "one");
        mod.put(2, "two");
        mod.put(3, "three");
    
        NavigableMap<Integer, String> unmod = unmodifiableNavigableMap(mod);
    
        /* unmod is a view. */
        mod.put(4, "four");
        assertEquals("four", unmod.get(4));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

          // we should get an ExecutionException; if we call getUnchecked(), we should get an
          // UncheckedExecutionException.
          int mod = i % 3;
          if (mod == 0 || mod == 2) {
            assertThat(result.get(i)).isInstanceOf(ExecutionException.class);
            assertThat((ExecutionException) result.get(i)).hasCauseThat().isSameInstanceAs(e);
          } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      @SuppressWarnings("deprecation")
      public void testUnmodifiableIteratorShortCircuit() {
        Iterator<String> mod = Lists.newArrayList("a", "b", "c").iterator();
        UnmodifiableIterator<String> unmod = Iterators.unmodifiableIterator(mod);
        assertNotSame(mod, unmod);
        assertSame(unmod, Iterators.unmodifiableIterator(unmod));
        assertSame(unmod, Iterators.unmodifiableIterator((Iterator<String>) unmod));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

          // we should get an ExecutionException; if we call getUnchecked(), we should get an
          // UncheckedExecutionException.
          int mod = i % 3;
          if (mod == 0 || mod == 2) {
            assertThat(result.get(i)).isInstanceOf(ExecutionException.class);
            assertThat((ExecutionException) result.get(i)).hasCauseThat().isSameInstanceAs(e);
          } else {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      @SuppressWarnings("deprecation")
      public void testUnmodifiableIteratorShortCircuit() {
        Iterator<String> mod = Lists.newArrayList("a", "b", "c").iterator();
        UnmodifiableIterator<String> unmod = Iterators.unmodifiableIterator(mod);
        assertNotSame(mod, unmod);
        assertSame(unmod, Iterators.unmodifiableIterator(unmod));
        assertSame(unmod, Iterators.unmodifiableIterator((Iterator<String>) unmod));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

    g??k&c&or!.&ecapsbew,snddym,tikcats,ytic-amil,??us??hxda08--nx?row??l!.&c&a?s??ed,gro?o&c?fni??ten?ude?vog?zib??a&ed?tner??e&ssurb?toh!yrrek???lahsram?m?oot??m!.&bal,etisinim,gro?moc?ten?ude?vog??b?etsys!.tniopthgink,?ialc??n&a&f?gorf?ol??i&a&grab?mod??giro??o&it&acav?cudorp?ulos??puoc???o&dnoc?geuj?ppaz?t&ohp!.remarf,?ua???p!.&ces?gro?moc?olp?ten?ude?vog??i&hsralohcs?lihp?t??u??r!.&au,ca?gro?ni?oc?topsgolb,ude?vog?xo,yldnerb.pohs,?a&c?p?tiug??c?e&dliub!.etisduolc,?erac?gor?levart?mraf?n&niw?tra...
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 21 21:04:43 GMT 2024
    - 72.4K bytes
    - Viewed (1)
Back to top