Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for toIntExact (0.12 sec)

  1. android/guava/src/com/google/common/primitives/Ints.java

      }
    
      /**
       * Returns the {@code int} value that is equal to {@code value}, if possible.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Use {@link
       * Math#toIntExact(long)} instead, but be aware that that method throws {@link
       * ArithmeticException} rather than {@link IllegalArgumentException}.
       *
       * @param value any value in the range of the {@code int} type
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                            .toList()
                            .listIterator(index);
                }
    
                @Override
                public int size() {
                    return Math.toIntExact(sources().count());
                }
    
                @Override
                public boolean isEmpty() {
                    return sources().findAny().isEmpty();
                }
    
                @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
Back to top