Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 70 for Point (0.13 sec)

  1. guava/src/com/google/common/base/Splitter.java

               * string -- for example, if it requires lookahead or the like. The offset must be
               * increased to look for separators beyond this point, without changing the start position
               * of the next returned substring -- so nextStart stays the same.
               */
              offset++;
              if (offset > toSplit.length()) {
                offset = -1;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Converter.java

         * converter.apply(), anyway. If clients use only converter.convert(), then their nullness
         * checkers are unlikely to ever look at the annotations on this declaration.
         *
         * Historical note: At one point, we'd declared this method as accepting and returning nullable
         * values. For details on that, see earlier revisions of this file.
         */
        return convert(a);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
  3. android/guava-tests/test/com/google/common/collect/IterablesTest.java

          assertEquals(expected, string);
          if (howManyChecked++ == 5) {
            break;
          }
        }
    
        // We left the last iterator pointing to "b". But a new iterator should
        // always point to "a".
        for (String string : cycle) {
          assertEquals("a", string);
          break;
        }
    
        assertEquals("[a, b] (cycled)", cycle.toString());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

      }
    
      /**
       * Creates a <i>mutable</i> {@code HashSet} instance initially containing the given elements.
       *
       * <p><b>Note:</b> if elements are non-null and won't be added or removed after this point, use
       * {@link ImmutableSet#of()} or {@link ImmutableSet#copyOf(Object[])} instead. If {@code E} is an
       * {@link Enum} type, use {@link EnumSet#of(Enum, Enum[])} instead. Otherwise, strongly consider
    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)
  5. android/guava/src/com/google/common/reflect/TypeToken.java

        }
        // unwrap array type if necessary
        if (isArray()) {
          return getArraySubtype(subclass);
        }
        // At this point, it's either a raw class or parameterized type.
        checkArgument(
            getRawType().isAssignableFrom(subclass), "%s isn't a subclass of %s", subclass, this);
        Type resolvedTypeArgs = resolveTypeArgsForSubclass(subclass);
    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)
  6. android/guava/src/com/google/common/cache/LocalCache.java

                if (valueReference.isLoading()) {
                  return waitForLoadingValue(e, key, valueReference);
                }
              }
            }
    
            // at this point e is either null or expired;
            return lockedGetOrLoad(key, hash, loader);
          } catch (ExecutionException ee) {
            Throwable cause = ee.getCause();
            if (cause instanceof Error) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ByteSourceTest.java

        private class In extends InputStream {
          private int pos;
    
          @Override
          public int read() throws IOException {
            byte[] b = new byte[1];
            return read(b) == -1 ? -1 : UnsignedBytes.toInt(b[0]);
          }
    
          @Override
          public int read(byte[] b, int off, int len) {
            if (pos >= bytes.length) {
              return -1;
            }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(type::isInstance).map(type::cast)}.
       * This does perform a little more work than necessary, so another option is to insert an
       * unchecked cast at some later point:
       *
       * <pre>
       * {@code @SuppressWarnings("unchecked") // safe because of ::isInstance check
       * ImmutableList<NewType> result =
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

        /**
         * The elements of a {@link ConcurrentlyMutatedList} are added and removed over time. This
         * method returns every state that the list has passed through at some point.
         */
        Set<List<E>> getAllStates();
      }
    
      /**
       * Returns a {@link ConcurrentlyMutatedList} that performs the given operations as its concurrent
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(type::isInstance).map(type::cast)}.
       * This does perform a little more work than necessary, so another option is to insert an
       * unchecked cast at some later point:
       *
       * <pre>
       * {@code @SuppressWarnings("unchecked") // safe because of ::isInstance check
       * ImmutableList<NewType> result =
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 42.5K bytes
    - Viewed (0)
Back to top