Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1631 - 1640 of 1,669 for Exceptions (0.08 sec)

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

     *
     * <ul>
     *   <li>{@code [a..a]} : a singleton range
     *   <li>{@code [a..a); (a..a]} : {@linkplain #isEmpty empty} ranges; also valid
     *   <li>{@code (a..a)} : <b>invalid</b>; an exception will be thrown
     * </ul>
     *
     * <h3>Warnings</h3>
     *
     * <ul>
     *   <li>Use immutable value types only, if at all possible. If you must use a mutable type, <b>do
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

        return (short) hextet;
      }
    
      /**
       * Convert a byte array into an InetAddress.
       *
       * <p>{@link InetAddress#getByAddress} is documented as throwing a checked exception "if IP
       * address is of illegal length." We replace it with an unchecked exception, for use by callers
       * who already know that addr is an array of length 4 or 16.
       *
       * @param addr the raw 4-byte or 16-byte IP address in big-endian order
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      /** Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557 */
      static <T> SortedMultiset<T> cast(Multiset<T> iterable) {
        return (SortedMultiset<T>) iterable;
      }
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        sortedMultiset = cast(getMultiset());
        entries =
            copyToList(
                getSubjectGenerator()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

      private StatsAccumulator longManyValuesAccumulatorByAddAllIterator;
      private StatsAccumulator longManyValuesAccumulatorByAddAllVarargs;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        emptyAccumulator = new StatsAccumulator();
    
        emptyAccumulatorByAddAllEmptyIterable = new StatsAccumulator();
        emptyAccumulatorByAddAllEmptyIterable.addAll(ImmutableList.<Double>of());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertSame(multimap, SerializableTester.reserialize(multimap));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableListMultimap.class);
        tester.ignore(ImmutableListMultimap.class.getMethod("get", Object.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

    import org.apache.maven.wagon.proxy.ProxyInfo;
    import org.apache.maven.wagon.proxy.ProxyUtils;
    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
    import org.codehaus.plexus.logging.Logger;
    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.repository.AuthenticationContext;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        // get the first non-null value
        Collection<V> values = map.values();
        for (V value : values) {
          if (value != null) {
            try {
              int unused = value.hashCode();
            } catch (Exception e) {
              return false;
            }
            return true;
          }
        }
        return true;
      }
    
      /**
       * Checks all the properties that should always hold of a map. Also calls {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        try {
          return generator.invoke(this, args);
        } catch (InvocationTargetException e) {
          throwIfUnchecked(e.getCause());
          throw new RuntimeException(e.getCause());
        } catch (Exception e) {
          throwIfUnchecked(e);
          throw new RuntimeException(e);
        }
      }
    
      private final class FreshInvocationHandler extends AbstractInvocationHandler {
        private final int identity = generateInt();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Splitter.java

       * split piece <i>may be longer than the specified fixed length</i>. This is because the splitter
       * will <i>stop splitting when the limit is reached</i>, and just return the final piece as-is.
       *
       * <p><b>Exception:</b> for consistency with separator-based splitters, {@code split("")} does not
       * yield an empty iterable, but an iterable containing {@code ""}. This is the only case in which
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // java serialization not supported in GWT.
      public void testImmutableEnumSet_deserializationMakesDefensiveCopy() throws Exception {
        ImmutableSet<SomeEnum> original = Sets.immutableEnumSet(SomeEnum.A, SomeEnum.B);
        int handleOffset = 6;
        byte[] serializedForm = serializeWithBackReference(original, handleOffset);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
Back to top