Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for addr (0.23 sec)

  1. guava-tests/test/com/google/common/collect/SetsTest.java

        Set<Set<Integer>> expected = newHashSet();
        expected.add(ImmutableSet.<Integer>of());
        expected.add(ImmutableSet.of(1));
        expected.add(ImmutableSet.of(2));
        expected.add(ImmutableSet.of(3));
        expected.add(ImmutableSet.of(1, 2));
        expected.add(ImmutableSet.of(1, 3));
        expected.add(ImmutableSet.of(2, 3));
        expected.add(ImmutableSet.of(1, 2, 3));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSortedMap.java

         * #build} to fail.
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> put(K key, V value) {
          super.put(key, value);
          return this;
        }
    
        /**
         * Adds the given {@code entry} to the map, making it immutable if necessary. Duplicate keys,
         * according to the comparator (which might be the keys' natural order), are not allowed, and
         * will cause {@link #build} to fail.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

       * is what most users want and expect it to do.
       *
       * <p>This behavior can't be broadly guaranteed, but has been tested with OpenJDK 1.7 and 1.8.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
       * @return a new, empty hash set with enough capacity to hold {@code expectedSize} elements
       *     without resizing
       * @throws IllegalArgumentException if {@code expectedSize} is negative
       */
    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. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

          StandardSubjectBuilder.forCustomFailureStrategy(
              new FailureStrategy() {
                @Override
                public void fail(AssertionError failure) {
                  failures.add(failure);
                }
              });
    
      final ListeningExecutorService executor =
          MoreExecutors.listeningDecorator(newSingleThreadExecutor());
      final ExecutorService closingExecutor = newSingleThreadExecutor();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      private static ImmutableSet<TypeToken<?>> arrayInterfaces() {
        ImmutableSet.Builder<TypeToken<?>> builder = ImmutableSet.builder();
        for (Class<?> interfaceType : Object[].class.getInterfaces()) {
          builder.add(TypeToken.of(interfaceType));
        }
        return builder.build();
      }
    
      private static void assertIsPrimitive(TypeToken<?> type) {
        assertTrue(type.isPrimitive());
        assertNotWrapper(type);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Iterators.java

          Iterator<? extends T> iterator, Class<@NonNull T> type) {
        List<T> list = Lists.newArrayList(iterator);
        return Iterables.<T>toArray(list, type);
      }
    
      /**
       * Adds all elements in {@code iterator} to {@code collection}. The iterator will be left
       * exhausted: its {@code hasNext()} method will return {@code false}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
Back to top