Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 336 for getKey (0.12 seconds)

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

          super(HashBiMap.this);
        }
    
        @Override
        public boolean contains(@Nullable Object o) {
          if (o instanceof Entry) {
            Entry<?, ?> e = (Entry<?, ?>) o;
            Object k = e.getKey();
            Object v = e.getValue();
            int eIndex = findEntryByKey(k);
            return eIndex != ABSENT && Objects.equals(v, values[eIndex]);
          }
          return false;
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 14:46:34 GMT 2025
    - 37.1K bytes
    - Click Count (0)
  2. guava/src/com/google/common/graph/MultiEdgesConnecting.java

          @Override
          protected @Nullable E computeNext() {
            while (entries.hasNext()) {
              Entry<E, ?> entry = entries.next();
              if (targetNode.equals(entry.getValue())) {
                return entry.getKey();
              }
            }
            return endOfData();
          }
        };
      }
    
      @Override
      public boolean contains(@Nullable Object edge) {
        return targetNode.equals(outEdgeToNode.get(edge));
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

            Set<Path> modifiedPoms = new HashSet<>();
            Set<Path> errorPoms = new HashSet<>();
    
            for (Map.Entry<Path, Document> entry : pomMap.entrySet()) {
                Path pomPath = entry.getKey();
                Document pomDocument = entry.getValue();
                processedPoms.add(pomPath);
    
                context.info(pomPath + " (checking for Maven 4 compatibility issues)");
                context.indent();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        for (RemovalNotification<String, String> notification : listener) {
          removalNotifications.put(notification.getKey(), notification.getValue());
          assertWithMessage("Unexpected key/value pair passed to removalListener")
              .that(notification.getValue())
              .isEqualTo(notification.getKey());
        }
    
        // All of the seed values should have been visible, so we should have gotten removal
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

          ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder();
          for (Entry<String, String> entry : entries) {
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
      @J2ktIncompatible
      @AndroidIncompatible // test-suite builders
      public static class ImmutableListMultimapCopyOfEntriesGenerator
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                List<ConflictResolver> conflictResolvers)
                throws ArtifactResolutionException {
            fireEvent(ResolutionListener.TEST_ARTIFACT, listeners, node);
    
            Object key = node.getKey();
    
            // TODO Does this check need to happen here? Had to add the same call
            // below when we iterate on child nodes -- will that suffice?
            if (managedVersions.containsKey(key)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectIndex.java

            this.indices = new HashMap<>(projects.size() * 2);
    
            for (int i = 0; i < projects.size(); i++) {
                MavenProject project = projects.get(i);
                String key = BuilderCommon.getKey(project);
    
                this.getProjects().put(key, project);
                this.getIndices().put(key, i);
            }
        }
    
        public Map<String, MavenProject> getProjects() {
            return projects;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java

            return artifact.getArtifactId();
        }
    
        @Override
        public String getBaseVersion() {
            return artifact.getBaseVersion();
        }
    
        @Override
        public Object getKey() {
            return "snapshot " + artifact.getGroupId() + ":" + artifact.getArtifactId() + ":" + artifact.getBaseVersion();
        }
    
        @Override
        public boolean isSnapshot() {
            return artifact.isSnapshot();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/DenseImmutableTable.java

        }
    
        abstract ImmutableMap<K, Integer> keyToIndex();
    
        // True if getValue never returns null.
        private boolean isFull() {
          return size == keyToIndex().size();
        }
    
        K getKey(int index) {
          return keyToIndex().keySet().asList().get(index);
        }
    
        abstract @Nullable V getValue(int keyIndex);
    
        @Override
        ImmutableSet<K> createKeySet() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java

        public Collection<? extends Metadata> prepare(Collection<? extends Artifact> artifacts) {
            for (Artifact artifact : artifacts) {
                if (artifact.isSnapshot()) {
                    Object key = LocalSnapshotMetadata.getKey(artifact);
                    LocalSnapshotMetadata snapshotMetadata = snapshots.get(key);
                    if (snapshotMetadata == null) {
                        snapshotMetadata = new LocalSnapshotMetadata(artifact, timestamp);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
Back to Top