Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 172 for Creamer (0.23 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java

       * key of {@link #belowSamplesLesser()}.
       */
      Entry<K, V> belowSamplesGreater();
    
      /**
       * Returns an entry with a key greater than the keys of the {@link #samples()} but less than the
       * key of {@link #aboveSamplesGreater()}.
       */
      Entry<K, V> aboveSamplesLesser();
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/LineReader.java

        while (lines.peek() == null) {
          Java8Compatibility.clear(cbuf);
          // The default implementation of Reader#read(CharBuffer) allocates a
          // temporary char[], so we call Reader#read(char[], int, int) instead.
          int read = (reader != null) ? reader.read(buf, 0, buf.length) : readable.read(cbuf);
          if (read == -1) {
            lineBuf.finish();
            break;
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/NullsLastOrdering.java

      }
    
      @Override
      public int compare(@CheckForNull T left, @CheckForNull T right) {
        if (left == right) {
          return 0;
        }
        if (left == null) {
          return LEFT_IS_GREATER;
        }
        if (right == null) {
          return RIGHT_IS_GREATER;
        }
        return ordering.compare(left, right);
      }
    
      @Override
      @SuppressWarnings("nullness") // should be safe, but not sure if we can avoid the warning
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 27 16:03:47 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        BufferedReader reader = source.openBufferedStream();
        assertTrue(source.wasStreamOpened());
        assertFalse(source.wasStreamClosed());
    
        StringWriter writer = new StringWriter();
        char[] buf = new char[64];
        int read;
        while ((read = reader.read(buf)) != -1) {
          writer.write(buf, 0, read);
        }
        reader.close();
        writer.close();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Range.java

        return new Range<>(lowerBound, upperBound);
      }
    
      /**
       * Returns a range that contains all values strictly greater than {@code lower} and strictly less
       * than {@code upper}.
       *
       * @throws IllegalArgumentException if {@code lower} is greater than <i>or equal to</i> {@code
       *     upper}
       * @throws ClassCastException if {@code lower} and {@code upper} are not mutually comparable
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

          assertTrue(t.equals(t));
    
          for (int j = i + 1; j < valuesInExpectedOrder.size(); j++) {
            T greater = valuesInExpectedOrder.get(j);
            assertTrue(greater + ".compareTo(" + t + ')', greater.compareTo(t) > 0);
            assertFalse(greater.equals(t));
          }
        }
      }
    
      /**
       * Returns a collection that simulates concurrent modification by having its size method return
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CharSinkTest.java

        sink.write(STRING);
    
        assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
        assertEquals(STRING, sink.getString());
      }
    
      public void testWriteFrom_reader() throws IOException {
        StringReader reader = new StringReader(STRING);
        sink.writeFrom(reader);
    
        assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
        assertEquals(STRING, sink.getString());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/SignedBytes.java

       *
       * @param value any value in the range of the {@code byte} type
       * @return the {@code byte} value that equals {@code value}
       * @throws IllegalArgumentException if {@code value} is greater than {@link Byte#MAX_VALUE} or
       *     less than {@link Byte#MIN_VALUE}
       */
      public static byte checkedCast(long value) {
        byte result = (byte) value;
        checkArgument(result == value, "Out of range: %s", value);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 7.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

        }
    
        @Override
        public String getSinkContents() throws IOException {
          File file = getFile();
          Reader reader = new InputStreamReader(new FileInputStream(file), Charsets.UTF_8);
          StringBuilder builder = new StringBuilder();
          CharBuffer buffer = CharBuffer.allocate(100);
          while (reader.read(buffer) != -1) {
            Java8Compatibility.flip(buffer);
            builder.append(buffer);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

       */
      public double populationCovariance() {
        checkState(count() != 0);
        return sumOfProductsOfDeltas / count();
      }
    
      /**
       * Returns the sample covariance of the values. The count must be greater than one.
       *
       * <p>This is not guaranteed to return zero when the dataset consists of the same pair of values
       * multiple times, due to numerical errors.
       *
       * <h3>Non-finite values</h3>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 10.3K bytes
    - Viewed (0)
Back to top