Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2191 - 2200 of 6,689 for Public (0.04 sec)

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

        return false;
      }
    
      public void testClear() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        if (supportsRemove()) {
          table.clear();
          assertEquals(0, table.size());
          assertFalse(table.containsRow("foo"));
        } else {
          assertThrows(UnsupportedOperationException.class, () -> table.clear());
        }
      }
    
      public void testPut() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

     * strengths.
     *
     * @author mike nonemacher
     */
    public class CacheReferencesTest extends TestCase {
    
      private static final CacheLoader<Key, String> KEY_TO_STRING_LOADER =
          new CacheLoader<Key, String>() {
            @Override
            public String load(Key key) {
              return key.toString();
            }
          };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingSortedMap.java

      @Override
      protected abstract SortedMap<K, V> delegate();
    
      @Override
      @CheckForNull
      public Comparator<? super K> comparator() {
        return delegate().comparator();
      }
    
      @Override
      @ParametricNullness
      public K firstKey() {
        return delegate().firstKey();
      }
    
      @Override
      public SortedMap<K, V> headMap(@ParametricNullness K toKey) {
        return delegate().headMap(toKey);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/Collections2Test.java

    /**
     * Tests for {@link Collections2}.
     *
     * @author Chris Povirk
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class Collections2Test extends TestCase {
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite(Collections2Test.class.getSimpleName());
        suite.addTest(testsForFilter());
        suite.addTest(testsForFilterAll());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

        @Override
        public int size() {
          return parent.length();
        }
    
        @Override
        public Double get(int index) {
          return parent.get(index);
        }
    
        @Override
        public boolean contains(@CheckForNull Object target) {
          return indexOf(target) >= 0;
        }
    
        @Override
        public int indexOf(@CheckForNull Object target) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestStringCollectionGenerator.java

     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringCollectionGenerator implements TestCollectionGenerator<String> {
      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public Collection<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java

     * Create queue of strings for tests.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringQueueGenerator implements TestQueueGenerator<String> {
      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public Queue<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java

    /**
     * TODO: javadoc.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringListGenerator implements TestListGenerator<String> {
      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public List<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/features/SetFeature.java

      @Inherited
      @TesterAnnotation
      public @interface Require {
        public abstract SetFeature[] value() default {};
    
        public abstract SetFeature[] absent() default {};
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/artifact/InvalidRepositoryException.java

        }
    
        @Deprecated
        public InvalidRepositoryException(String message, Throwable t) {
            super(message, t);
            this.repositoryId = null;
        }
    
        public InvalidRepositoryException(String message, String repositoryId) {
            super(message);
            this.repositoryId = repositoryId;
        }
    
        public String getRepositoryId() {
            return repositoryId;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top