Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 166 for accessor (0.14 sec)

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

       * key, the choice of {@link KeyAbsentBehavior} decides which index is returned.
       *
       * <p>This method runs in log(n) time on random-access lists, which offer near-constant-time
       * access to each list element.
       *
       * @param list the list to be searched.
       * @param key the value to be searched for.
       * @param comparator the comparator by which the list is ordered.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsTest.java

                        }
                        return Lists.transform(fromList, removeFirst);
                      }
                    })
                .named("Lists.transform, random access, no nulls")
                .withFeatures(
                    CollectionSize.ANY,
                    ListFeature.REMOVE_OPERATIONS,
                    CollectionFeature.SERIALIZABLE,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/CharSequenceReader.java

       * - Make `remaining` require a non-null `seq` argument. But this is a bit weird because the
       *   method, while it would avoid the instance field `seq` would still access the instance field
       *   `pos`.
       */
    
      @Override
      public synchronized int read(CharBuffer target) throws IOException {
        checkNotNull(target);
        checkOpen();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

                      ListFeature.SUPPORTS_SET)
                  .createTestSuite());
        }
        return suite;
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be
      // public named classes with a public default constructor.
    
      public static final class IntsAsListGenerator extends TestIntegerListGenerator {
        @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java

                      ListFeature.SUPPORTS_SET)
                  .createTestSuite());
        }
        return suite;
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be
      // public named classes with a public default constructor.
    
      public static final class BytesAsListGenerator extends TestByteListGenerator {
        @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

      }
    
      public static <E> Builder<E> builderWithExpectedSize(int size) {
        return new Builder<E>(size);
      }
    
      public static class Builder<E> extends ImmutableCollection.Builder<E> {
        // accessed directly by ImmutableSortedSet
        final ArrayList<E> contents;
    
        public Builder() {
          this.contents = Lists.newArrayList();
        }
    
        Builder(int initialCapacity) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertSame(EntryFactory.STRONG, EntryFactory.getFactory(Strength.STRONG, false, false));
        assertSame(EntryFactory.STRONG_ACCESS, EntryFactory.getFactory(Strength.STRONG, true, false));
        assertSame(EntryFactory.STRONG_WRITE, EntryFactory.getFactory(Strength.STRONG, false, true));
        assertSame(
            EntryFactory.STRONG_ACCESS_WRITE, EntryFactory.getFactory(Strength.STRONG, true, true));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertSame(EntryFactory.STRONG, EntryFactory.getFactory(Strength.STRONG, false, false));
        assertSame(EntryFactory.STRONG_ACCESS, EntryFactory.getFactory(Strength.STRONG, true, false));
        assertSame(EntryFactory.STRONG_WRITE, EntryFactory.getFactory(Strength.STRONG, false, true));
        assertSame(
            EntryFactory.STRONG_ACCESS_WRITE, EntryFactory.getFactory(Strength.STRONG, true, true));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/Cache.java

     * evicted or manually invalidated. The common way to build instances is using {@link CacheBuilder}.
     *
     * <p>Implementations of this interface are expected to be thread-safe, and can be safely accessed
     * by multiple concurrent threads.
     *
     * @param <K> the type of the cache's keys, which are not permitted to be null
     * @param <V> the type of the cache's values, which are not permitted to be null
     * @author Charles Fry
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      }
    
      /**
       * {@link AtomicHelper} based on {@link sun.misc.Unsafe}.
       *
       * <p>Static initialization of this class will fail if the {@link sun.misc.Unsafe} object cannot
       * be accessed.
       */
      @SuppressWarnings({"sunapi", "removal"}) // b/318391980
      private static final class UnsafeAtomicHelper extends AtomicHelper {
        static final sun.misc.Unsafe UNSAFE;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top