Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 120 for moving (0.22 sec)

  1. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        UnicodeEscaper e = new PercentEscaper("%", false);
        assertEquals("foo%7Cbar", e.escape("foo|bar"));
        assertEquals("foo%7Cbar", e.escape("foo%7Cbar")); // idempotent
      }
    
      /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */
      public void testBadArguments_null() {
        try {
          new PercentEscaper(null, false);
          fail("Expected null pointer exception for null parameter");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ComparisonChain.java

       * @since 12.0 (present as {@code compare} since 2.0)
       */
      public abstract ComparisonChain compareFalseFirst(boolean left, boolean right);
    
      /**
       * Ends this comparison chain and returns its result: a value having the same sign as the first
       * nonzero comparison result in the chain, or zero if every result was zero.
       */
      public abstract int result();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/Striped64.java

       * needed again; and for short-lived ones, it does not matter.
       */
    
      /**
       * Padded variant of AtomicLong supporting only raw accesses plus CAS. The value field is placed
       * between pads, hoping that the JVM doesn't reorder them.
       *
       * <p>JVM intrinsics note: It would be possible to use a release-only form of CAS here, if it were
       * provided.
       */
      static final class Cell {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Service.java

       * this initiates service shutdown and returns immediately. If the service is {@linkplain
       * State#NEW new}, it is {@linkplain State#TERMINATED terminated} without having been started nor
       * stopped. If the service has already been stopped, this method returns immediately without
       * taking action.
       *
       * @return this
       * @since 15.0
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Predicates.java

     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Predicates {
      private Predicates() {}
    
      // TODO(kevinb): considering having these implement a VisitablePredicate
      // interface which specifies an accept(PredicateVisitor) method.
    
      /** Returns a predicate that always evaluates to {@code true}. */
      @GwtCompatible(serializable = true)
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Converter.java

     *       create a "fake" converter for a unit test. It is unnecessary (and confusing) to <i>mock</i>
     *       the {@code Converter} type using a mocking framework.
     *   <li>Extend this class and implement its {@link #doForward} and {@link #doBackward} methods.
     *   <li><b>Java 8+ users:</b> you may prefer to pass two lambda expressions or method references to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        assertEquals(Country.class, bimap.valueType());
      }
    
      public void testIterationOrder() {
        // The enum orderings are alphabetical, leading to the bimap and its inverse
        // having inconsistent iteration orderings.
        Map<Currency, Country> map =
            ImmutableMap.of(
                Currency.DOLLAR, Country.CANADA,
                Currency.PESO, Country.CHILE,
    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)
  8. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        assertEquals(Country.class, bimap.valueType());
      }
    
      public void testIterationOrder() {
        // The enum orderings are alphabetical, leading to the bimap and its inverse
        // having inconsistent iteration orderings.
        Map<Currency, Country> map =
            ImmutableMap.of(
                Currency.DOLLAR, Country.CANADA,
                Currency.PESO, Country.CHILE,
    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)
  9. android/guava/src/com/google/common/primitives/Bytes.java

        @Override
        public boolean contains(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          return (target instanceof Byte) && Bytes.indexOf(array, (Byte) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Byte) {
            int i = Bytes.indexOf(array, (Byte) target, start, end);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableMultisetGwtSerializationDependencies.java

     * used). We could probably fix the problem by adding dummy methods to that class, but that is
     * starting to sound harder than taking the superclass approach, which I've been coming to like,
     * anyway, since it doesn't require us to declare dummy methods (though occasionally constructors)
     * and make types non-final.
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 1.9K bytes
    - Viewed (0)
Back to top