Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3011 - 3020 of 3,503 for 1final (0.07 sec)

  1. guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

    import java.util.HashSet;
    import java.util.Set;
    import org.junit.Before;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    @RunWith(JUnit4.class)
    public final class InvalidatableSetTest {
      Set<Integer> wrappedSet;
      Set<Integer> copyOfWrappedSet;
      InvalidatableSet<Integer> setToTest;
    
      @Before
      public void createSets() {
        wrappedSet = new HashSet<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Count.java

    import javax.annotation.CheckForNull;
    
    /**
     * A mutable value of type {@code int}, for multisets to use in tracking counts of values.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class Count implements Serializable {
      private int value;
    
      Count(int value) {
        this.value = value;
      }
    
      public int get() {
        return value;
      }
    
      public void add(int delta) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          return ImmutableSortedSet.<String>reverseOrder().add(elements).build().descendingSet();
        }
      }
    
      public static class ImmutableSortedSetExplicitComparator extends TestStringSetGenerator {
    
        private static final Comparator<String> STRING_REVERSED = Collections.reverseOrder();
    
        @Override
        protected SortedSet<String> create(String[] elements) {
          return ImmutableSortedSet.orderedBy(STRING_REVERSED).add(elements).build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheBuilder.java

    @ElementTypesAreNonnullByDefault
    public final class CacheBuilder<K, V> {
      private static final int DEFAULT_INITIAL_CAPACITY = 16;
      private static final int DEFAULT_CONCURRENCY_LEVEL = 4;
    
      @SuppressWarnings("GoodTime") // should be a Duration
      private static final int DEFAULT_EXPIRATION_NANOS = 0;
    
      @SuppressWarnings("GoodTime") // should be a Duration
      private static final int DEFAULT_REFRESH_NANOS = 0;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestResult;
    
    /**
     * @author Max Ross
     */
    public class FeatureSpecificTestSuiteBuilderTest extends TestCase {
      private static final class MyTestSuiteBuilder
          extends FeatureSpecificTestSuiteBuilder<MyTestSuiteBuilder, String> {
        @SuppressWarnings("rawtypes") // class literals
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java

     */
    
    package com.google.common.base;
    
    import jsinterop.annotations.JsMethod;
    import jsinterop.annotations.JsPackage;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** @author Jesse Wilson */
    final class Platform {
      static CharMatcher precomputeCharMatcher(CharMatcher matcher) {
        // CharMatcher.precomputed() produces CharMatchers that are maybe a little
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 27 13:56:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java

        super(false, false, false, false, false);
      }
    
      @Override
      protected SortedMap<K, V> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      private static final Joiner joiner = Joiner.on(", ");
    
      @Override
      protected void assertMoreInvariants(Map<K, V> map) {
        // TODO: can these be moved to MapInterfaceTest?
        for (Entry<K, V> entry : map.entrySet()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

        return SetTestSuiteBuilder.using(
                new TestStringSetGenerator() {
                  @Override
                  protected Set<String> create(String[] elements) {
                    final String[] deduped = dedupe(elements);
                    return new AbstractSet<String>() {
                      @Override
                      public int size() {
                        return deduped.length;
                      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

        private List<Proxy> proxies;
    
        private List<Server> servers;
    
        private List<Mirror> mirrors;
    
        private List<Profile> profiles;
    
        private final ProjectActivation projectActivation = new ProjectActivation();
        private final ProfileActivation profileActivation = new ProfileActivation();
    
        private List<String> pluginGroups;
    
        private boolean isProjectPresent = true;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Optional.java

       */
      public static <T> Iterable<T> presentInstances(
          final Iterable<? extends Optional<? extends T>> optionals) {
        checkNotNull(optionals);
        return new Iterable<T>() {
          @Override
          public Iterator<T> iterator() {
            return new AbstractIterator<T>() {
              private final Iterator<? extends Optional<? extends T>> iterator =
                  checkNotNull(optionals.iterator());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top