Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for unmodifiableCollection (0.32 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

            listeners.remove(nonNull(listener));
        }
    
        @Nonnull
        @Override
        public Collection<Listener> getListeners() {
            return Collections.unmodifiableCollection(listeners);
        }
    
        //
        // Shortcut implementations
        //
    
        /**
         * Shortcut for <code>getService(RepositoryFactory.class).createLocal(...)</code>
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

          } else if (collection instanceof List) {
            return Collections.unmodifiableList((List<E>) collection);
          } else {
            return Collections.unmodifiableCollection(collection);
          }
        }
    
        @Override
        Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
          if (collection instanceof List) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

            listeners.remove(nonNull(listener));
        }
    
        @Nonnull
        @Override
        public Collection<Listener> getListeners() {
            return Collections.unmodifiableCollection(listeners);
        }
    
        //
        // Shortcut implementations
        //
    
        /**
         * Shortcut for <code>getService(RepositoryFactory.class).createLocal(...)</code>
         *
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * <ul>
     *   <li><b>Shallow immutability.</b> Elements can never be added, removed or replaced in this
     *       collection. This is a stronger guarantee than that of {@link
     *       Collections#unmodifiableCollection}, whose contents change whenever the wrapped collection
     *       is modified.
     *   <li><b>Null-hostility.</b> This collection will never contain a null element.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * <ul>
     *   <li><b>Shallow immutability.</b> Elements can never be added, removed or replaced in this
     *       collection. This is a stronger guarantee than that of {@link
     *       Collections#unmodifiableCollection}, whose contents change whenever the wrapped collection
     *       is modified.
     *   <li><b>Null-hostility.</b> This collection will never contain a null element.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Tables.java

          return Collections.unmodifiableMap(Maps.transformValues(super.rowMap(), wrapper));
        }
    
        @Override
        public Collection<V> values() {
          return Collections.unmodifiableCollection(super.values());
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns an unmodifiable view of the specified row-sorted table. This method allows modules to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 22:45:41 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        return unmodifiableCollectionSubclass(output);
      }
    
      <E extends @Nullable Object> Collection<E> unmodifiableCollectionSubclass(
          Collection<E> collection) {
        return Collections.unmodifiableCollection(collection);
      }
    
      @Override
      public void clear() {
        // Clear each collection, to make previously returned collections empty.
        for (Collection<V> collection : map.values()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 46.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        return unmodifiableCollectionSubclass(output);
      }
    
      <E extends @Nullable Object> Collection<E> unmodifiableCollectionSubclass(
          Collection<E> collection) {
        return Collections.unmodifiableCollection(collection);
      }
    
      @Override
      public void clear() {
        // Clear each collection, to make previously returned collections empty.
        for (Collection<V> collection : map.values()) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 48K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      private static class GenericClass<T> {
        private interface Base {}
      }
    
      private static IterableSubject makeUnmodifiable(Collection<?> actual) {
        return assertThat(Collections.<Object>unmodifiableCollection(actual));
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      private static class GenericClass<T> {
        private interface Base {}
      }
    
      private static IterableSubject makeUnmodifiable(Collection<?> actual) {
        return assertThat(Collections.<Object>unmodifiableCollection(actual));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
Back to top