Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for Bass (0.13 sec)

  1. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * dummy version.
       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass a parameter of type {@code Comparable} to use {@link
       *     ImmutableSortedSet#of(Comparable)}.</b>
       */
      @DoNotCall("Pass a parameter of type Comparable")
      @Deprecated
      public static <E> ImmutableSortedSet<E> of(E element) {
        throw new UnsupportedOperationException();
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      }
    
      /**
       * Wrapper for {@link Map#get(Object)} that forces the caller to pass in a key of the same type as
       * the map. Besides being slightly shorter than code that uses {@link #getMap()}, it also ensures
       * that callers don't pass an {@link Entry} by mistake.
       */
      protected V get(K key) {
        return getMap().get(key);
      }
    
      protected final K k0() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * verify() method, which is called after each sequence and is guaranteed to be called
     * using the latest values obtained from {@link IteratorTester#newTargetIterator()}.
     *
     * <p>The value you pass to the parameter {@code steps} should be greater than the length of your
     * iterator, so that this class can check that your iterator behaves correctly when it is exhausted.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

        String badUnicode = "\uDC00\uD800";
        try {
          escaper.escape(badUnicode);
          fail("should fail for bad Unicode");
        } catch (IllegalArgumentException e) {
          // Pass
        }
      }
    
      public void testSafeRange() throws IOException {
        // Basic escaping of unsafe chars (wrap them in {,}'s)
        UnicodeEscaper wrappingEscaper =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              @Override
              public Integer computeNext() {
                throw exception;
              }
            };
    
        // It should pass through untouched
        try {
          iter.hasNext();
          fail("No exception thrown");
        } catch (SomeUncheckedException e) {
          assertSame(exception, e);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

          /*
           * Using weak references here could let us release exceptions earlier, but:
           *
           * 1. On Android, querying a WeakReference blocks if the GC is doing an otherwise-concurrent
           * pass.
           *
           * 2. We would probably choose to compare exceptions using == instead of equals() (for
           * consistency with how weak references are cleared). That's a behavior change -- arguably the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

                // idea:idea
                //
                String prefix = tok[0];
    
                if (numTokens == 2) {
                    goal = tok[1];
                } else {
                    // goal was missing - pass through to MojoNotFoundException
                    goal = "";
                }
    
                // This is the case where someone has executed a single goal from the command line
                // of the form:
                //
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

       */
    
      /*
       * These generators also rely on consecutive integer inputs (not necessarily in order, but no
       * holes).
       */
    
      // SetCreationTester has some tests that pass in duplicates. Dedup them.
      private static <E extends Comparable<? super E>> SortedSet<E> nullCheckedTreeSet(E[] elements) {
        SortedSet<E> set = newTreeSet();
        for (E element : elements) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           * inputs for exceptions *if* we're collecting values. If we're not, then the listener doesn't
           * need access to the futures again, so we can just pass `null`.
           *
           * TODO(b/112550045): Allocating a single, cheaper listener is (I think) only an optimization.
           * If we make some other optimizations, this one will no longer be necessary. The optimization
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Functions.java

       * Returns the identity function.
       *
       * <p><b>Discouraged:</b> Prefer using a lambda like {@code v -> v}, which is shorter and often
       * more readable.
       */
      // implementation is "fully variant"; E has become a "pass-through" type
      @SuppressWarnings("unchecked")
      public static <E extends @Nullable Object> Function<E, E> identity() {
        return (Function<E, E>) IdentityFunction.INSTANCE;
      }
    
      // enum singleton pattern
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top