Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 387 for INSTANCES (0.43 sec)

  1. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

                    buf.replace(pos, pos + 1, "ss");
                }
            }
            return new String(buf);
        }
    
        /**
         * An {@link Iterator} that iterates over {@link DateFormat} instances corresponding to the styles supported by the locale.
         *
         * @author koichik
         */
        protected static class DateFormatIterator implements Iterator<DateFormat> {
    
            /** Locale */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

                    buf.replace(pos, pos + 1, "ss");
                }
            }
            return new String(buf);
        }
    
        /**
         * An {@link Iterator} that iterates over {@link DateFormat} instances corresponding to the styles supported by the locale.
         *
         * @author koichik
         */
        protected static class DateFormatIterator implements Iterator<DateFormat> {
    
            /** Locale */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       * features to support (from the enclosing {@link AbstractIteratorTester} instance). Instead of
       * throwing exceptions like {@link NoSuchElementException} at the appropriate times, it throws
       * {@link PermittedMetaException} instances, which wrap a set of all exceptions that the iterator
       * could throw during the invocation of that method. This is necessary because, e.g., a call to
       * {@code iterator().remove()} of an unmodifiable list could throw either {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Optional.java

       * Number value = first.or(0.5); // error
       * }
       *
       * <p>As a workaround, it is always safe to cast an {@code Optional<? extends T>} to {@code
       * Optional<T>}. Casting either of the above example {@code Optional} instances to {@code
       * Optional<Number>} (where {@code Number} is the desired output type) solves the problem:
       *
       * {@snippet :
       * Optional<Number> optionalInt = (Optional) getSomeOptionalInt();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

     * used; or if the class exposes a public parameter-less constructor then it will be "new"d and
     * returned.
     *
     * <p>All default instances returned by {@link #get} are generics-safe. Clients won't get type
     * errors for using {@code get(Comparator.class)} as a {@code Comparator<Foo>}, for example.
     * Immutable empty instances are returned for collection types; {@code ""} for string; {@code 0} for
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMultiset.java

       * Builder} constructor.
       */
      public static <E> Builder<E> builder() {
        return new Builder<>();
      }
    
      /**
       * A builder for creating immutable multiset instances, especially {@code public static final}
       * multisets ("constant multisets"). Example:
       *
       * {@snippet :
       * public static final ImmutableMultiset<Bean> BEANS =
       *     new ImmutableMultiset.Builder<Bean>()
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

            void testValueConsistency() {
                // Given: Same input value
                int inputValue = 1000;
                int expectedMasked = inputValue & 0xFF; // 232
    
                // When: Creating multiple NdrShort instances
                NdrShort ndrShort1 = new NdrShort(inputValue);
                NdrShort ndrShort2 = new NdrShort(inputValue);
    
                // Then: All should have same masked value
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/BeanDesc.java

    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import java.util.Map;
    
    import org.codelibs.core.beans.factory.BeanDescFactory;
    
    /**
     * Interface for handling JavaBeans metadata.
     * <p>
     * Instances of {@link BeanDesc} are obtained from {@link BeanDescFactory}.
     * </p>
     *
     * <pre>
     * BeanDesc beanDesc = BeanDescFactory.getBeanDesc(Foo.class);
     * </pre>
     * <p>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/BufferCacheImplTest.java

            }
        }
    
        // Heterogeneous buffer sizes: cache should return exactly what was released
        @Test
        @DisplayName("Cache preserves and returns original buffer instances of varying sizes")
        void returnsExactReleasedInstances() {
            BufferCacheImpl impl = new BufferCacheImpl(3, 8);
            byte[] s1 = new byte[2];
            byte[] s2 = new byte[7];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Platform.java

        return Arrays.copyOf(empty, length);
      }
    
      /** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */
      /*
       * Arrays are a mess from a nullness perspective, and Class instances for object-array types are
       * even worse. For now, we just suppress and move on with our lives.
       *
       * - https://github.com/jspecify/jspecify/issues/65
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top