Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1521 - 1530 of 1,890 for instance (0.05 sec)

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

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Chars;
    import java.util.List;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Generates {@code List<Character>} instances for test suites.
     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestCharacterListGenerator implements TestListGenerator<Character> {
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

      }
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      Collection<V> unmodifiableEmptyCollection() {
        if (unfiltered instanceof SetMultimap) {
          return emptySet();
        } else {
          return emptyList();
        }
      }
    
      @Override
      public void clear() {
        keySet().clear();
      }
    
      @Override
      Set<K> createKeySet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/FilteredKeyMultimap.java

      }
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      Collection<V> unmodifiableEmptyCollection() {
        if (unfiltered instanceof SetMultimap) {
          return emptySet();
        } else {
          return emptyList();
        }
      }
    
      @Override
      public void clear() {
        keySet().clear();
      }
    
      @Override
      Set<K> createKeySet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            sidsField.setAccessible(true);
            Object sidsObj = sidsField.get(lookupSids);
    
            assertNotNull(sidsObj);
            assertTrue(sidsObj instanceof LsarSidArrayX);
        }
    
        @Test
        void constructor_shouldCreateLsarRefDomainList() throws Exception {
            // Arrange
            jcifs.SID mockSid = mock(jcifs.SID.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/SortedIterables.java

        checkNotNull(comparator);
        checkNotNull(elements);
        Comparator<?> comparator2;
        if (elements instanceof SortedSet) {
          comparator2 = comparator((SortedSet<?>) elements);
        } else if (elements instanceof SortedIterable) {
          comparator2 = ((SortedIterable<?>) elements).comparator();
        } else {
          return false;
        }
        return comparator.equals(comparator2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       * is not available, and it is always an error to attempt read its streamed content. Reading from
       * [ResponseBody.source] always throws on such instances.
       *
       * It is safe and supported to call [ResponseBody.contentType] and [ResponseBody.contentLength] on
       * all instances of [ResponseBody].
       */
      @get:JvmName("body") val body: ResponseBody,
      /**
       * Non-null if this response is a successful upgrade ...
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. api/maven-api-di/src/main/java/org/apache/maven/api/di/Named.java

         * <p>
         * If no value is specified, the default empty string will be used.
         * When used as a qualifier, this value helps distinguish between different
         * implementations or instances of the same type.
         *
         * @return the name that identifies this component
         */
        String value() default "";
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            // Verify that parent's toString is called (should contain standard fields)
            assertTrue(result.length() > "TransWaitNamedPipeResponse[]".length());
        }
    
        @Test
        @DisplayName("Multiple instances should be independent")
        void testMultipleInstances() {
            // Arrange
            TransWaitNamedPipeResponse response1 = new TransWaitNamedPipeResponse(mockConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

      public void testGetRandomAccess() {
        Multimap<String, Integer> multimap = create();
        multimap.put("foo", 1);
        multimap.put("foo", 3);
        assertFalse(multimap.get("foo") instanceof RandomAccess);
        assertFalse(multimap.get("bar") instanceof RandomAccess);
      }
    
      /**
       * Confirm that removeAll() returns a List that implements RandomAccess, even though get()
       * doesn't.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/DfsImpl.java

                final CacheEntry<Map<String, CacheEntry<DfsReferralDataInternal>>> entry = new CacheEntry<>(tf.getConfig().getDfsTtl() * 10L);
                this._domains = entry;
                if (tf.getConfig().isDfsStrictView() && ioe instanceof SmbAuthException) {
                    throw (SmbAuthException) ioe;
                }
                return this._domains.map;
            }
            return null;
        }
    
        /**
         *
         * {@inheritDoc}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
Back to top