Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 136 for sheugh (0.18 sec)

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

       * time, and {@link Entry#setValue} modifies that value. Removing the mapping from the multimap
       * does not alter the value returned by {@code getValue()}, though a subsequent {@code setValue()}
       * call won't update the multimap but will lead to a revised value being returned by {@code
       * getValue()}.
       */
      @Override
      public List<Entry<K, V>> entries() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/HashBiMap.java

          return key;
        }
    
        @Override
        @ParametricNullness
        public V getValue() {
          updateIndex();
          /*
           * If the entry has been removed from the map, we return null, even though that might not be a
           * valid value. That's the best we can do, short of holding a reference to the most recently
           * seen value. And while we *could* do that, we aren't required to: Map.Entry explicitly says
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Monitor.java

      //
      // 2. Since you can enter the monitor without a guard at all, some
      //    places you'll have monitor.enter()/monitor.leave() and other
      //    places you'll have guard.enter()/guard.leave() even though
      //    it's the same lock being acquired underneath. Always using
      //    monitor.enterXXX()/monitor.leave() will make it really clear
      //    which lock is held at any point in the code.
      //
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IteratorsTest.java

        b = Arrays.<@Nullable Integer>asList(4, 8, null, 16, 23, 42);
        assertTrue(Iterators.elementsEqual(a.iterator(), b.iterator()));
    
        // Different Iterable types (still equal elements, though).
        a = ImmutableList.of(4, 8, 15, 16, 23, 42);
        b = asList(4, 8, 15, 16, 23, 42);
        assertTrue(Iterators.elementsEqual(a.iterator(), b.iterator()));
    
        // An element differs.
    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)
  5. android/guava/src/com/google/common/math/LongMath.java

             * and halfSquare are integers, this is equivalent to testing whether or not x <=
             * halfSquare. (We have to deal with overflow, though.)
             *
             * If we treat halfSquare as an unsigned long, we know that
             *            sqrtFloor^2 <= x < (sqrtFloor + 1)^2
             * halfSquare - sqrtFloor <= x < halfSquare + sqrtFloor + 1
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ComputationException.java

     *     code that is still catching {@code ComputationException} may need to be updated to catch some
     *     of those types instead. (Note that this type, though deprecated, is not planned to be removed
     *     from Guava.)
     */
    @Deprecated
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class ComputationException extends RuntimeException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Aug 04 13:28:27 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

          assertEquals(property.key() + "=" + property.value(), property.toString());
        }
      }
    
      public void testNoNullValues() {
        for (StandardSystemProperty property : StandardSystemProperty.values()) {
          // Even though the contract in System.getProperties() specifies that a value will exist for
          // all of the listed keys, for some reason the "java.compiler" key returns null in some JVMs.
          if (property == JAVA_COMPILER) {
            continue;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/LegacyComparable.java

    /**
     * A class that implements {@code Comparable} without generics, such as those found in libraries
     * that support Java 1.4 and before. Our library needs to do the bare minimum to accommodate such
     * types, though their use may still require an explicit type parameter and/or warning suppression.
     *
     * @author Kevin Bourrillion
     */
    @SuppressWarnings({"ComparableType", "rawtypes"}) // https://github.com/google/guava/issues/989
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/ByteSinkTester.java

     * as sub-suites for testing the {@code CharSink} view in the same way.
     *
     * @author Colin Decker
     */
    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    public class ByteSinkTester extends SourceSinkTester<ByteSink, byte[], ByteSinkFactory> {
    
      private static final ImmutableList<Method> testMethods = getTestMethods(ByteSinkTester.class);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CharSinkTester.java

     * Generates tests of all methods on a {@code CharSink} given various inputs written to it.
     *
     * @author Colin Decker
     */
    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    public class CharSinkTester extends SourceSinkTester<CharSink, String, CharSinkFactory> {
    
      private static final ImmutableList<Method> testMethods = getTestMethods(CharSinkTester.class);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4K bytes
    - Viewed (0)
Back to top