Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 128 for Learning (6.26 sec)

  1. android/guava/src/com/google/common/base/Ascii.java

     * {@code 0x7F}), and to strings containing such characters.
     *
     * <p>ASCII utilities also exist in other classes of this package:
     *
     * <ul>
     *   <!-- TODO(kevinb): how can we make this not produce a warning when building gwt javadoc? -->
     *   <li>{@link Charsets#US_ASCII} specifies the {@code Charset} of ASCII characters.
     *   <li>{@link CharMatcher#ascii} matches ASCII characters and provides text processing methods
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        return newReentrantLock(lockName, false);
      }
    
      /**
       * Creates a {@link ReentrantLock} with the given fairness policy. The {@code lockName} is used in
       * the warning or exception output to help identify the locks involved in the detected deadlock.
       */
      public ReentrantLock newReentrantLock(String lockName, boolean fair) {
        return policy == Policies.DISABLED
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Strings.java

     */
    
    package com.google.common.base;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.logging.Level.WARNING;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.errorprone.annotations.InlineMe;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingMultiset.java

     * one or more methods to modify the behavior of the backing multiset as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingMultiset} forward <b>indiscriminately</b> to
     * the methods of the delegate. For example, overriding {@link #add(Object, int)} alone <b>will
    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)
  5. guava/src/com/google/common/collect/Cut.java

            return compareResult == 0;
          } catch (ClassCastException wastNotComparableToOurType) {
            return false;
          }
        }
        return false;
      }
    
      // Prevent "missing hashCode" warning by explicitly forcing subclasses implement it
      @Override
      public abstract int hashCode();
    
      /*
       * The implementation neither produces nor consumes any non-null instance of type C, so
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/JoinerTest.java

     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class JoinerTest extends TestCase {
      private static final Joiner J = Joiner.on("-");
    
      // <Integer> needed to prevent warning :(
      private static final Iterable<Integer> ITERABLE_ = Arrays.<Integer>asList();
      private static final Iterable<Integer> ITERABLE_1 = Arrays.asList(1);
      private static final Iterable<Integer> ITERABLE_12 = Arrays.asList(1, 2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterables.java

       * iterable}. The iterator's {@code hasNext()} method returns {@code true} until {@code iterable}
       * is empty.
       *
       * <p><b>Warning:</b> Typical uses of the resulting iterator may produce an infinite loop. You
       * should use an explicit {@code break} or be certain that you will eventually remove all the
       * elements.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Joiner.java

     *
     * <p>If neither {@link #skipNulls()} nor {@link #useForNull(String)} is specified, the joining
     * methods will throw {@link NullPointerException} if any given element is null.
     *
     * <p><b>Warning: joiner instances are always immutable</b>; a configuration method such as {@code
     * useForNull} has no effect on the instance it is invoked on! You must store and use the new joiner
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/BooleansTest.java

            3,
            3,
            7,
            new boolean[] {false, true, false, false, true, false, true});
      }
    
      public void testToArray() {
        // need explicit type parameter to avoid javac warning!?
        List<Boolean> none = Arrays.<Boolean>asList();
        assertThat(Booleans.toArray(none)).isEqualTo(EMPTY);
    
        List<Boolean> one = Arrays.asList(false);
        assertThat(Booleans.toArray(one)).isEqualTo(ARRAY_FALSE);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      /**
       * Returns a new target iterator each time it's called. This is the iterator you are trying to
       * test. This must return an Iterator that returns the expected elements passed to the constructor
       * in the given order. Warning: it is not enough to simply pull multiple iterators from the same
       * source Iterable, unless that Iterator is unmodifiable.
       */
      protected abstract I newTargetIterator();
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top