Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 539 for IsList (0.14 sec)

  1. android/guava/src/com/google/common/collect/Iterables.java

       * elements.
       *
       * <p>To cycle over the elements {@code n} times, use the following: {@code
       * Iterables.concat(Collections.nCopies(n, Arrays.asList(elements)))}
       *
       * <p><b>Java 8+ users:</b> If passing a single element {@code e}, the {@code Stream} equivalent
       * of this method is {@code Stream.generate(() -> e)}. Otherwise, put the elements in a collection
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              }
            };
        List<Object> list = Collections.singletonList(object);
        for (int i = 0; i < 10; i++) {
          Object[] array = new Object[500];
          Arrays.fill(array, list);
          list = Arrays.asList(array);
        }
        future2.set(list);
    
        unused = future.toString();
      }
    
      public void testToString_notDone() throws Exception {
        AbstractFuture<Object> testFuture =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Files.java

              if (file.isDirectory()) {
                File[] files = file.listFiles();
                if (files != null) {
                  return Collections.unmodifiableList(Arrays.asList(files));
                }
              }
    
              return ImmutableList.of();
            }
          };
    
      /**
       * Returns a predicate that returns the result of {@link File#isDirectory} on input files.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.collect.Lists.asList;
    import static com.google.common.util.concurrent.ClosingFuture.State.CLOSED;
    import static com.google.common.util.concurrent.ClosingFuture.State.CLOSING;
    import static com.google.common.util.concurrent.ClosingFuture.State.OPEN;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/TraverserTest.java

      }
    
      private static void assertEqualCharNodes(Iterable<Character> result, String expectedCharacters) {
        assertThat(ImmutableList.copyOf(result))
            .containsExactlyElementsIn(Chars.asList(expectedCharacters.toCharArray()))
            .inOrder();
      }
    
      private static class RequestSavingGraph implements SuccessorsFunction<Character> {
        private final SuccessorsFunction<Character> delegate;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/TraverserTest.java

      }
    
      private static void assertEqualCharNodes(Iterable<Character> result, String expectedCharacters) {
        assertThat(ImmutableList.copyOf(result))
            .containsExactlyElementsIn(Chars.asList(expectedCharacters.toCharArray()))
            .inOrder();
      }
    
      private static class RequestSavingGraph implements SuccessorsFunction<Character> {
        private final SuccessorsFunction<Character> delegate;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/Files.java

              if (file.isDirectory()) {
                File[] files = file.listFiles();
                if (files != null) {
                  return Collections.unmodifiableList(Arrays.asList(files));
                }
              }
    
              return ImmutableList.of();
            }
          };
    
      /**
       * Returns a predicate that returns the result of {@link File#isDirectory} on input files.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                        }
                        return null;
                    }).filter(o -> o != null && keySet.add(o.getFirst())).collect(HashMap<String, List<String>>::new,
                            (m, d) -> m.put(d.getFirst(), Arrays.asList(d.getSecond().split(","))), HashMap::putAll));
                }
                propMap.put(DEFAULT_LABEL_VALUES, map);
            }
            return map.entrySet().stream().flatMap(e -> {
                final String key = e.getKey();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/MoreFiles.java

      private static void checkAllowsInsecure(Path path, RecursiveDeleteOption[] options)
          throws InsecureRecursiveDeleteException {
        if (!Arrays.asList(options).contains(RecursiveDeleteOption.ALLOW_INSECURE)) {
          throw new InsecureRecursiveDeleteException(path.toString());
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/MoreFiles.java

      private static void checkAllowsInsecure(Path path, RecursiveDeleteOption[] options)
          throws InsecureRecursiveDeleteException {
        if (!Arrays.asList(options).contains(RecursiveDeleteOption.ALLOW_INSECURE)) {
          throw new InsecureRecursiveDeleteException(path.toString());
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top