Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for tool (0.14 sec)

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

      Object writeReplace() {
        return super.writeReplace();
      }
    
      // This class is never actually serialized directly, but we have to make the
      // warning go away (and suppressing would suppress for all nested classes too)
      @J2ktIncompatible // serialization
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        throw new InvalidObjectException("Use SerializedForm");
      }
    
      // This class is never actually serialized directly, but we have to make the
      // warning go away (and suppressing would suppress for all nested classes too)
      private static final long serialVersionUID = 0;
    
      /**
       * Not supported. Use {@link #toImmutableSortedMap}, which offers better type-safety, instead.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ListsTest.java

        // Changes before the partition is retrieved are reflected
        list.set(1, 4);
    
        List<Integer> first = iterator.next();
    
        // Changes after are too (unlike Iterables.partition)
        list.set(2, 5);
    
        assertEquals(asList(3, 4, 5), first);
    
        // Changes to a sublist also write through to the original list
        first.set(1, 6);
    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)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      /** Unboxes {@code obj}. Assumes that obj is not {@code null} or a {@link SetFuture}. */
      @ParametricNullness
      private V getDoneValue(Object obj) throws ExecutionException {
        // While this seems like it might be too branch-y, simple benchmarking proves it to be
        // unmeasurable (comparing done AbstractFutures with immediateFuture)
        if (obj instanceof Cancellation) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

      }
    
      private static final class PowerSet<E> extends AbstractSet<Set<E>> {
        final ImmutableMap<E, Integer> inputSet;
    
        PowerSet(Set<E> input) {
          checkArgument(
              input.size() <= 30, "Too many elements to create power set: %s > 30", input.size());
          this.inputSet = Maps.indexMap(input);
        }
    
        @Override
        public int size() {
          return 1 << inputSet.size();
        }
    
    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)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(Iterators.all(list.iterator(), predicate));
        list.add("pants");
        assertFalse(Iterators.all(list.iterator(), predicate));
      }
    
      public void testFind_firstElement() {
        Iterable<String> list = Lists.newArrayList("cool", "pants");
        Iterator<String> iterator = list.iterator();
        assertEquals("cool", Iterators.find(iterator, Predicates.equalTo("cool")));
        assertEquals("pants", iterator.next());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ListsTest.java

        // Changes before the partition is retrieved are reflected
        list.set(1, 4);
    
        List<Integer> first = iterator.next();
    
        // Changes after are too (unlike Iterables.partition)
        list.set(2, 5);
    
        assertEquals(asList(3, 4, 5), first);
    
        // Changes to a sublist also write through to the original list
        first.set(1, 6);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/HttpHeaders.java

      public static final String X_POWERED_BY = "X-Powered-By";
      /**
       * The HTTP <a href="http://tools.ietf.org/html/draft-evans-palmer-key-pinning">{@code
       * Public-Key-Pins}</a> header field name.
       *
       * @since 15.0
       */
      public static final String PUBLIC_KEY_PINS = "Public-Key-Pins";
      /**
       * The HTTP <a href="http://tools.ietf.org/html/draft-evans-palmer-key-pinning">{@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
Back to top