Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getInverse (0.05 sec)

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

      }
    
      @Override
      @CheckForNull
      public V get(@CheckForNull Object key) {
        int entry = findEntryByKey(key);
        return (entry == ABSENT) ? null : values[entry];
      }
    
      @CheckForNull
      K getInverse(@CheckForNull Object value) {
        int entry = findEntryByValue(value);
        return (entry == ABSENT) ? null : keys[entry];
      }
    
      @Override
      @CanIgnoreReturnValue
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractBiMap.java

        delegate = forward;
        inverse = makeInverse(backward);
      }
    
      AbstractBiMap<V, K> makeInverse(Map<V, K> backward) {
        return new Inverse<>(backward, this);
      }
    
      void setInverse(AbstractBiMap<V, K> inverse) {
        this.inverse = inverse;
      }
    
      // Query Operations (optimizations)
    
      @Override
      public boolean containsValue(@CheckForNull Object value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
Back to top