Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 507 for INSTANCES (0.05 seconds)

  1. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

                    .build();
        }
    
        /**
         * Returns a new builder for creating XmlNode instances.
         *
         * @return a new Builder instance
         */
        static Builder newBuilder() {
            return new Builder();
        }
    
        /**
         * Builder class for creating XmlNode instances.
         * <p>
         * This builder provides a fluent API for setting the various properties of an XML node.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 15:20:44 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableList.java

            /*
             * requireNonNull is safe because the callers promise to put non-null objects in the first
             * `length` array elements.
             */
            @SuppressWarnings("unchecked") // our callers put only E instances into the array
            E onlyElement = (E) requireNonNull(elements[0]);
            return of(onlyElement);
          default:
            /*
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  3. 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 */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  4. 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 */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  5. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  6. 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();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  7. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  8. 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>()
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  9. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/CharSink.java

     * {@code CharSink} is not an open, stateful stream that can be written to and closed. Instead, it
     * is an immutable <i>supplier</i> of {@code Writer} instances.
     *
     * <p>{@code CharSink} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a writer:</b> These methods should return a <i>new</i>, independent
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 6.7K bytes
    - Click Count (0)
Back to Top