Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 1,806 for instances (0.1 sec)

  1. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        assertTrue(descendingKeySet instanceof SynchronizedNavigableSet);
        assertSame(mutex, ((SynchronizedNavigableSet<String>) descendingKeySet).mutex);
      }
    
      public void testDescendingMap() {
        NavigableMap<String, Integer> map = create();
        NavigableMap<String, Integer> descendingMap = map.descendingMap();
        assertTrue(descendingMap instanceof SynchronizedNavigableMap);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

            try {
                if (value instanceof String) {
                    if ("Subject".equals(key)) {
                        data.putValue(key, getDecodeText(value.toString()));
                    } else {
                        data.putValue(key, value.toString());
                    }
                } else if (value instanceof String[]) {
                    data.putValues(key, (String[]) value);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

      public void testGetRandomAccess() {
        Multimap<String, Integer> multimap = create();
        multimap.put("foo", 1);
        multimap.put("foo", 3);
        assertTrue(multimap.get("foo") instanceof RandomAccess);
        assertTrue(multimap.get("bar") instanceof RandomAccess);
      }
    
      /** Confirm that removeAll() returns a List implementing RandomAccess. */
      public void testRemoveAllRandomAccess() {
        Multimap<String, Integer> multimap = create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/SessionTest.java

         * @param f2
         * @throws CIFSException
         */
        private static void connectionMatches ( SmbResource f1, SmbResource f2 ) throws CIFSException {
            Assert.assertTrue(f1 instanceof SmbFile);
            Assert.assertTrue(f2 instanceof SmbFile);
            try ( SmbTreeHandleInternal th1 = (SmbTreeHandleInternal) ( (SmbFile) f1 ).getTreeHandle();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddAll_nullCollectionReference() {
        assertThrows(NullPointerException.class, () -> collection.addAll(null));
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAddAll_nullUnsupported()} so that tests can
       * suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactHashing.java

          return new short[buckets];
        } else {
          return new int[buckets];
        }
      }
    
      static void tableClear(Object table) {
        if (table instanceof byte[]) {
          Arrays.fill((byte[]) table, (byte) 0);
        } else if (table instanceof short[]) {
          Arrays.fill((short[]) table, (short) 0);
        } else {
          Arrays.fill((int[]) table, 0);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

     *
     * <p>However, when {@link CollectionSize.Require} is used to annotate a test it behaves normally
     * (i.e. it requires the collection instance under test to be a certain size for the test to run).
     * Note that this means a test should not require more than one CollectionSize, since a particular
     * collection instance can only be one size at once.
     *
     * @author George van den Driessche
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ClassToInstanceMap.java

    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A map, each entry of which maps a Java <a href="http://tinyurl.com/2cmwkz">raw type</a> to an
     * instance of that type. In addition to implementing {@code Map}, the additional type-safe
     * operations {@link #putInstance} and {@link #getInstance} are available.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

                if (update && getResponse.isExists()) {
                    final IndexRequestBuilder indexRequestBuilder = new IndexRequestBuilder(client, IndexAction.INSTANCE, index);
                    indexRequestBuilder.setId(item.getId()).setOpType(IndexRequest.OpType.INDEX)
                            .setSource(item.getUpdatedSource(getResponse.getSourceAsMap()));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt

      internal val delegate: RealConnectionPool,
    ) {
      internal constructor(
        maxIdleConnections: Int = 5,
        keepAliveDuration: Long = 5,
        timeUnit: TimeUnit = TimeUnit.MINUTES,
        taskRunner: TaskRunner = TaskRunner.INSTANCE,
        connectionListener: ConnectionListener = ConnectionListener.NONE,
        readTimeoutMillis: Int = 10_000,
        writeTimeoutMillis: Int = 10_000,
        socketConnectTimeoutMillis: Int = 10_000,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 03 20:39:41 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top