Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 570 for asList (0.13 sec)

  1. guava-testlib/src/com/google/common/collect/testing/ConcurrentMapTestSuiteBuilder.java

     * the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.testers.ConcurrentMapPutIfAbsentTester;
    import com.google.common.collect.testing.testers.ConcurrentMapRemoveTester;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java

     * the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.assertEqualInOrder;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ListMultimap;
    import java.util.Collection;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

    import static com.google.common.collect.Sets.newHashSet;
    import static java.lang.reflect.Modifier.isPublic;
    import static java.lang.reflect.Modifier.isStatic;
    import static java.util.Arrays.asList;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Function;
    import com.google.common.base.Joiner;
    import com.google.common.base.Objects;
    import java.lang.reflect.Method;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return asList(elements.clone());
                  }
                })
            .named("Arrays.asList")
            .withFeatures(
                ListFeature.SUPPORTS_SET,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/FauxveridesTest.java

    import static com.google.common.collect.Sets.newHashSet;
    import static java.lang.reflect.Modifier.isPublic;
    import static java.lang.reflect.Modifier.isStatic;
    import static java.util.Arrays.asList;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Function;
    import com.google.common.base.Joiner;
    import com.google.common.base.Objects;
    import java.lang.reflect.Method;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.ImmutableBiMap;
    import com.google.common.collect.Maps;
    import java.util.Map;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Ints.java

       * <p><b>Note:</b> when possible, you should represent your data as an {@link ImmutableIntArray}
       * instead, which has an {@link ImmutableIntArray#asList asList} view.
       *
       * @param backingArray the array to back the list
       * @return a list view of the array
       */
      public static List<Integer> asList(int... backingArray) {
        if (backingArray.length == 0) {
          return Collections.emptyList();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/SingletonImmutableSet.java

    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    @ElementTypesAreNonnullByDefault
    final class SingletonImmutableSet<E> extends ImmutableSet<E> {
      // We deliberately avoid caching the asList and hashCode here, to ensure that with
      // compressed oops, a SingletonImmutableSet packs all the way down to the optimal 16 bytes.
    
      final transient E element;
    
      SingletonImmutableSet(E element) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Multimaps.filterKeys;
    import static com.google.common.collect.Multimaps.filterValues;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Predicate;
    import java.util.Map.Entry;
    import junit.framework.TestCase;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top