Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 383 for toArray (0.08 sec)

  1. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

              Object[] result = standardToArray();
              return result;
            }
    
            @Override
            @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
            public <T extends @Nullable Object> T[] toArray(T[] array) {
              return standardToArray(array);
            }
          };
        }
    
        private static <K, V extends @Nullable Object> Iterator<Entry<K, V>> transformEntries(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

            }
    
            public Iterator<E> iterator() {
                return parent.iterator();
            }
    
            public Object[] toArray() {
                return parent.toArray();
            }
    
            public <T> T[] toArray(final T[] a) {
                return parent.toArray(a);
            }
    
            public boolean add(final E e) {
                return parent.add(e);
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionStreamTester.java

      public void testStreamToArrayUnknownOrder() {
        Helpers.assertEqualIgnoringOrder(getSampleElements(), asList(collection.stream().toArray()));
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testStreamToArrayKnownOrder() {
        assertEquals(getOrderedElements(), asList(collection.stream().toArray()));
      }
    
      public void testStreamCount() {
        assertEquals(getNumElements(), collection.stream().count());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/exentity/User.java

        }
    
        @Override
        public String[] getRoleNames() {
            return stream(getRoles()).get(stream -> stream.map(this::decode).toArray(n -> new String[n]));
        }
    
        @Override
        public String[] getGroupNames() {
            return stream(getGroups()).get(stream -> stream.map(this::decode).toArray(n -> new String[n]));
        }
    
        private String decode(final String value) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

                  return false;
                }
              }
    
              @Override
              @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
              public <T extends @Nullable Object> T[] toArray(T[] array) {
                T[] result = super.toArray(array);
                if (size() < result.length) {
                  // It works around a GWT bug where elements after last is not
                  // properly null'ed.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 24 16:03:45 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableCollection.java

      @J2ktIncompatible // Incompatible return type change. Use inherited (unoptimized) implementation
      public final Object[] toArray() {
        return toArray(EMPTY_ARRAY);
      }
    
      @CanIgnoreReturnValue
      @Override
      /*
       * This suppression is here for two reasons:
       *
       * 1. b/192354773 in our checker affects toArray declarations.
       *
       * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/reflect/Types.java

          this.upperBounds = JavaVersion.CURRENT.usedInGenericType(upperBounds);
        }
    
        @Override
        public Type[] getLowerBounds() {
          return toArray(lowerBounds);
        }
    
        @Override
        public Type[] getUpperBounds() {
          return toArray(upperBounds);
        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof WildcardType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

                    .get(stream -> stream.filter(StringUtil::isNotBlank).map(s -> s.trim() + ":").toArray(n -> new String[n]));
            fileProtocols = split(fessConfig.getCrawlerFileProtocols(), ",")
                    .get(stream -> stream.filter(StringUtil::isNotBlank).map(s -> s.trim() + ":").toArray(n -> new String[n]));
    
            loadProtocols("org.codelibs.fess.net.protocol");
    
            if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jun 19 01:34:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/WebApiManagerFactory.java

        public void add(final WebApiManager webApiManager) {
            final List<WebApiManager> list = new ArrayList<>();
            Collections.addAll(list, webApiManagers);
            list.add(webApiManager);
            webApiManagers = list.toArray(new WebApiManager[list.size()]);
        }
    
        public WebApiManager get(final HttpServletRequest request) {
            for (final WebApiManager webApiManager : webApiManagers) {
                if (webApiManager.matches(request)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

                                .toArray(n -> new String[n])));
                final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
                entity.setPermissions(split(form.permissions, "\n").get(stream -> stream.map(s -> permissionHelper.encode(s))
                        .filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n])));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top