Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 693 for clears (0.08 sec)

  1. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      //                 suite.addTest((TestSuite) suiteOrClass);
      //             else if (suiteOrClass instanceof Class)
      //                 suite.addTest(new TestSuite((Class<?>) suiteOrClass));
      //             else
      //                 throw new ClassCastException("not a test suite or class");
      //         }
      //         return suite;
      //     }
    
      //     /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/SLinkedList.java

         */
        public Object remove(final int index) {
            final Entry e = getEntry(index);
            e.remove();
            return e.element;
        }
    
        /**
         * 要素を空にします。
         */
        public void clear() {
            header.next = header;
            header.previous = header;
            size = 0;
        }
    
        /**
         * インデックスで指定された位置のエントリを返します。
         *
         * @param index
         *            インデックス
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      @VisibleForTesting
      List<Class<?>> findClassesToTest(
          Iterable<? extends Class<?>> classes, Iterable<String> explicitTestNames) {
        // "a.b.Foo" -> a.b.Foo.class
        TreeMap<String, Class<?>> classMap = Maps.newTreeMap();
        for (Class<?> cls : classes) {
          classMap.put(cls.getName(), cls);
        }
        // Foo.class -> [FooTest.class, FooTests.class, FooTestSuite.class, ...]
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     * your own escapers extend this class and implement the {@link #escape(int)} method.
     *
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class UnicodeEscaper extends Escaper {
      /** The amount of padding (chars) to use when growing the escape buffer. */
      private static final int DEST_PAD = 32;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/SourceSinkFactories.java

          while (reader.read(buffer) != -1) {
            Java8Compatibility.flip(buffer);
            builder.append(buffer);
            Java8Compatibility.clear(buffer);
          }
          return builder.toString();
        }
      }
    
      private static class UrlByteSourceFactory extends FileByteSourceFactory {
    
        @SuppressWarnings("CheckReturnValue") // only using super.createSource to create a file
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  6. mockwebserver/api/mockwebserver3.api

    }
    
    public final class mockwebserver3/MockResponse$Companion {
    }
    
    public abstract interface class mockwebserver3/MockResponseBody {
    	public abstract fun getContentLength ()J
    	public abstract fun writeTo (Lokio/BufferedSink;)V
    }
    
    public final class mockwebserver3/MockWebServer : java/io/Closeable {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 03 21:59:45 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

                }
    
                @Override
                protected File getDesignJspFile(String path) {
                    return new File(desginJspRootFile, path);
                }
            };
            envMap.clear();
            systemHelper.init();
            systemHelper.addShutdownHook(() -> {});
            ComponentUtil.register(systemHelper, "systemHelper");
        }
    
        public void test_getUsername() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListSubListTester<E> extends AbstractListTester<E> {
      public void testSubList_startNegative() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().subList(-1, 0));
      }
    
      public void testSubList_endTooLarge() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().subList(0, getNumElements() + 1));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        return false;
      }
    
      @Override
      public String toString() {
        return asMapOfRanges().toString();
      }
    
      /**
       * This class is used to serialize ImmutableRangeMap instances. Serializes the {@link
       * #asMapOfRanges()} form.
       */
      private static class SerializedForm<K extends Comparable<?>, V> implements Serializable {
    
        private final ImmutableMap<Range<K>, V> mapOfRanges;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListSubListTester<E> extends AbstractListTester<E> {
      public void testSubList_startNegative() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().subList(-1, 0));
      }
    
      public void testSubList_endTooLarge() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().subList(0, getNumElements() + 1));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top