Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Mooring (0.14 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

            entryOf(k4, v4),
            entryOf(k5, v5),
            entryOf(k6, v6),
            entryOf(k7, v7),
            entryOf(k8, v8),
            entryOf(k9, v9),
            entryOf(k10, v10));
      }
    
      // looking for of() with > 10 entries? Use the builder instead.
    
      @SafeVarargs
      public static <K, V> ImmutableMap<K, V> ofEntries(Entry<? extends K, ? extends V>... entries) {
        return new RegularImmutableMap<>(entries);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/Quantiles.java

       */
      private static void selectInPlace(int required, double[] array, int from, int to) {
        // If we are looking for the least element in the range, we can just do a linear search for it.
        // (We will hit this whenever we are doing quantile interpolation: our first selection finds
        // the lower value, our second one finds the upper value by looking for the next least element.)
        if (required == from) {
          int min = from;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

         */
        public ImmutableIntArray build() {
          return count == 0 ? EMPTY : new ImmutableIntArray(array, 0, count);
        }
      }
    
      // Instance stuff here
    
      // The array is never mutated after storing in this field and the construction strategies ensure
      // it doesn't escape this class
      @SuppressWarnings("Immutable")
      private final int[] array;
    
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimap.java

       *
       * <p>Some multimap implementations allow duplicate key-value pairs, in which case {@code put}
       * always adds a new key-value pair and increases the multimap size by 1. Other implementations
       * prohibit duplicates, and storing a key-value pair that's already in the multimap has no effect.
       *
       * @return {@code true} if the method increased the size of the multimap, or {@code false} if the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

         */
        public ImmutableDoubleArray build() {
          return count == 0 ? EMPTY : new ImmutableDoubleArray(array, 0, count);
        }
      }
    
      // Instance stuff here
    
      // The array is never mutated after storing in this field and the construction strategies ensure
      // it doesn't escape this class
      @SuppressWarnings("Immutable")
      private final double[] array;
    
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        builder.put(k1, v1);
        builder.put(k2, v2);
        builder.put(k3, v3);
        builder.put(k4, v4);
        builder.put(k5, v5);
        return builder.build();
      }
    
      // looking for of() with > 5 entries? Use the builder instead.
    
      /** Returns a new {@link Builder}. */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multisets.java

       *
       * @since 11.0
       */
      public static <E> ImmutableMultiset<E> copyHighestCountFirst(Multiset<E> multiset) {
        @SuppressWarnings("unchecked") // generics+arrays
        // TODO(cpovirk): Consider storing an Entry<?> instead of Entry<E>.
        Entry<E>[] entries = (Entry<E>[]) multiset.entrySet().toArray((Entry<E>[]) new Entry<?>[0]);
        Arrays.sort(entries, DecreasingCount.INSTANCE);
    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)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    
    /** Unit tests for {@link Futures#getChecked(Future, Class)}. */
    public class FuturesGetCheckedTest extends TestCase {
      // Boring untimed-get tests:
    
      public void testGetCheckedUntimed_success() throws TwoArgConstructorException {
        assertEquals("foo", getChecked(immediateFuture("foo"), TwoArgConstructorException.class));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/TempFileCreator.java

        // So we can create files there with any permissions and still get security from the isolation.
        return new JavaIoCreator();
      }
    
      /**
       * Creates the permissions normally used for Windows filesystems, looking up the user afresh, even
       * if previous calls have initialized the {@code PermissionSupplier} fields.
       *
       * <p>This lets us test the effects of different values of the {@code user.name} system property
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableListMultimap.java

        builder.put(k1, v1);
        builder.put(k2, v2);
        builder.put(k3, v3);
        builder.put(k4, v4);
        builder.put(k5, v5);
        return builder.build();
      }
    
      // looking for of() with > 5 entries? Use the builder instead.
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 17.1K bytes
    - Viewed (0)
Back to top