Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for ANY (0.01 sec)

  1. android/guava/src/com/google/common/util/concurrent/Futures.java

       *   <li>Any {@link TimeoutException} is wrapped in an {@code X}.
       *   <li>Any {@link CancellationException} is propagated untouched, as is any other {@link
       *       RuntimeException} (though {@code get} implementations are discouraged from throwing such
       *       exceptions).
       * </ul>
       *
       * <p>The overall principle is to continue to treat every checked exception as a checked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Preconditions.java

     *
     * 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.
     */
    
    package com.google.common.base;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/CacheBuilder.java

       * strong values, and no automatic eviction of any kind.
       *
       * <p>Note that while this return type is {@code CacheBuilder<Object, Object>}, type parameters on
       * the {@link #build} methods allow you to create a cache of any key and value type desired.
       */
      public static CacheBuilder<Object, Object> newBuilder() {
        return new CacheBuilder<>();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

          }
    
          override fun matches(o: Any?): Boolean = (o as Long?)!! > value
        }
    
      private fun matchesProtocol(protocol: Protocol?): Matcher<Response?> =
        object : BaseMatcher<Response?>() {
          override fun describeTo(description: Description?) {
            description!!.appendText("is HTTP/2")
          }
    
          override fun matches(o: Any?): Boolean = (o as Response?)!!.protocol == protocol
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/CharMatcher.java

        }
      }
    
      // Static constant implementation classes
    
      /** Implementation of {@link #any()}. */
      private static final class Any extends NamedFastMatcher {
    
        static final CharMatcher INSTANCE = new Any();
    
        private Any() {
          super("CharMatcher.any()");
        }
    
        @Override
        public boolean matches(char c) {
          return true;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

       *     sets should appear in the resulting lists
       * @param <B> any common base class shared by all axes (often just {@link Object})
       * @return the Cartesian product, as an immutable set containing immutable lists
       * @throws NullPointerException if {@code sets}, any one of the {@code sets}, or any element of a
       *     provided set is null
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterators.java

     * 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.
     */
    
    package com.google.common.collect;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/IteratorsTest.java

      public void testAny() {
        List<String> list = new ArrayList<>();
        Predicate<String> predicate = equalTo("pants");
    
        assertFalse(any(list.iterator(), predicate));
        list.add("cool");
        assertFalse(any(list.iterator(), predicate));
        list.add("pants");
        assertTrue(any(list.iterator(), predicate));
      }
    
      public void testAll() {
        List<String> list = new ArrayList<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * look at table entries if it is 0.
         *
         * - All (synchronized) write operations should write to the "count" field after structurally
         * changing any bin. The operations must not take any action that could even momentarily
         * cause a concurrent read operation to see inconsistent data. This is made easier by the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimaps.java

       *     keyFunction} on each value in the input collection to that value
       * @throws NullPointerException if any element of {@code values} is {@code null}, or if {@code
       *     keyFunction} produces {@code null} for any key
       */
      public static <K, V> ImmutableListMultimap<K, V> index(
          Iterable<V> values, Function<? super V, K> keyFunction) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
Back to top