Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for special (0.16 sec)

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

          this.executor = executor;
        }
    
        Listener() {
          this.task = null;
          this.executor = null;
        }
      }
    
      /** A special value to represent {@code null}. */
      private static final Object NULL = new Object();
    
      /** A special value to represent failure, when {@link #setException} is called successfully. */
      private static final class Failure {
        static final Failure FALLBACK_INSTANCE =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Preconditions.java

        } else { // index > size
          return lenientFormat("%s (%s) must not be greater than size (%s)", desc, index, size);
        }
      }
    
      /**
       * Ensures that {@code start} and {@code end} specify valid <i>positions</i> in an array, list or
       * string of size {@code size}, and are in order. A position index may range from zero to {@code
       * size}, inclusive.
       *
    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)
  3. android/guava/src/com/google/common/collect/Sets.java

       * description of the returned view's behavior.
       *
       * <p><b>Warning:</b> {@code Range}s always represent a range of values using the values' natural
       * ordering. {@code NavigableSet} on the other hand can specify a custom ordering via a {@link
       * Comparator}, which can violate the natural ordering. Using this method (or in general using
       * {@code Range}) with unnaturally-ordered sets can lead to unexpected and undefined behavior.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      /**
       * Segments are specialized versions of hash tables. This subclass inherits from ReentrantLock
       * opportunistically, just to simplify some locking and avoid separate construction.
       */
      @SuppressWarnings("serial") // This class is never serialized.
      abstract static class Segment<
              K, V, E extends InternalEntry<K, V, E>, S extends Segment<K, V, E, S>>
          extends ReentrantLock {
    
        /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MapsTest.java

        }
      }
    
      public void testLinkedHashMap() {
        LinkedHashMap<Integer, Integer> map = Maps.newLinkedHashMap();
        assertEquals(Collections.emptyMap(), map);
      }
    
      @SuppressWarnings("serial")
      public void testLinkedHashMapWithInitialMap() {
        Map<String, String> map =
            new LinkedHashMap<String, String>(
                ImmutableMap.of(
                    "Hello", "World",
    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)
  6. android/guava-tests/test/com/google/common/collect/MapsTest.java

        }
      }
    
      public void testLinkedHashMap() {
        LinkedHashMap<Integer, Integer> map = Maps.newLinkedHashMap();
        assertEquals(Collections.emptyMap(), map);
      }
    
      @SuppressWarnings("serial")
      public void testLinkedHashMapWithInitialMap() {
        Map<String, String> map =
            new LinkedHashMap<String, String>(
                ImmutableMap.of(
                    "Hello", "World",
    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)
  7. android/guava/src/com/google/common/collect/Multimaps.java

       * very surprising behavior from {@link Multimap#equals}.
       *
       * <p>The {@code factory}-generated and {@code map} classes determine the multimap iteration
       * order. They also specify the behavior of the {@code equals}, {@code hashCode}, and {@code
       * toString} methods for the multimap and its returned views. However, the multimap's {@code get}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Preconditions.java

        } else { // index > size
          return lenientFormat("%s (%s) must not be greater than size (%s)", desc, index, size);
        }
      }
    
      /**
       * Ensures that {@code start} and {@code end} specify valid <i>positions</i> in an array, list or
       * string of size {@code size}, and are in order. A position index may range from zero to {@code
       * size}, inclusive.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/CacheBuilder.java

       * granularity. For example, access queues and write queues are kept per segment when they are
       * required by the selected eviction algorithm. As such, when writing unit tests it is not
       * uncommon to specify {@code concurrencyLevel(1)} in order to achieve more deterministic eviction
       * behavior.
       *
       * <p>Note that future implementations may abandon segment locking in favor of more advanced
       * concurrency controls.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeToken.java

     * that it is serializable and offers numerous additional utility methods.
     *
     * @author Bob Lee
     * @author Sven Mawson
     * @author Ben Yu
     * @since 12.0
     */
    @SuppressWarnings("serial") // SimpleTypeToken is the serialized form.
    @ElementTypesAreNonnullByDefault
    public abstract class TypeToken<T> extends TypeCapture<T> implements Serializable {
    
      private final Type runtimeType;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
Back to top