Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for Howard (0.2 sec)

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

      /** Package-private constructor for creating a map-backed bimap. */
      AbstractBiMap(Map<K, V> forward, Map<V, K> backward) {
        setDelegates(forward, backward);
      }
    
      /** Private constructor for inverse bimap. */
      private AbstractBiMap(Map<K, V> backward, AbstractBiMap<V, K> forward) {
        delegate = backward;
        inverse = forward;
      }
    
      @Override
      protected Map<K, V> delegate() {
        return delegate;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingMultiset.java

       * #iterator} to forward to this implementation.
       *
       * @since 7.0
       */
      protected Iterator<E> standardIterator() {
        return Multisets.iteratorImpl(this);
      }
    
      /**
       * A sensible, albeit inefficient, definition of {@link #size} in terms of {@link #entrySet}. If
       * you override {@link #entrySet}, you may wish to override {@link #size} to forward to this
       * implementation.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

                Currency.FRANC, Country.SWITZERLAND);
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map);
    
        // forward map ordered by currency
        assertThat(bimap.keySet())
            .containsExactly(Currency.DOLLAR, Currency.FRANC, Currency.PESO)
            .inOrder();
        // forward map ordered by currency (even for country values)
        assertThat(bimap.values())
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

                Currency.FRANC, Country.SWITZERLAND);
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map);
    
        // forward map ordered by currency
        assertThat(bimap.keySet())
            .containsExactly(Currency.DOLLAR, Currency.FRANC, Currency.PESO)
            .inOrder();
        // forward map ordered by currency (even for country values)
        assertThat(bimap.values())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/HashBiMap.java

        private final HashBiMap<K, V> forward;
    
        Inverse(HashBiMap<K, V> forward) {
          this.forward = forward;
        }
    
        @Override
        public int size() {
          return forward.size;
        }
    
        @Override
        public boolean containsKey(@CheckForNull Object key) {
          return forward.containsValue(key);
        }
    
        @Override
        @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/HashBiMap.java

          implements BiMap<V, K>, Serializable {
        BiMap<K, V> forward() {
          return HashBiMap.this;
        }
    
        @Override
        public int size() {
          return size;
        }
    
        @Override
        public void clear() {
          forward().clear();
        }
    
        @Override
        public boolean containsKey(@CheckForNull Object value) {
          return forward().containsValue(value);
        }
    
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/IntMath.java

        int rem = p - q * div; // equal to p % q
    
        if (rem == 0) {
          return div;
        }
    
        /*
         * Normal Java division rounds towards 0, consistently with RoundingMode.DOWN. We just have to
         * deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of
         * p / q.
         *
         * signum is 1 if p and q are both nonnegative or both negative, and -1 otherwise.
         */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/LongMath.java

        long rem = p - q * div; // equals p % q
    
        if (rem == 0) {
          return div;
        }
    
        /*
         * Normal Java division rounds towards 0, consistently with RoundingMode.DOWN. We just have to
         * deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of
         * p / q.
         *
         * signum is 1 if p and q are both nonnegative or both negative, and -1 otherwise.
         */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

    import com.google.common.cache.TestingRemovalListeners.CountingRemovalListener;
    import java.util.List;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * Tests relating to cache eviction: what does and doesn't count toward maximumSize, what happens
     * when maximumSize is reached, etc.
     *
     * @author mike nonemacher
     */
    public class CacheEvictionTest extends TestCase {
      static final int MAX_SIZE = 100;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

          }
    
          private List<Multiset.Entry<E>> snapshot() {
            List<Multiset.Entry<E>> list = Lists.newArrayListWithExpectedSize(size());
            // not Iterables.addAll(list, this), because that'll forward back here
            Iterators.addAll(list, iterator());
            return list;
          }
    
          @Override
          public boolean remove(Object object) {
            if (object instanceof Multiset.Entry) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
Back to top