Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for an (0.17 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

       * {@code size}. An element index may range from zero, inclusive, to {@code size}, exclusive.
       *
       * @param index a user-supplied index identifying an element of an array, list or string
       * @param size the size of that array, list or string
       * @param desc the text to use to describe this index in an error message
       * @return the value of {@code index}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * IllegalArgumentException} if passed a {@code fromKey} less than an earlier {@code fromKey}.
       * However, this method doesn't throw an exception in that situation, but instead keeps the
       * original {@code fromKey}. Similarly, this method keeps the original {@code toKey}, instead of
       * throwing an exception, if passed a {@code toKey} greater than an earlier {@code toKey}.
       */
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(1, callCount.get());
        for (int i = 0; i < count; i++) {
          // doConcurrentGet alternates between calling getUnchecked and calling get, but an unchecked
          // exception thrown by the loader is always wrapped as an UncheckedExecutionException.
          assertThat(result.get(i)).isInstanceOf(UncheckedExecutionException.class);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SetsTest.java

        try {
          units.remove(SomeEnum.B);
          fail("ImmutableEnumSet should throw an exception on remove()");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          units.add(SomeEnum.C);
          fail("ImmutableEnumSet should throw an exception on add()");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/IteratorsTest.java

     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * IllegalArgumentException} if passed a {@code fromKey} less than an earlier {@code fromKey}.
       * However, this method doesn't throw an exception in that situation, but instead keeps the
       * original {@code fromKey}. Similarly, this method keeps the original {@code toKey}, instead of
       * throwing an exception, if passed a {@code toKey} greater than an earlier {@code toKey}.
       */
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An abstract implementation of {@link ListenableFuture}, intended for advanced users only. More
     * common ways to create a {@code ListenableFuture} include instantiating a {@link SettableFuture},
     * submitting a task to a {@link ListeningExecutorService}, and deriving a {@code Future} from an
     * existing one, typically using methods like {@link Futures#transform(ListenableFuture,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(1, callCount.get());
        for (int i = 0; i < count; i++) {
          // doConcurrentGet alternates between calling getUnchecked and calling get, but an unchecked
          // exception thrown by the loader is always wrapped as an UncheckedExecutionException.
          assertThat(result.get(i)).isInstanceOf(UncheckedExecutionException.class);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapsTest.java

     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapsTest.java

     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
Back to top