Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 513 for getKeys (0.04 seconds)

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

      private static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> entry(
          K key, V value) {
        return new AbstractMapEntry<K, V>() {
          @Override
          public K getKey() {
            return key;
          }
    
          @Override
          public V getValue() {
            return value;
          }
        };
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

            // populate the provides section
            Properties provides = model.getProvides();
            for (Entry<Object, Object> provide : provides.entrySet()) {
                String key = (String) provide.getKey();
                String value = (String) provide.getValue();
    
                if (value == null) {
                    throw new MisconfiguredToolchainException(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

            return data;
        }
    
        /**
         * Get size of this message
         *
         * @return size in bytes (32)
         */
        public static int size() {
            return 32;
        }
    
        // Getters and setters
    
        /**
         * Get the minimum SMB Direct protocol version
         *
         * @return minimum protocol version
         */
        public int getMinVersion() {
            return minVersion;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/witness/WitnessRegistration.java

         * @return true if the registration is expired
         */
        public boolean isExpired(long timeoutMs) {
            return System.currentTimeMillis() - lastHeartbeat > timeoutMs;
        }
    
        // Getters and setters
    
        /**
         * Gets the last heartbeat timestamp.
         *
         * @return the last heartbeat timestamp in milliseconds
         */
        public long getLastHeartbeat() {
            return lastHeartbeat;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java

            }
    
            LinkRenderer linkRenderer = new LinkRenderer(doc, model);
            for (Map.Entry<String, ClassDoc> entry : extensionDoc.getExtensionClasses().entrySet()) {
                String id = entry.getKey();
                ClassDoc type = entry.getValue();
                PropertyMetaData propertyMetaData = new PropertyMetaData(id, extensionDoc.getTargetClass().getClassMetaData());
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

        return (result == null) ? elementSet = new ElementSet() : result;
      }
    
      @WeakOuter
      private final class ElementSet extends IndexedImmutableSet<E> {
    
        @Override
        E get(int index) {
          return contents.getKey(index);
        }
    
        @Override
        public boolean contains(@Nullable Object object) {
          return RegularImmutableMultiset.this.contains(object);
        }
    
        @Override
        boolean isPartialView() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableMapEntrySet.java

        return map().size();
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        if (object instanceof Entry) {
          Entry<?, ?> entry = (Entry<?, ?>) object;
          V value = map().get(entry.getKey());
          return value != null && value.equals(entry.getValue());
        }
        return false;
      }
    
      @Override
      boolean isPartialView() {
        return map().isPartialView();
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java

            }
            this.key = Arrays.copyOf(key, LEASE_KEY_SIZE);
        }
    
        /**
         * Get the lease key bytes
         *
         * @return copy of the 16-byte lease key
         */
        public byte[] getKey() {
            return Arrays.copyOf(key, LEASE_KEY_SIZE);
        }
    
        /**
         * Write the lease key to a buffer
         *
         * @param dst destination buffer
         * @param dstIndex starting index in destination buffer
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

        @Override
        public String getBaseVersion() {
            // Don't want the artifact's version in here, as this is stored in the directory above that
            return null;
        }
    
        @Override
        public Object getKey() {
            return "artifact " + artifact.getGroupId() + ":" + artifact.getArtifactId();
        }
    
        @Override
        public boolean isSnapshot() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

                                            + ":" + goal)))));
            return goals.entrySet().stream()
                    .collect(Collectors.toMap(Map.Entry::getKey, e -> new LifecyclePhase(String.join(",", e.getValue()))));
        }
    
        public Map<String, LifecyclePhase> getDefaultLifecyclePhases() {
            return defaultPhases;
        }
    
        @Deprecated
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 3.7K bytes
    - Click Count (0)
Back to Top