Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 3,920 for extenders (0.05 sec)

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

        multiset.add("a");
        assertThrows(UnsupportedOperationException.class, () -> multiset.remove("a"));
        assertTrue(multiset.contains("a"));
      }
    
      private static class NoRemoveMultiset<E extends @Nullable Object> extends AbstractMultiset<E>
          implements Serializable {
        final Map<E, Integer> backingMap = Maps.newHashMap();
    
        @Override
        public int size() {
          return Multisets.linearTimeSizeImpl(this);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/EndpointPairIterator.java

    /**
     * A class to facilitate the set returned by {@link Graph#edges()}.
     *
     * @author James Sexton
     */
    @ElementTypesAreNonnullByDefault
    abstract class EndpointPairIterator<N> extends AbstractIterator<EndpointPair<N>> {
      private final BaseGraph<N> graph;
      private final Iterator<N> nodeIterator;
    
      @CheckForNull
      N node = null; // null is safe as an initial value because graphs don't allow null nodes
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractIteratorTester<E extends @Nullable Object, I extends Iterator<E>> {
      private Stimulus<E, ? super I>[] stimuli;
      private final Iterator<E> elementsToInsert;
      private final Set<IteratorFeature> features;
      private final List<E> expectedElements;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

            }
        }
    
        private void bindScope(
                InjectorImpl injector,
                Provider<PlexusContainer> containerProvider,
                Class<? extends Annotation> sa,
                Class<? extends Scope> ss) {
            injector.bindScope(sa, () -> {
                try {
                    return containerProvider.get().lookup(ss);
                } catch (ComponentLookupException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public class SetMultimapAsMapTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimapTester<K, V, SetMultimap<K, V>> {
      public void testAsMapValuesImplementSet() {
        for (Collection<V> valueCollection : multimap().asMap().values()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ExtensibleEnumRegistry.java

    import java.util.Optional;
    
    import org.apache.maven.api.ExtensibleEnum;
    import org.apache.maven.api.Service;
    import org.apache.maven.api.annotations.Nonnull;
    
    public interface ExtensibleEnumRegistry<T extends ExtensibleEnum> extends Service {
        @Nonnull
        Optional<T> lookup(@Nonnull String id);
    
        @Nonnull
        default T require(@Nonnull String id) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * addressed by this method is the case in which {@code T} has parametric nullness -- and thus its
       * value may be legitimately {@code null}.)
       */
      @SuppressWarnings("nullness")
      @ParametricNullness
      static <T extends @Nullable Object> T uncheckedCastNullableTToT(@CheckForNull T t) {
        return t;
      }
    
      /**
       * Returns {@code null} cast to any type.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTaskIntegrationTest.kt

                                "type": "org.gradle.api.AntBuilder",
                                "member": "Class org.gradle.api.AntBuilder",
                                "acceptation": "org.gradle.api.AntBuilder now extends groovy.ant.AntBuilder",
                                "changes": [
                                    "Abstract method has been added in implemented interface"
                                ]
                            },
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingList.java

     *
     * @author Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingList<E extends @Nullable Object> extends ForwardingCollection<E>
        implements List<E> {
      // TODO(lowasser): identify places where thread safety is actually lost
    
      /** Constructor for use by subclasses. */
      protected ForwardingList() {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

     *
     * @author Louis Wasserman
     * @since 15.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingSortedMultiset<E extends @Nullable Object>
        extends ForwardingMultiset<E> implements SortedMultiset<E> {
      /** Constructor for use by subclasses. */
      protected ForwardingSortedMultiset() {}
    
      @Override
      protected abstract SortedMultiset<E> delegate();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top