Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 168 of 168 for idPresent (0.06 sec)

  1. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                }
    
                searchHelper.getDocumentByDocId(docId, new String[] { fessConfig.getIndexFieldUrl(), fessConfig.getIndexFieldLang() },
                        OptionalThing.empty()).ifPresent(doc -> {
                            final String favoriteUrl = DocumentUtil.getValue(doc, fessConfig.getIndexFieldUrl(), String.class);
                            final String userCode = userInfoHelper.getUserCode();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FluentIterable.java

        return from(Iterables.limit(getDelegate(), maxSize));
      }
    
      /**
       * Determines whether this fluent iterable is empty.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code !stream.findAny().isPresent()}.
       */
      public final boolean isEmpty() {
        return !getDelegate().iterator().hasNext();
      }
    
      /**
       * Returns an {@code ImmutableList} containing all of the elements from this fluent iterable in
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/GraphsTest.java

        AbstractNetworkTest.validateNetwork(transpose);
    
        assertThat(transpose.edgesConnecting(N1, N2)).isEmpty();
        assertThat(transpose.edgeConnecting(N1, N2).isPresent()).isFalse();
        assertThat(transpose.edgeConnectingOrNull(N1, N2)).isNull();
    
        for (Integer node : directedGraph.nodes()) {
          assertThat(directedGraph.inDegree(node)).isSameInstanceAs(transpose.outDegree(node));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

      @Benchmark
      boolean getIfPresent(int repetitions) {
        boolean retVal = false;
        for (int i = 0; i < repetitions; ++i) {
          retVal &= Enums.getIfPresent(enumType, sampleData[i & 255]).isPresent();
        }
        return retVal;
      }
    
      private enum SmallEnum {
        X0,
        X1,
        X2
      }
    
      private enum MediumEnum {
        X0,
        X1,
        X2,
        X3,
        X4,
        X5,
        X6,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

      @Benchmark
      boolean getIfPresent(int repetitions) {
        boolean retVal = false;
        for (int i = 0; i < repetitions; ++i) {
          retVal &= Enums.getIfPresent(enumType, sampleData[i & 255]).isPresent();
        }
        return retVal;
      }
    
      private enum SmallEnum {
        X0,
        X1,
        X2
      }
    
      private enum MediumEnum {
        X0,
        X1,
        X2,
        X3,
        X4,
        X5,
        X6,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterables.java

       * iterator whether it has any elements <i>remaining</i> (which one does using {@link
       * Iterator#hasNext}).
       *
       * <p><b>{@code Stream} equivalent:</b> {@code !stream.findAny().isPresent()}
       *
       * @return {@code true} if the iterable contains no elements
       */
      public static boolean isEmpty(Iterable<?> iterable) {
        if (iterable instanceof 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)
  7. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            return search(index, condition, (searchRequestBuilder, execTime, searchResponse) -> {
                final List<T> list = new ArrayList<>();
                searchResponse.ifPresent(response -> response.getHits().forEach(hit -> {
                    list.add(creator.build(response, hit));
                }));
                return list;
            });
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                        .filter(r -> !Objects.equals(r.getUrl(), externalRepository.getUrl()))
                        .findFirst();
                if (clashingPomRepository.isPresent()) {
                    addViolation(
                            problems,
                            Severity.WARNING,
                            Version.BASE,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
Back to top