Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 368 for copyFor (0.06 sec)

  1. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

      }
    
      @Test
      public void addEdge_existingEdgeBetweenSameNodes() {
        assume().that(graphIsMutable()).isTrue();
    
        addEdge(N1, N2, E12);
        ImmutableSet<String> edges = ImmutableSet.copyOf(network.edges());
        assertThat(networkAsMutableNetwork.addEdge(N1, N2, E12)).isFalse();
        assertThat(network.edges()).containsExactlyElementsIn(edges);
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

        assertThrows(NullPointerException.class, () -> builder.put('a', 1, null));
      }
    
      private static <R, C, V> void validateTableCopies(Table<R, C, V> original) {
        Table<R, C, V> copy = ImmutableTable.copyOf(original);
        assertEquals(original, copy);
        validateViewOrdering(original, copy);
    
        Table<R, C, V> built = ImmutableTable.<R, C, V>builder().putAll(original).build();
        assertEquals(original, built);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       * undocumented and subject to change.
       *
       * @throws NullPointerException if any key or value in {@code multimap} is null
       */
      public static <K, V> ImmutableListMultimap<K, V> copyOf(
          Multimap<? extends K, ? extends V> multimap) {
        if (multimap.isEmpty()) {
          return of();
        }
    
        // TODO(lowasser): copy ImmutableSetMultimap by using asList() on the sets
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

          extends TestStringSortedMapGenerator {
        @Override
        public SortedMap<String, String> create(Entry<String, String>[] entries) {
          return ImmutableSortedMap.copyOf(asList(entries));
        }
      }
    
      public static class ImmutableSortedMapEntryListGenerator
          implements TestListGenerator<Entry<String, Integer>> {
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

        return this;
      }
    
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(Iterable<T> group) {
        delegate.addRelatedGroup(group);
        items.addAll(ImmutableList.copyOf(group));
        return this;
      }
    
      /** Run tests on equivalence methods, throwing a failure on an invalid test */
      @CanIgnoreReturnValue
      public EquivalenceTester<T> test() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

        return this;
      }
    
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(Iterable<T> group) {
        delegate.addRelatedGroup(group);
        items.addAll(ImmutableList.copyOf(group));
        return this;
      }
    
      /** Run tests on equivalence methods, throwing a failure on an invalid test */
      @CanIgnoreReturnValue
      public EquivalenceTester<T> test() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

                op.setup(form -> {
                    kuromojiService.getKuromojiItem(dictId, id).ifPresent(entity -> {
                        copyBeanToBean(entity, form, copyOp -> {
                            copyOp.excludeNull();
                        });
                        form.crudMode = crudMode;
                    }).orElse(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

        public HashCode hash() {
          checkNotDone();
          done = true;
          return (bytes == digest.getDigestLength())
              ? HashCode.fromBytesNoCopy(digest.digest())
              : HashCode.fromBytesNoCopy(Arrays.copyOf(digest.digest(), bytes));
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/Parameter.java

          TypeToken<?> type,
          Annotation[] annotations,
          @Nullable Object annotatedType) {
        this.declaration = declaration;
        this.position = position;
        this.type = type;
        this.annotations = ImmutableList.copyOf(annotations);
        this.annotatedType = annotatedType;
      }
    
      /** Returns the type of the parameter. */
      public TypeToken<?> getType() {
        return type;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 16 15:12:31 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/SourceSinkTester.java

              && method.getParameterTypes().length == 0
              && method.getName().startsWith("test")) {
            result.add(method);
          }
        }
        return ImmutableList.copyOf(result);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 18:57:08 UTC 2022
    - 4.9K bytes
    - Viewed (0)
Back to top