Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for store (0.14 sec)

  1. samples/guide/src/main/java/okhttp3/guide/PostExample.java

        try (Response response = client.newCall(request).execute()) {
          return response.body().string();
        }
      }
    
      String bowlingJson(String player1, String player2) {
        return "{'winCondition':'HIGH_SCORE',"
            + "'name':'Bowling',"
            + "'round':4,"
            + "'lastSaved':1367702411696,"
            + "'dateStarted':1367702378785,"
            + "'players':["
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TopKSelector.java

              > 0) {
            threshold = buffer[i];
          }
        }
      }
    
      /**
       * Partitions the contents of buffer in the range [left, right] around the pivot element
       * previously stored in buffer[pivotValue]. Returns the new index of the pivot element,
       * pivotNewIndex, so that everything in [left, pivotNewIndex] is ≤ pivotValue and everything in
       * (pivotNewIndex, right] is greater than pivotValue.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertTrue("Heap is not intact after remove()", mmHeap.isIntact());
        assertFalse(mmHeap.contains(2));
    
        // This tests that it.remove() above actually changed the order. It
        // indicates that the value 40 was stored in forgetMeNot, so it is
        // returned in the last call to it.next(). Without it, 30 should be the last
        // item returned by the iterator.
        Integer lastItem = 0;
        for (Integer tmp : mmHeap) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableMap.java

         * based on the first time it was added, again unless {@link #orderEntriesByValue} was called.
         *
         * <p>In the current implementation, all values associated with a given key are stored in the
         * {@code Builder} object, even though only one of them will be used in the built map. If there
         * can be many repeated keys, it may be more space-efficient to use a {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Lists.java

       * in the returned list and vice versa.
       *
       * <p>Since functions are not reversible, the transform is one-way and new items cannot be stored
       * in the returned list. The {@code add}, {@code addAll} and {@code set} methods are unsupported
       * in the returned list.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Closer.java

      public <C extends @Nullable Closeable> C register(@ParametricNullness C closeable) {
        if (closeable != null) {
          stack.addFirst(closeable);
        }
    
        return closeable;
      }
    
      /**
       * Stores the given throwable and rethrows it. It will be rethrown as is if it is an {@code
       * IOException}, {@code RuntimeException} or {@code Error}. Otherwise, it will be rethrown wrapped
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

        }
    
        @Override
        public void addResource(@Nonnull Project project, @Nonnull ProjectScope scope, @Nonnull Resource resource) {
            // TODO: we should not modify the underlying model here, but resources should be stored
            // TODO: in a separate field in the project, however, that could break v3 plugins
            MavenProject prj = getMavenProject(nonNull(project, "project"));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSet.java

          while (elements.hasNext()) {
            add(elements.next());
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        @SuppressWarnings("unchecked") // ArrayBasedBuilder stores its elements as Object.
        Builder<E> combine(Builder<E> other) {
          if (hashTable != null) {
            for (int i = 0; i < other.size; ++i) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

     * determining whether a given domain name is an effective top-level domain (public suffix).
     *
     * <p>Because this class is used in GWT, the data members are stored in a space-efficient manner.
     * See {@link TrieParser}.
     *
     * @since 16.0
     */
    @GwtCompatible
    @Beta
    public final class PublicSuffixPatterns {
      private PublicSuffixPatterns() {}
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 21 21:04:43 GMT 2024
    - 72.4K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/collect/EnumMultiset.java

      @GwtIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        @SuppressWarnings("unchecked") // reading data stored by writeObject
        Class<E> localType = (Class<E>) requireNonNull(stream.readObject());
        type = localType;
        enumConstants = type.getEnumConstants();
        counts = new int[enumConstants.length];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top