Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for inverse (0.25 sec)

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

        /* No aliasing on inverse operations. */
        assertSame(unmod.inverse(), unmod.inverse());
        assertSame(unmod, unmod.inverse().inverse());
    
        /* Unmodifiable is a view. */
        mod.put(4, "four");
        assertEquals(true, unmod.get(4).equals("four"));
        assertEquals(true, unmod.inverse().get("four").equals(4));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

        /* No aliasing on inverse operations. */
        assertSame(unmod.inverse(), unmod.inverse());
        assertSame(unmod, unmod.inverse().inverse());
    
        /* Unmodifiable is a view. */
        mod.put(4, "four");
        assertEquals(true, unmod.get(4).equals("four"));
        assertEquals(true, unmod.inverse().get("four").equals(4));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

            return delegate().forcePut(key, value);
          }
        }
    
        @Override
        public BiMap<V, K> inverse() {
          synchronized (mutex) {
            if (inverse == null) {
              inverse = new SynchronizedBiMap<>(delegate().inverse(), mutex, this);
            }
            return inverse;
          }
        }
    
        private static final long serialVersionUID = 0;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        }
        return false;
      }
    
      /**
       * Returns a value that satisfies the contract of the {@link #value} field based on the state of
       * given future.
       *
       * <p>This is approximately the inverse of {@link #getDoneValue(Object)}
       */
      private static Object getFutureValue(ListenableFuture<?> future) {
        if (future instanceof Trusted) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  5. src/bytes/bytes_test.go

    		}
    	}
    }
    
    func tenRunes(r rune) string {
    	runes := make([]rune, 10)
    	for i := range runes {
    		runes[i] = r
    	}
    	return string(runes)
    }
    
    // User-defined self-inverse mapping function
    func rot13(r rune) rune {
    	const step = 13
    	if r >= 'a' && r <= 'z' {
    		return ((r - 'a' + step) % 26) + 'a'
    	}
    	if r >= 'A' && r <= 'Z' {
    		return ((r - 'A' + step) % 26) + 'A'
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

       * Copies each key-value mapping in {@code source} into {@code dest}, with its key and value
       * reversed.
       *
       * <p>If {@code source} is an {@link ImmutableMultimap}, consider using {@link
       * ImmutableMultimap#inverse} instead.
       *
       * @param source any multimap
       * @param dest the multimap to copy into; usually empty
       * @return {@code dest}
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  7. src/main/webapp/css/admin/font-awesome.min.css

    k{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-acquisitions-incorporated:before{content:"\f6af"}.fa-ad:before{content:"\f641"}.fa-address-book:before{content:"\f2b9"}...
    CSS
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Dec 14 21:22:25 GMT 2019
    - 55.8K bytes
    - Viewed (5)
  8. src/main/webapp/css/font-awesome.min.css

    k{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-acquisitions-incorporated:before{content:"\f6af"}.fa-ad:before{content:"\f641"}.fa-address-book:before{content:"\f2b9"}...
    CSS
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Dec 14 21:22:25 GMT 2019
    - 55.8K bytes
    - Viewed (4)
  9. guava-tests/test/com/google/common/collect/SetsTest.java

        ImmutableSet<Integer> elements = ImmutableSet.of(1, 2, 3, 4);
        Set<Set<Integer>> forward = powerSet(elements);
        Set<Set<Integer>> reverse = powerSet(ImmutableSet.copyOf(elements.asList().reverse()));
        new EqualsTester().addEqualityGroup(forward, reverse).testEquals();
      }
    
      /**
       * Test that a hash code miscomputed by "input.hashCode() * tooFarValue / 2" is correct under our
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      /**
       * Returns a builder that creates immutable sorted maps whose keys are ordered by the reverse of
       * their natural ordering.
       */
      public static <K extends Comparable<?>, V> Builder<K, V> reverseOrder() {
        return new Builder<>(Ordering.<K>natural().reverse());
      }
    
      /**
       * A builder for creating immutable sorted map instances, especially {@code public static final}
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
Back to top