Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 230 for Murray (0.14 sec)

  1. android/guava/src/com/google/common/collect/CompactHashSet.java

      // See CompactHashMap for a detailed description of how the following fields work. That
      // description talks about `keys`, `values`, and `entries`; here the `keys` and `values` arrays
      // are replaced by a single `elements` array but everything else works similarly.
    
      /**
       * The hashtable object. This can be either:
       *
       * <ul>
       *   <li>a byte[], short[], or int[], with size a power of two, created by
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/PreconditionsTest.java

          fail("no exception thrown");
        } catch (IllegalArgumentException e) {
          assertThat(e).hasMessageThat().isEqualTo("A null C");
        }
      }
    
      @J2ktIncompatible // TODO(b/319404022): Allow passing null array as varargs
      public void testCheckArgument_singleNullArray_failure() {
        try {
          Preconditions.checkArgument(false, "A %s C", (Object[]) null);
          fail("no exception thrown");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      }
    
      /**
       * Each instance of MinMaxPriorityQueue encapsulates two instances of Heap: a min-heap and a
       * max-heap. Conceptually, these might each have their own array for storage, but for efficiency's
       * sake they are stored interleaved on alternate heap levels in the same array (MMPQ.queue).
       */
      @WeakOuter
      class Heap {
        final Ordering<E> ordering;
    
        @SuppressWarnings("nullness:initialization.field.uninitialized")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/TraversalUtil.java

     * @see ClassTraversalUtil
     * @see ResourceTraversalUtil
     */
    public abstract class TraversalUtil {
    
        /** 空の{@link Traverser}の配列です。 */
        protected static final Traverser[] EMPTY_ARRAY = new Traverser[0];
    
        private static final Logger logger = Logger.getLogger(TraversalUtil.class);
    
        /** URLのプロトコルをキー、{@link TraverserFactory}を値とするマッピングです。 */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedSet.java

          if (!original.isPartialView()) {
            return original;
          }
        }
        @SuppressWarnings("unchecked") // elements only contains E's; it's safe.
        E[] array = (E[]) Iterables.toArray(elements);
        return construct(comparator, array.length, array);
      }
    
      /**
       * Returns an immutable sorted set containing the given elements sorted by the given {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/OrderingTest.java

      public void testCombinationsExhaustively_startingFromArbitrary() {
        Ordering<Object> arbitrary = Ordering.arbitrary();
        Object[] array = {1, "foo", new Object()};
    
        // There's no way to tell what the order should be except empirically
        Arrays.sort(array, arbitrary);
        testExhaustively(arbitrary, array);
      }
    
      /**
       * Requires at least 3 elements in {@code strictlyOrderedElements} in order to test the varargs
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      public void testCombinationsExhaustively_startingFromArbitrary() {
        Ordering<Object> arbitrary = Ordering.arbitrary();
        Object[] array = {1, "foo", new Object()};
    
        // There's no way to tell what the order should be except empirically
        Arrays.sort(array, arbitrary);
        testExhaustively(arbitrary, array);
      }
    
      /**
       * Requires at least 3 elements in {@code strictlyOrderedElements} in order to test the varargs
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<String> iterable = Collections.emptyList();
        String[] array = Iterables.toArray(iterable, String.class);
        assertTrue(Arrays.equals(new String[0], array));
      }
    
      @GwtIncompatible // Iterables.toArray(Iterable, Class)
      public void testToArraySingleton() {
        Iterable<String> iterable = Collections.singletonList("a");
        String[] array = Iterables.toArray(iterable, String.class);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Collections2.java

        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
        public <T extends @Nullable Object> T[] toArray(T[] array) {
          return Lists.newArrayList(iterator()).toArray(array);
        }
      }
    
      /**
       * Returns a collection that applies {@code function} to each element of {@code fromCollection}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        assertThrows(
            NumberFormatException.class,
            () -> UnsignedBytes.parseUnsignedByte("0", Character.MAX_RADIX + 1));
    
        // The radix is used as an array index, so try a negative value.
        assertThrows(NumberFormatException.class, () -> UnsignedBytes.parseUnsignedByte("0", -1));
      }
    
      public void testToString() {
        // We can easily afford to test this exhaustively.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top