Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 539 for AsList (0.06 sec)

  1. src/test/java/jcifs/tests/EnumTest.java

            CIFSContext ctx = withConfig(bctx, new DelegatingConfiguration(bctx.getConfig()) {
    
                @Override
                public List<ResolverType> getResolveOrder () {
                    return Arrays.asList(ResolverType.RESOLVER_WINS);
                }
            });
    
            // need to override NameServiceClient as it otherwise gets initialized with the original config
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Throwables.java

     * the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Arrays.asList;
    import static java.util.Collections.unmodifiableList;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FilesTest.java

                return out.toByteArray();
              }
            };
    
        File asciiFile = getTestFile("ascii.txt");
        byte[] result = Files.readBytes(asciiFile, processor);
        assertEquals(Bytes.asList(Files.toByteArray(asciiFile)), Bytes.asList(result));
      }
    
      public void testReadBytes_returnFalse() throws IOException {
        ByteProcessor<byte[]> processor =
            new ByteProcessor<byte[]>() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            ImmutableSet.of(3), set.intersection(ContiguousSet.create(Range.closed(3, 5), integers())));
      }
    
      public void testAsList() {
        ImmutableList<Integer> list = ContiguousSet.create(Range.closed(1, 3), integers()).asList();
        for (int i = 0; i < 3; i++) {
          assertEquals(i + 1, list.get(i).intValue());
        }
        assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.iterator()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/MoreObjects.java

       * throws a {@link NullPointerException}.
       *
       * <p>To find the first non-null element in an iterable, use {@code Iterables.find(iterable,
       * Predicates.notNull())}. For varargs, use {@code Iterables.find(Arrays.asList(a, b, c, ...),
       * Predicates.notNull())}, static importing as necessary.
       *
       * <p><b>Note:</b> if {@code first} is represented as an {@link Optional}, this can be
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

      @GwtIncompatible // NavigableSet
      @Override
      public UnmodifiableIterator<E> descendingIterator() {
        return elements.reverse().iterator();
      }
    
      @Override
      public Spliterator<E> spliterator() {
        return asList().spliterator();
      }
    
      @Override
      public void forEach(Consumer<? super E> action) {
        elements.forEach(action);
      }
    
      @Override
      public int size() {
        return elements.size();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multisets.java

    import static com.google.common.collect.CollectPreconditions.checkRemove;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    import static java.util.Arrays.asList;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Objects;
    import com.google.common.base.Predicate;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multisets.java

    import static com.google.common.collect.CollectPreconditions.checkRemove;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    import static java.util.Arrays.asList;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Objects;
    import com.google.common.base.Predicate;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/PACTest.java

             */
    
    
            Path krbConfig = Files.createTempFile("krb5", ".conf");
            Files.write(krbConfig,Arrays.asList("[libdefaults]", "allow_weak_crypto=true"));
            System.setProperty("java.security.krb5.conf", krbConfig.toString());
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            context.userProperties = populateUserProperties(context);
    
            // options: interpolate
            context.options = context.options.interpolate(
                    Arrays.asList(context.extraInterpolationSource(), context.userProperties, context.systemProperties));
    
            // core extensions
            context.extensions = readCoreExtensionsDescriptor(context);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top