Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Howard (0.19 sec)

  1. android/guava/src/com/google/common/math/DoubleMath.java

     *
     * @author Louis Wasserman
     * @since 11.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class DoubleMath {
      /*
       * This method returns a value y such that rounding y DOWN (towards zero) gives the same result as
       * rounding x according to the specified mode.
       */
      @GwtIncompatible // #isMathematicalInteger, com.google.common.math.DoubleUtils
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

       * of {@code iterator2}.
       *
       * <p>Note that this will modify the supplied iterators, since they will have been advanced some
       * number of elements forward.
       */
      public static boolean elementsEqual(Iterator<?> iterator1, Iterator<?> iterator2) {
        while (iterator1.hasNext()) {
          if (!iterator2.hasNext()) {
            return false;
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

        BiMapPair<K, V> copy = SerializableTester.reserialize(pair);
        assertEquals(pair.forward, copy.forward);
        assertEquals(pair.backward, copy.backward);
        assertSame(copy.backward, copy.forward.inverse());
        assertSame(copy.forward, copy.backward.inverse());
      }
    
      private static class BiMapPair<K, V> implements Serializable {
        final BiMap<K, V> forward;
        final BiMap<V, K> backward;
    
        BiMapPair(BiMap<K, V> original) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

        BiMapPair<K, V> copy = SerializableTester.reserialize(pair);
        assertEquals(pair.forward, copy.forward);
        assertEquals(pair.backward, copy.backward);
        assertSame(copy.backward, copy.forward.inverse());
        assertSame(copy.forward, copy.backward.inverse());
      }
    
      private static class BiMapPair<K, V> implements Serializable {
        final BiMap<K, V> forward;
        final BiMap<V, K> backward;
    
        BiMapPair(BiMap<K, V> original) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. android/guava/src/com/google/common/collect/Sets.java

        private final NavigableSet<E> forward;
    
        DescendingSet(NavigableSet<E> forward) {
          this.forward = forward;
        }
    
        @Override
        protected NavigableSet<E> delegate() {
          return forward;
        }
    
        @Override
        @CheckForNull
        public E lower(@ParametricNullness E e) {
          return forward.higher(e);
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

            }
    
            return s;
        }
    
        /**
         * Removes the leading directory separator from the specified filesystem path (if any). For platform-independent
         * behavior, this method accepts both the forward slash and the backward slash as separator.
         *
         * @param path The filesystem path, may be <code>null</code>.
         * @return The altered filesystem path or <code>null</code> if the input path was <code>null</code>.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  9. 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)
  10. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          } catch (IllegalAccessException e) {
            throw new RuntimeException(e);
          } catch (InvocationTargetException e) {
            throw Throwables.propagate(e.getCause());
          }
          assertEquals("Failed to forward to " + method, 1, called.get());
        }
    
        @Override
        public String toString() {
          return "dummy " + interfaceType.getSimpleName();
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top