Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 825 for Entry (0.02 sec)

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

      @CollectionSize.Require(absent = ZERO)
      public void testSetValue_valueAbsent() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(SEVERAL)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

        @Override
        public Entry<String, Integer>[] createArray(int length) {
          return (Entry<String, Integer>[]) new Entry<?, ?>[length];
        }
    
        @Override
        public Iterable<Entry<String, Integer>> order(List<Entry<String, Integer>> insertionOrder) {
          return new Ordering<Entry<String, Integer>>() {
            @Override
            public int compare(Entry<String, Integer> left, Entry<String, Integer> right) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapKeySetTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      public void testKeySet() {
        for (Entry<K, V> entry : getSampleElements()) {
          assertTrue(multimap().keySet().contains(entry.getKey()));
        }
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testKeySetContainsNullKeyPresent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java

      enum ConstructionPathway {
        COPY_OF_MAP {
          @Override
          public ImmutableBiMap<Object, Object> create(List<Entry<?, ?>> entries) {
            Map<Object, Object> sourceMap = new LinkedHashMap<>();
            for (Entry<?, ?> entry : entries) {
              if (sourceMap.put(entry.getKey(), entry.getValue()) != null) {
                throw new UnsupportedOperationException("duplicate key");
              }
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

       */
      @CheckForNull
      protected Entry<E> standardPollFirstEntry() {
        Iterator<Entry<E>> entryIterator = entrySet().iterator();
        if (!entryIterator.hasNext()) {
          return null;
        }
        Entry<E> entry = entryIterator.next();
        entry = Multisets.immutableEntry(entry.getElement(), entry.getCount());
        entryIterator.remove();
        return entry;
      }
    
      @Override
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/HashBiMap.java

            entry != null;
            entry = entry.nextInKToVBucket) {
          if (keyHash == entry.keyHash && Objects.equal(key, entry.key)) {
            return entry;
          }
        }
        return null;
      }
    
      @CheckForNull
      private BiEntry<K, V> seekByValue(@CheckForNull Object value, int valueHash) {
        for (BiEntry<K, V> entry = hashTableVToK[valueHash & mask];
            entry != null;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/DcerpcBinding.java

        public String toString () {
            String ret = this.proto + ":" + this.server + "[" + this.endpoint;
            if ( this.options != null ) {
                for ( Entry<String, Object> entry : this.options.entrySet() ) {
                    ret += "," + entry.getKey() + "=" + entry.getValue();
                }
            }
            ret += "]";
            return ret;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.5K bytes
    - Viewed (0)
  8. internal/logger/audit.go

    		}
    
    		entry.AccessKey = reqInfo.Cred.AccessKey
    		entry.ParentUser = reqInfo.Cred.ParentUser
    
    		entry.API.Name = reqInfo.API
    		entry.API.Bucket = reqInfo.BucketName
    		entry.API.Object = reqInfo.ObjectName
    		entry.API.Objects = make([]audit.ObjectVersion, 0, len(reqInfo.Objects))
    		for _, ov := range reqInfo.Objects {
    			entry.API.Objects = append(entry.API.Objects, audit.ObjectVersion{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/HashBiMap.java

        removeEntry(entry, keyHash, Hashing.smearedHash(values[entry]));
      }
    
      /** Removes the entry at the specified index, given the hash of its value. */
      void removeEntryValueHashKnown(int entry, int valueHash) {
        removeEntry(entry, Hashing.smearedHash(keys[entry]), valueHash);
      }
    
      /**
       * Moves the entry previously positioned at {@code src} to {@code dest}. Assumes the entry
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/Weigher.java

     */
    @GwtCompatible
    @FunctionalInterface
    @ElementTypesAreNonnullByDefault
    public interface Weigher<K, V> {
    
      /**
       * Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply
       * relative to each other.
       *
       * @return the weight of the entry; must be non-negative
       */
      int weigh(K key, V value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 1.1K bytes
    - Viewed (0)
Back to top