Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for unmodifiableCollection (0.1 sec)

  1. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans.impl;
    
    import static java.util.Collections.unmodifiableCollection;
    import static org.codelibs.core.collection.CollectionsUtil.newArrayList;
    import static org.codelibs.core.collection.CollectionsUtil.newHashMap;
    import static org.codelibs.core.collection.CollectionsUtil.newHashSet;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  2. guava/src/com/google/common/collect/ForwardingObject.java

     * object being tested, but the reverse could not be true. This behavior is consistent with the
     * JDK's collection wrappers, such as {@link java.util.Collections#unmodifiableCollection}. Use an
     * interface-specific subclass of {@code ForwardingObject}, such as {@link ForwardingList}, to
     * preserve equality behavior, or override {@code equals} directly.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingObject.java

     * object being tested, but the reverse could not be true. This behavior is consistent with the
     * JDK's collection wrappers, such as {@link java.util.Collections#unmodifiableCollection}. Use an
     * interface-specific subclass of {@code ForwardingObject}, such as {@link ForwardingList}, to
     * preserve equality behavior, or override {@code equals} directly.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ClusterException.java

            exceptions.iterator().next());
        ArrayList<? extends Throwable> temp = new ArrayList<>(exceptions);
        this.exceptions = Collections.unmodifiableCollection(temp);
      }
    
      /** See {@link #create(Collection)}. */
      static RuntimeException create(Throwable... exceptions) {
        ArrayList<Throwable> temp = new ArrayList<>(Arrays.asList(exceptions));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ClusterException.java

            exceptions.iterator().next());
        ArrayList<? extends Throwable> temp = new ArrayList<>(exceptions);
        this.exceptions = Collections.unmodifiableCollection(temp);
      }
    
      /** See {@link #create(Collection)}. */
      static RuntimeException create(Throwable... exceptions) {
        ArrayList<Throwable> temp = new ArrayList<>(Arrays.asList(exceptions));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Tables.java

          return unmodifiableMap(Maps.transformValues(super.rowMap(), Collections::unmodifiableMap));
        }
    
        @Override
        public Collection<V> values() {
          return Collections.unmodifiableCollection(super.values());
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. 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.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  8. 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.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. 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) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  10. 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) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
Back to top