Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for shortcut (1.27 sec)

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

      }
    
      public void testCopyOf_shortcut_empty() {
        Collection<String> c = ImmutableSortedMultiset.of();
        assertSame(c, ImmutableSortedMultiset.copyOf(c));
      }
    
      public void testCopyOf_shortcut_singleton() {
        Collection<String> c = ImmutableSortedMultiset.of("a");
        assertSame(c, ImmutableSortedMultiset.copyOf(c));
      }
    
      public void testCopyOf_shortcut_immutableMultiset() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

      }
    
      public void testCopyOf_shortcut_empty() {
        Collection<String> c = ImmutableSortedMultiset.of();
        assertSame(c, ImmutableSortedMultiset.copyOf(c));
      }
    
      public void testCopyOf_shortcut_singleton() {
        Collection<String> c = ImmutableSortedMultiset.of("a");
        assertSame(c, ImmutableSortedMultiset.copyOf(c));
      }
    
      public void testCopyOf_shortcut_immutableMultiset() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        Set<String> unused = copyOf(iterable);
        assertEquals(1, iterable.count);
      }
    
      public void testCopyOf_shortcut_empty() {
        Collection<String> c = of();
        assertEquals(Collections.<String>emptySet(), copyOf(c));
        assertSame(c, copyOf(c));
      }
    
      public void testCopyOf_shortcut_singleton() {
        Collection<String> c = of("a");
        assertEquals(Collections.singleton("a"), copyOf(c));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        Set<String> unused = copyOf(iterable);
        assertEquals(1, iterable.count);
      }
    
      public void testCopyOf_shortcut_empty() {
        Collection<String> c = of();
        assertEquals(Collections.<String>emptySet(), copyOf(c));
        assertSame(c, copyOf(c));
      }
    
      public void testCopyOf_shortcut_singleton() {
        Collection<String> c = of("a");
        assertEquals(Collections.singleton("a"), copyOf(c));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

      }
    
      public void testCopyOf_shortcut_empty() {
        Collection<String> c = ImmutableMultiset.of();
        assertSame(c, ImmutableMultiset.copyOf(c));
      }
    
      public void testCopyOf_shortcut_singleton() {
        Collection<String> c = ImmutableMultiset.of("a");
        assertSame(c, ImmutableMultiset.copyOf(c));
      }
    
      public void testCopyOf_shortcut_immutableMultiset() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 21K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

      }
    
      public void testCopyOf_shortcut_empty() {
        Collection<String> c = ImmutableList.of();
        assertSame(c, ImmutableList.copyOf(c));
      }
    
      public void testCopyOf_shortcut_singleton() {
        Collection<String> c = ImmutableList.of("a");
        assertSame(c, ImmutableList.copyOf(c));
      }
    
      public void testCopyOf_shortcut_immutableList() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Lists.java

        Collections.addAll(list, elements);
        return list;
      }
    
      /**
       * Creates a <i>mutable</i> {@code ArrayList} instance containing the given elements; a very thin
       * shortcut for creating an empty list then calling {@link Iterables#addAll}.
       *
       * <p><b>Note:</b> if mutability is not required and the elements are non-null, use {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/MoreObjects.java

          @CheckForNull Object value;
          @CheckForNull ValueHolder next;
        }
    
        /**
         * Holder object for values that cannot be null or empty (will be printed unconditionally). This
         * helps to shortcut most calls to isEmpty(), which is important because the check for emptiness
         * is relatively expensive. Use a subtype so this also doesn't need any extra storage.
         */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/MoreObjects.java

          @CheckForNull Object value;
          @CheckForNull ValueHolder next;
        }
    
        /**
         * Holder object for values that cannot be null or empty (will be printed unconditionally). This
         * helps to shortcut most calls to isEmpty(), which is important because the check for emptiness
         * is relatively expensive. Use a subtype so this also doesn't need any extra storage.
         */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

      }
    
      public void testCopyOf_shortcut_empty() {
        Collection<String> c = ImmutableMultiset.of();
        assertSame(c, ImmutableMultiset.copyOf(c));
      }
    
      public void testCopyOf_shortcut_singleton() {
        Collection<String> c = ImmutableMultiset.of("a");
        assertSame(c, ImmutableMultiset.copyOf(c));
      }
    
      public void testCopyOf_shortcut_immutableMultiset() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 25.1K bytes
    - Viewed (0)
Back to top