Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for LOCAL (0.15 sec)

  1. guava/src/com/google/common/base/internal/Finalizer.java

                    (ThreadGroup) null, finalizer, threadName, defaultStackSize, inheritThreadLocals);
          } catch (Throwable t) {
            logger.log(
                Level.INFO, "Failed to create a thread without inherited thread-local values", t);
          }
        }
        if (thread == null) {
          thread = new Thread((ThreadGroup) null, finalizer, threadName);
        }
        thread.setDaemon(true);
    
        try {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(new TypeToken<List<String>>() {}, t);
      }
    
      public void testNonStaticLocalClass() {
        class Local<T> {}
        TypeToken<Local<String>> type = new TypeToken<Local<String>>() {};
        assertEquals(Types.newParameterizedType(Local.class, String.class), type.getType());
        assertEquals(new Local<String>() {}.getClass().getGenericSuperclass(), type.getType());
      }
    
      public void testStaticLocalClass() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/MediaType.java

        // racy single-check idiom, this is safe because Optional is immutable.
        Optional<Charset> local = parsedCharset;
        if (local == null) {
          String value = null;
          local = Optional.absent();
          for (String currentValue : parameters.get(CHARSET_ATTRIBUTE)) {
            if (value == null) {
              value = currentValue;
              local = Optional.of(Charset.forName(value));
            } else if (!value.equals(currentValue)) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          checkValidState(cache);
    
          assertThrows(NullPointerException.class, () -> entry.setValue(null));
          checkValidState(cache);
        }
      }
    
      /* ---------------- Local utilities -------------- */
    
      /** Most of the tests in this class run against every one of these caches. */
      private Iterable<LoadingCache<Object, Object>> caches() {
        // lots of different ways to configure a LoadingCache
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        checkNotNull(fromKey);
        return newView(sortedDelegate.tailMap(fromKey));
      }
    
      public ImmutableSortedMap<K, V> tailMap(K fromKeyParam, boolean inclusive) {
        // Declare a "true" local variable so that the Checker Framework will infer nullness.
        K fromKey = fromKeyParam;
        checkNotNull(fromKey);
        if (!inclusive) {
          fromKey = higher(fromKey);
          if (fromKey == null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactHashSet.java

     */
    @GwtIncompatible // not worth using in GWT for now
    @ElementTypesAreNonnullByDefault
    class CompactHashSet<E extends @Nullable Object> extends AbstractSet<E> implements Serializable {
      // TODO(user): cache all field accesses in local vars
    
      /** Creates an empty {@code CompactHashSet} instance. */
      public static <E extends @Nullable Object> CompactHashSet<E> create() {
        return new CompactHashSet<>();
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
Back to top