Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 383 for toArray (0.11 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java

        return generator.createArray(length);
      }
    
      @Override
      public T createTestSubject() {
        Collection<E> elements = getSampleElements(getCollectionSize().getNumElements());
        return generator.create(elements.toArray());
      }
    
      @Override
      public Collection<E> getSampleElements(int howMany) {
        SampleElements<E> samples = samples();
        List<E> allSampleElements =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompoundOrdering.java

      }
    
      @SuppressWarnings("unchecked") // Generic array creation
      CompoundOrdering(Iterable<? extends Comparator<? super T>> comparators) {
        this.comparators =
            Iterables.toArray(comparators, (Comparator<? super T>[]) new Comparator<?>[0]);
      }
    
      @Override
      public int compare(@ParametricNullness T left, @ParametricNullness T right) {
        for (int i = 0; i < comparators.length; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

            for (final Map.Entry<String, List<String>> entry : paramListMap.entrySet()) {
                final List<String> list = entry.getValue();
                paramMap.put(entry.getKey(), list.toArray(new String[list.size()]));
            }
            return paramMap;
        }
    
        @Override
        public void destroy() {
            // nothing
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/CurlResponse.java

            final List<String> list = headers.get(name.toLowerCase(Locale.ROOT));
            if (list == null) {
                return new String[0];
            }
            return list.toArray(new String[list.size()]);
        }
    
        public String getHeaderValue(final String name) {
            final String[] values = getHeaderValues(name);
            if (values.length == 0) {
                return null;
            }
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

      public void testEquals_containingNull() {
        ArrayList<E> elements = new ArrayList<>(getSampleElements());
        elements.set(elements.size() / 2, null);
        collection = getSubjectGenerator().create(elements.toArray());
        List<E> other = new ArrayList<>(getSampleElements());
        assertFalse(
            "Two Lists should not be equal if exactly one of them has null at a given index.",
            getList().equals(other));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. internal/s3select/sql/value.go

    	return
    }
    
    // ToBytes returns the value if byte-slice.
    func (v Value) ToBytes() (val []byte, ok bool) {
    	val, ok = v.value.([]byte)
    	return
    }
    
    // ToArray returns the value if it is a slice of values.
    func (v Value) ToArray() (val []Value, ok bool) {
    	val, ok = v.value.([]Value)
    	return
    }
    
    // IsNull - checks if value is missing.
    func (v Value) IsNull() bool {
    	//nolint:gocritic
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                                }
                            });
                            user.setGroups(groupList.toArray(new String[groupList.size()]));
                            user.setRoles(roleList.toArray(new String[roleList.size()]));
                        }
                    });
    
        }
    
        public void insert(final User user) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsBadWordCB.java

                _conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
            }
    
            if (_specification != null) {
                builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
            }
    
            return builder;
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsBoostDocumentRuleCB.java

                _conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
            }
    
            if (_specification != null) {
                builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
            }
    
            return builder;
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsElevateWordCB.java

                _conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
            }
    
            if (_specification != null) {
                builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
            }
    
            return builder;
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top