Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 218 for Start (0.12 sec)

  1. android/guava/src/com/google/common/io/AppendableWriter.java

        checkNotClosed();
        target.append(charSeq);
        return this;
      }
    
      @Override
      public Writer append(@CheckForNull CharSequence charSeq, int start, int end) throws IOException {
        checkNotClosed();
        target.append(charSeq, start, end);
        return this;
      }
    
      private void checkNotClosed() throws IOException {
        if (closed) {
          throw new IOException("Cannot write to a closed writer.");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        final String key = "bar";
    
        // start computing thread
        new Thread() {
          @Override
          public void run() {
            result.set(0, cache.getUnchecked(key));
            doneSignal.countDown();
          }
        }.start();
    
        // wait for computation to start
        secondSignal.await();
    
        // start waiting thread
        new Thread() {
          @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ComparisonChain.java

     * generally prefer the methods in {@link Comparator}; see <a href="#java8">below</a>.
     *
     * <p>Example usage of {@code ComparisonChain}:
     *
     * <pre>{@code
     * public int compareTo(Foo that) {
     *   return ComparisonChain.start()
     *       .compare(this.aString, that.aString)
     *       .compare(this.anInt, that.anInt)
     *       .compare(this.anEnum, that.anEnum, Ordering.natural().nullsLast())
     *       .result();
     * }
     * }</pre>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

      Object @Nullable [] internalArray() {
        return null;
      }
    
      /**
       * If this collection is backed by an array of its elements in insertion order, returns the offset
       * where this collection's elements start.
       */
      int internalArrayStart() {
        throw new UnsupportedOperationException();
      }
    
      /**
       * If this collection is backed by an array of its elements in insertion order, returns the offset
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. CONTRIBUTING.md

    [issue]: https://github.com/google/guava/issues
    
    Pull requests
    -------------
    
    Unless the change is a trivial fix such as for a typo, it's generally best to
    start by opening a new issue describing the bug or feature you're intending to
    fix. Even if you think it's relatively minor, it's helpful to know what people
    are working on. And as mentioned above, API changes should be discussed
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Bytes.java

        final byte[] array;
        final int start;
        final int end;
    
        ByteArrayAsList(byte[] array) {
          this(array, 0, array.length);
        }
    
        ByteArrayAsList(byte[] array, int start, int end) {
          this.array = array;
          this.start = start;
          this.end = end;
        }
    
        @Override
        public int size() {
          return end - start;
        }
    
        @Override
    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)
  7. guava/src/com/google/common/base/JdkPattern.java

          return matcher.replaceAll(replacement);
        }
    
        @Override
        public int end() {
          return matcher.end();
        }
    
        @Override
        public int start() {
          return matcher.start();
        }
      }
    
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        // (which will block) in the same thread.
        new Thread() {
          @Override
          public void run() {
            inputFuture.set(SLOW_FUNC_VALID_INPUT_DATA);
          }
        }.start();
        funcIsWaitingLatch.await();
    
        assertTrue(resultFuture.cancel(true));
        assertTrue(resultFuture.isCancelled());
        assertFalse(inputFuture.isCancelled());
        assertFalse(outputFuture.isCancelled());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/DiscreteDomain.java

          }
          return result;
        }
    
        @Override
        public long distance(Long start, Long end) {
          long result = end - start;
          if (end > start && result < 0) { // overflow
            return Long.MAX_VALUE;
          }
          if (end < start && result > 0) { // underflow
            return Long.MIN_VALUE;
          }
          return result;
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Floats.java

        final float[] array;
        final int start;
        final int end;
    
        FloatArrayAsList(float[] array) {
          this(array, 0, array.length);
        }
    
        FloatArrayAsList(float[] array, int start, int end) {
          this.array = array;
          this.start = start;
          this.end = end;
        }
    
        @Override
        public int size() {
          return end - start;
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
Back to top