Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 368 for copyFor (0.09 sec)

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

        assertEquals(asList(5, 7, 8, 3), fromList);
        toList.clear();
        assertEquals(emptyList(), fromList);
      }
    
      @SafeVarargs
      private static <E> List<E> list(E... elements) {
        return ImmutableList.copyOf(elements);
      }
    
      public void testCartesianProduct_binary1x1() {
        assertThat(cartesianProduct(list(1), list(2))).contains(list(1, 2));
      }
    
      public void testCartesianProduct_binary1x2() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbResource.java

         * It is not possible (nor meaningful) to copy entire workgroups or
         * servers.
         *
         * @param dest
         *            the destination file or directory
         * @throws CIFSException
         */
        void copyTo ( SmbResource dest ) throws CIFSException;
    
    
        /**
         * Changes the name of the file this <code>SmbResource</code> represents to the name
         * designated by the <code>SmbResource</code> argument.
         * <br>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/primitives/Doubles.java

        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
        return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array;
      }
    
      /**
       * Returns a string containing the supplied {@code double} values, converted to strings as
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Ordering.java

            @SuppressWarnings("unchecked") // c only contains E's and doesn't escape
            E[] array = (E[]) collection.toArray();
            sort(array, this);
            if (array.length > k) {
              array = Arrays.copyOf(array, k);
            }
            return unmodifiableList(asList(array));
          }
        }
        return leastOf(iterable.iterator(), k);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/MediaType.java

        return parameters;
      }
    
      private Map<String, ImmutableMultiset<String>> parametersAsMap() {
        return Maps.transformValues(parameters.asMap(), ImmutableMultiset::copyOf);
      }
    
      /**
       * Returns an optional charset for the value of the charset parameter if it is specified.
       *
       * @throws IllegalStateException if multiple charset values have been set for this media type
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Ordering.java

            @SuppressWarnings("unchecked") // c only contains E's and doesn't escape
            E[] array = (E[]) collection.toArray();
            sort(array, this);
            if (array.length > k) {
              array = Arrays.copyOf(array, k);
            }
            return unmodifiableList(asList(array));
          }
        }
        return leastOf(iterable.iterator(), k);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Longs.java

        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
        return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array;
      }
    
      /**
       * Returns a string containing the supplied {@code long} values separated by {@code separator}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/InternetDomainName.java

          name = name.substring(0, name.length() - 1);
        }
    
        checkArgument(name.length() <= MAX_LENGTH, "Domain name too long: '%s':", name);
        this.name = name;
    
        this.parts = ImmutableList.copyOf(DOT_SPLITTER.split(name));
        checkArgument(parts.size() <= MAX_PARTS, "Domain has too many parts: '%s'", name);
        checkArgument(validateSyntax(parts), "Not a valid domain name: '%s'", name);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Longs.java

        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
        return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array;
      }
    
      /**
       * Returns a string containing the supplied {@code long} values separated by {@code separator}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/BaseEncoding.java

        Alphabet ignoreCase() {
          if (ignoreCase) {
            return this;
          }
    
          // We can't use .clone() because of GWT.
          byte[] newDecodabet = Arrays.copyOf(decodabet, decodabet.length);
          for (int upper = 'A'; upper <= 'Z'; upper++) {
            int lower = upper | 0x20;
            byte decodeUpper = decodabet[upper];
            byte decodeLower = decodabet[lower];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top