Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for emptyArray (0.07 seconds)

  1. src/test/java/org/codelibs/fess/crawler/transformer/FessTransformerTest.java

            Map<String, Object> dataMap = new HashMap<>();
    
            transformer.putResultDataBody(dataMap, "empty", "value1");
    
            String[] emptyArray = new String[] {};
            transformer.putResultDataBody(dataMap, "empty", emptyArray);
    
            Object result = dataMap.get("empty");
            assertTrue(result instanceof Object[]);
            Object[] resultArray = (Object[]) result;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/io/SerializeUtilTest.java

         *
         * @throws Exception
         */
        public void testFromBinaryToObject_EmptyArray() throws Exception {
            final String[] emptyArray = new String[0];
            final byte[] binary = SerializeUtil.fromObjectToBinary(emptyArray);
            final String[] result = (String[]) SerializeUtil.fromBinaryToObject(binary);
            assertEquals(0, result.length);
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        final Ordering<T> ordering;
        final List<T> strictlyOrderedList;
        final T[] emptyArray;
    
        Scenario(Ordering<T> ordering, List<T> strictlyOrderedList, T[] emptyArray) {
          this.ordering = ordering;
          this.strictlyOrderedList = strictlyOrderedList;
          this.emptyArray = emptyArray;
        }
    
        void testCompareTo() {
          testComparator(ordering, strictlyOrderedList);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/OrderingTest.java

        final Ordering<T> ordering;
        final List<T> strictlyOrderedList;
        final T[] emptyArray;
    
        Scenario(Ordering<T> ordering, List<T> strictlyOrderedList, T[] emptyArray) {
          this.ordering = ordering;
          this.strictlyOrderedList = strictlyOrderedList;
          this.emptyArray = emptyArray;
        }
    
        void testCompareTo() {
          testComparator(ordering, strictlyOrderedList);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

        operator fun get(name: String): String? = commonGet(name)
    
        fun build(): Headers = commonBuild()
      }
    
      companion object {
        /** Empty headers. */
        @JvmField
        val EMPTY = Headers(emptyArray())
    
        /**
         * Returns headers for the alternating header names and values. There must be an even number of
         * arguments, and they must alternate between header names and values.
         */
        @JvmStatic
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableSet.java

    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class RegularImmutableSet<E> extends ImmutableSet<E> {
      private static final Object[] EMPTY_ARRAY = new Object[0];
      static final RegularImmutableSet<Object> EMPTY =
          new RegularImmutableSet<>(EMPTY_ARRAY, 0, EMPTY_ARRAY, 0, 0);
    
      // The first `size` elements are non-null.
      @VisibleForTesting final transient @Nullable Object[] elements;
      private final transient int hashCode;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/RegularImmutableSet.java

    final class RegularImmutableSet<E> extends ImmutableSet.CachingAsList<E> {
      private static final Object[] EMPTY_ARRAY = new Object[0];
      static final RegularImmutableSet<Object> EMPTY =
          new RegularImmutableSet<>(EMPTY_ARRAY, 0, EMPTY_ARRAY, 0);
    
      private final transient Object[] elements;
      private final transient int hashCode;
      // the same values as `elements` in hashed positions (plus nulls)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/RegularImmutableMultiset.java

     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class RegularImmutableMultiset<E> extends ImmutableMultiset<E> {
      private static final ImmutableEntry<?>[] EMPTY_ARRAY = new ImmutableEntry<?>[0];
      static final ImmutableMultiset<Object> EMPTY = create(ImmutableList.<Entry<Object>>of());
    
      static <E> ImmutableMultiset<E> create(Collection<? extends Entry<? extends E>> entries) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/LogNotificationAppender.java

                return null;
            }
            final Level level = Level.toLevel(minLevel, Level.ERROR);
            return new LogNotificationAppender(name, filter, layout, true, Property.EMPTY_ARRAY, level);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ImmutableCollection.java

        return Spliterators.spliterator(this, SPLITERATOR_CHARACTERISTICS);
      }
    
      private static final Object[] EMPTY_ARRAY = {};
    
      @Override
      @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:
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 21.4K bytes
    - Click Count (0)
Back to Top