Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 60 for Howard (0.17 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. guava/src/com/google/common/collect/ImmutableBiMap.java

          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map;
          // TODO(lowasser): if we need to make a copy of a BiMap because the
          // forward map is a view, don't make a copy of the non-view delegate map
          if (!bimap.isPartialView()) {
            return bimap;
          }
        }
        return copyOf(map.entrySet());
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 22.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSetMultimapAsMapImplementsMapTest.java

    import java.util.Collection;
    import java.util.Map;
    
    /**
     * Test {@link Multimap#asMap()} for an {@link ImmutableSetMultimap} with {@link MapInterfaceTest}.
     *
     * @author Mike Ward
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class ImmutableSetMultimapAsMapImplementsMapTest
        extends AbstractMultimapAsMapImplementsMapTest {
    
      public ImmutableSetMultimapAsMapImplementsMapTest() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertTrue(Iterables.elementsEqual(LegacyComparable.VALUES_FORWARD, set));
      }
    
      public void testLegacyComparable_copyOf_iterator() {
        ImmutableSortedSet<LegacyComparable> set =
            ImmutableSortedSet.copyOf(LegacyComparable.VALUES_BACKWARD.iterator());
        assertTrue(Iterables.elementsEqual(LegacyComparable.VALUES_FORWARD, set));
      }
    
      public void testLegacyComparable_builder_natural() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                return new ForwardingRunnable(runnable) {
                  @Override
                  public void run() {}
                };
              }
            },
            "run()",
            "Failed to forward");
      }
    
      public void testRedundantForwarding() {
        assertFailure(
            Runnable.class,
            new Function<Runnable, Runnable>() {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  6. 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)
  7. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

        }
    
        private List<Multiset.Entry<E>> snapshot() {
          List<Multiset.Entry<E>> list = Lists.newArrayListWithExpectedSize(size());
          // Not Iterables.addAll(list, this), because that'll forward right back here.
          Iterators.addAll(list, iterator());
          return list;
        }
      }
    
      /** @serialData the ConcurrentMap of elements and their counts. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Splitter.java

            if (limit == 1) {
              // The limit has been reached, return the rest of the string as the
              // final item. This is tested after empty string removal so that
              // empty strings do not count towards the limit.
              end = toSplit.length();
              offset = -1;
              // Since we may have changed the end, we need to trim it again.
              while (end > start && trimmer.matches(toSplit.charAt(end - 1))) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/CharMatcher.java

      /**
       * Returns the index of the first matching BMP character in a character sequence, or {@code -1} if
       * no matching character is present.
       *
       * <p>The default implementation iterates over the sequence in forward order calling {@link
       * #matches} for each character.
       *
       * @param sequence the character sequence to examine from the beginning
       * @return an index, or {@code -1} if no character matches
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeToken.java

            return delegate.getSuperclass(type);
          }
        }
      }
    
      // This happens to be the hash of the class as of now. So setting it makes a backward compatible
      // change. Going forward, if any incompatible change is added, we can change the UID back to 1.
      private static final long serialVersionUID = 3637540370352322684L;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
Back to top