Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for visit (0.2 sec)

  1. android/guava/src/com/google/common/reflect/TypeResolver.java

            map(new TypeVariableKey(vars[i]), typeArgs[i]);
          }
          visit(rawClass);
          visit(parameterizedType.getOwnerType());
        }
    
        @Override
        void visitTypeVariable(TypeVariable<?> t) {
          visit(t.getBounds());
        }
    
        @Override
        void visitWildcardType(WildcardType t) {
          visit(t.getUpperBounds());
        }
    
        private void map(TypeVariableKey var, Type arg) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeToken.java

            visit(type.getLowerBounds());
            visit(type.getUpperBounds());
          }
    
          @Override
          void visitParameterizedType(ParameterizedType type) {
            visit(type.getActualTypeArguments());
            visit(type.getOwnerType());
          }
    
          @Override
          void visitGenericArrayType(GenericArrayType type) {
            visit(type.getGenericComponentType());
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Types.java

            result.set(t.getGenericComponentType());
          }
    
          @Override
          void visitClass(Class<?> t) {
            result.set(t.getComponentType());
          }
        }.visit(type);
        return result.get();
      }
    
      /**
       * Returns {@code ? extends X} if any of {@code bounds} is a subtype of {@code X[]}; or null
       * otherwise.
       */
      @CheckForNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/HashBiMap.java

            private int indexToRemove = ABSENT;
            private int expectedModCount = biMap.modCount;
    
            // Calls to setValue on inverse entries can move already-visited entries to the end.
            // Make sure we don't visit those.
            private int remaining = biMap.size;
    
            private void checkForComodification() {
              if (biMap.modCount != expectedModCount) {
                throw new ConcurrentModificationException();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/Traverser.java

        this.successorFunction = checkNotNull(successorFunction);
      }
    
      /**
       * Creates a new traverser for the given general {@code graph}.
       *
       * <p>Traversers created using this method are guaranteed to visit each node reachable from the
       * start node(s) at most once.
       *
       * <p>If you know that no node in {@code graph} is reachable by more than one path from the start
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        int nTasks = 1000;
        int nSeededEntries = 100;
        Set<String> expectedKeys = Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries);
        // seed the map, so its segments have a count>0; otherwise, clear() won't visit the in-progress
        // entries
        for (int i = 0; i < nSeededEntries; i++) {
          String s = "b" + i;
          cache.getUnchecked(s);
          expectedKeys.add(s);
        }
        computationShouldWait.set(true);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * is now at some position before {@code index}. The second element is the one that was swapped
       * down to replace the element at {@code index}. This fact is used by iterator.remove so as to
       * visit elements during a traversal once and only once.
       */
      @VisibleForTesting
      @CanIgnoreReturnValue
      @CheckForNull
      MoveDesc<E> removeAt(int index) {
        checkPositionIndex(index, size);
        modCount++;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        int nTasks = 1000;
        int nSeededEntries = 100;
        Set<String> expectedKeys = Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries);
        // seed the map, so its segments have a count>0; otherwise, clear() won't visit the in-progress
        // entries
        for (int i = 0; i < nSeededEntries; i++) {
          String s = "b" + i;
          cache.getUnchecked(s);
          expectedKeys.add(s);
        }
        computationShouldWait.set(true);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 23.2K bytes
    - Viewed (0)
Back to top