Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 333 for UnsupportedOperationException (0.29 sec)

  1. android/guava/src/com/google/common/collect/Collections2.java

       * The returned collection is a live view of {@code fromCollection}; changes to one affect the
       * other.
       *
       * <p>The returned collection's {@code add()} and {@code addAll()} methods throw an {@link
       * UnsupportedOperationException}. All other collection methods are supported, as long as {@code
       * fromCollection} supports them.
       *
       * <p>The returned collection isn't threadsafe or serializable, even if {@code fromCollection} is.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        Entry<String, Collection<Integer>> barEntry = entries.next();
        assertEquals("bar", barEntry.getKey());
        assertThat(barEntry.getValue()).containsExactly(1, 3).inOrder();
        assertThrows(
            UnsupportedOperationException.class, () -> barEntry.setValue(Arrays.<Integer>asList()));
        entries.remove(); // clear
        Entry<String, Collection<Integer>> fooEntry = entries.next();
        assertEquals("foo", fooEntry.getKey());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

          super.combine(other);
          return this;
        }
    
        @Override
        public Builder<K, V> orderEntriesByValue(Comparator<? super V> valueComparator) {
          throw new UnsupportedOperationException("Not available on ImmutableSortedMap.Builder");
        }
    
        @Override
        public ImmutableSortedMap<K, V> build() {
          return buildOrThrow();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

         */
        @Override
        public MojoDescriptor clone() {
            try {
                return (MojoDescriptor) super.clone();
            } catch (CloneNotSupportedException e) {
                throw new UnsupportedOperationException(e);
            }
        }
    
        private volatile org.apache.maven.api.plugin.descriptor.MojoDescriptor mojoDescriptorV4;
    
        public org.apache.maven.api.plugin.descriptor.MojoDescriptor getMojoDescriptorV4() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                        @Override
                        public Object invoke(Object proxy, Method method, Object[] args)
                            throws Throwable {
                          throw new UnsupportedOperationException();
                        }
                      });
        }
    
        @Override
        protected Multimap<K, V> delegate() {
          return unusableDelegate;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

            }
        }
    
        @Override
        protected Number doReadNextVal() {
            final String msg = "This table is NOT related to sequence: " + asEsIndexType();
            throw new UnsupportedOperationException(msg);
        }
    
        @Override
        protected <RESULT extends Entity> ListResultBean<RESULT> createListResultBean(final ConditionBean cb, final List<RESULT> selectedList) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java

            }
        }
    
        @Override
        protected Number doReadNextVal() {
            final String msg = "This table is NOT related to sequence: " + asEsIndexType();
            throw new UnsupportedOperationException(msg);
        }
    
        @Override
        protected <RESULT extends Entity> ListResultBean<RESULT> createListResultBean(final ConditionBean cb, final List<RESULT> selectedList) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/BaseEncodingTest.java

      }
    
      public void testAtMostOneSeparator() {
        BaseEncoding separated = base64().withSeparator("\n", 3);
        assertThrows(UnsupportedOperationException.class, () -> separated.withSeparator("$", 4));
      }
    
      public void testBase64() {
        // The following test vectors are specified in RFC 4648 itself
        testEncodingWithSeparators(base64(), "", "");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  9. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

            override fun configureSocket(sslSocket: SSLSocket): SSLSocket {
              return object : DelegatingSSLSocket(sslSocket) {
                override fun getApplicationProtocol(): String {
                  throw UnsupportedOperationException()
                }
              }
            }
          }
    
        client =
          client.newBuilder()
            .sslSocketFactory(delegatingSocketFactory, trustManager)
            .build()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        final String string;
    
        public HashHostileComparable(String string) {
          this.string = string;
        }
    
        @Override
        public int hashCode() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public int compareTo(HashHostileComparable o) {
          return string.compareTo(o.string);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
Back to top