Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 613 for IllegalArgumentException (0.38 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      }
    
      public ImmutableSortedSet<E> headSet(E toElement) {
        checkNotNull(toElement);
        try {
          return unsafeDelegateSortedSet(sortedDelegate.headSet(toElement), true);
        } catch (IllegalArgumentException e) {
          return emptySet(comparator());
        }
      }
    
      @CheckForNull
      E higher(E e) {
        checkNotNull(e);
        Iterator<E> iterator = tailSet(e).iterator();
        while (iterator.hasNext()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsTest.java

        ArrayList<Integer> bigger = Lists.newArrayListWithCapacity(256);
        assertEquals(emptyList(), bigger);
      }
    
      public void testNewArrayListWithCapacity_negative() {
        assertThrows(IllegalArgumentException.class, () -> Lists.newArrayListWithCapacity(-1));
      }
    
      public void testNewArrayListWithExpectedSize() {
        ArrayList<Integer> list = newArrayListWithExpectedSize(0);
        assertEquals(emptyList(), list);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ListsTest.java

        ArrayList<Integer> bigger = Lists.newArrayListWithCapacity(256);
        assertEquals(emptyList(), bigger);
      }
    
      public void testNewArrayListWithCapacity_negative() {
        assertThrows(IllegalArgumentException.class, () -> Lists.newArrayListWithCapacity(-1));
      }
    
      public void testNewArrayListWithExpectedSize() {
        ArrayList<Integer> list = newArrayListWithExpectedSize(0);
        assertEquals(emptyList(), list);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/SuccessorsFunction.java

       *       href="https://github.com/google/guava/wiki/GraphsExplained#graph-elements-nodes-and-edges">
       *       graph elements</a> for details)
       * </ul>
       *
       * @throws IllegalArgumentException if {@code node} is not an element of this graph
       */
      Iterable<? extends N> successors(N node);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

       *
       * @param map place to store the mapping from each key to its corresponding values
       * @param factory supplier of new, empty collections that will each hold all values for a given
       *     key
       * @throws IllegalArgumentException if {@code map} is not empty
       */
      public static <K extends @Nullable Object, V extends @Nullable Object> Multimap<K, V> newMultimap(
          Map<K, Collection<V>> map, final Supplier<? extends Collection<V>> factory) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(ZERO)
      public void testPutWithSameValueFails() {
        getMap().put(k0(), v0());
        assertThrows(IllegalArgumentException.class, () -> getMap().put(k1(), v0()));
        // verify that the bimap is unchanged
        expectAdded(e0());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/PredecessorsFunction.java

       *       href="https://github.com/google/guava/wiki/GraphsExplained#graph-elements-nodes-and-edges">
       *       graph elements</a> for details)
       * </ul>
       *
       * @throws IllegalArgumentException if {@code node} is not an element of this graph
       */
      Iterable<? extends N> predecessors(N node);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

                .createTestSuite());
        suite.addTestSuite(ImmutableListMultimapTest.class);
        return suite;
      }
    
      public void testBuilderWithExpectedKeysNegative() {
        assertThrows(
            IllegalArgumentException.class, () -> ImmutableListMultimap.builderWithExpectedKeys(-1));
      }
    
      public void testBuilderWithExpectedKeysZero() {
        ImmutableListMultimap.Builder<String, String> builder =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/EnumsTest.java

      }
    
      @GwtIncompatible // stringConverter
      public void testStringConverter_convertError() {
        Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class);
        assertThrows(IllegalArgumentException.class, () -> converter.convert("xxx"));
      }
    
      @GwtIncompatible // stringConverter
      public void testStringConverter_reverse() {
        Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/UniAddress.java

         * <tt>NbtAddress</tt>.
         * 
         * @param addr
         *            wrapped address
         */
        public UniAddress ( Object addr ) {
            if ( addr == null ) {
                throw new IllegalArgumentException();
            }
            this.addr = addr;
        }
    
    
        /**
         * Return the IP address of this address as a 32 bit integer.
         */
    
        @Override
        public int hashCode () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
Back to top