Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 1,924 for Instance (0.14 seconds)

  1. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

       * Returns a new {@code MutableClassToInstanceMap} instance backed by a {@link HashMap} using the
       * default initial capacity and load factor.
       */
      public static <B extends @Nullable Object> MutableClassToInstanceMap<B> create() {
        return new MutableClassToInstanceMap<>(new HashMap<Class<? extends @NonNull B>, B>());
      }
    
      /**
       * Returns a new {@code MutableClassToInstanceMap} instance backed by a given empty {@code
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 22:10:29 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/misc/Tuple3.java

            return new Tuple3<>(value1, value2, value3);
        }
    
        /**
         * Constructs an instance.
         */
        public Tuple3() {
        }
    
        /**
         * Constructs an instance.
         *
         * @param value1
         *            The first value
         * @param value2
         *            The second value
         * @param value3
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

            m.region(pos, input.length());
            return m.lookingAt();
        }
    
        public String region() {
            return input.substring(markPos, pos);
        }
    
        /**
         * Moves the position to the next instance of the given character, or the end of the input if not found.
         */
        public void find(char c) {
            int cpos = pos;
            while (cpos < input.length()) {
                if (input.charAt(cpos) == c) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/stream/StreamUtil.java

            // nothing
        }
    
        /**
         * Creates a {@link StreamOf} instance from the provided values.
         * If the input array is {@code null}, an empty stream is returned.
         *
         * @param <T> The type of elements in the stream.
         * @param values The elements to be included in the stream. Can be {@code null}.
         * @return A {@link StreamOf} instance containing the provided values, or an empty stream if {@code values} is {@code null}.
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/misc/Pair.java

         */
        public static <T1, T2> Pair<T1, T2> pair(final T1 first, final T2 second) {
            return new Pair<>(first, second);
        }
    
        /**
         * Constructs an instance.
         */
        public Pair() {
        }
    
        /**
         * Constructs an instance.
         *
         * @param first
         *            The first value
         * @param second
         *            The second value
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/math/BigDecimalMath.java

       * @since 30.0
       */
      public static double roundToDouble(BigDecimal x, RoundingMode mode) {
        return BigDecimalToDoubleRounder.INSTANCE.roundToDouble(x, mode);
      }
    
      private static final class BigDecimalToDoubleRounder extends ToDoubleRounder<BigDecimal> {
        static final BigDecimalToDoubleRounder INSTANCE = new BigDecimalToDoubleRounder();
    
        private BigDecimalToDoubleRounder() {}
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

                K, V, StrongKeyStrongValueEntry<K, V>, StrongKeyStrongValueSegment<K, V>> {
          private static final Helper<?, ?> INSTANCE = new Helper<>();
    
          @SuppressWarnings("unchecked")
          static <K, V> Helper<K, V> instance() {
            return (Helper<K, V>) INSTANCE;
          }
    
          @Override
          public Strength keyStrength() {
            return Strength.STRONG;
          }
    
          @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 89.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

         * @param index The index name.
         * @return This SuggestIndexer instance.
         */
        public SuggestIndexer setIndexName(final String index) {
            this.index = index;
            return this;
        }
    
        /**
         * Sets the supported fields.
         * @param supportedFields The supported fields.
         * @return This SuggestIndexer instance.
         */
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 34.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/CredentialsInternalTest.java

            // Act & Assert
            // unwrap to interface itself should return same instance
            CredentialsInternal unwrapped = creds.unwrap(CredentialsInternal.class);
            assertNotNull(unwrapped, "unwrap to CredentialsInternal returns instance");
            assertSame(creds, unwrapped, "unwrap returns the same object instance");
    
            // unwrap to unrelated type should return null (use another Credentials implementation)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

        }
    
        @Test
        void close_shouldClosePolicySuccessfully() throws IOException {
            // Arrange
            // First, successfully create an LsaPolicyHandle instance
            doAnswer(invocation -> {
                MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0);
                rpc.retval = 0;
                return null;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top