Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 853 for all (0.15 sec)

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

          String[] prefix = {"f", "g"};
          String[] suffix = {"h", "i"};
    
          String[] all = new String[2 + elements.length + 2];
          System.arraycopy(prefix, 0, all, 0, 2);
          System.arraycopy(elements, 0, all, 2, elements.length);
          System.arraycopy(suffix, 0, all, 2 + elements.length, 2);
    
          return ImmutableList.copyOf(all).subList(2, elements.length + 2);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/LongMathTest.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathTesting.ALL_LONG_CANDIDATES;
    import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.ALL_SAFE_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.EXPONENTS;
    import static com.google.common.math.MathTesting.NEGATIVE_INTEGER_CANDIDATES;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Range.java

     *       prevent its use, because this would also rule out all ungenerified (pre-JDK1.5) data types.
     *       <b>This may change in the future.</b>
     * </ul>
     *
     * <h3>Other notes</h3>
     *
     * <ul>
     *   <li>All ranges are shallow-immutable.
     *   <li>Instances of this type are obtained using the static factory methods in this class.
     *   <li>Ranges are <i>convex</i>: whenever two values are contained, all values in between them
    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)
  4. guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

          Float[] all = concat(elements, suffix);
          return asList(all).subList(0, elements.length);
        }
      }
    
      public static final class FloatsAsListTailSubListGenerator extends TestFloatListGenerator {
        @Override
        protected List<Float> create(Float[] elements) {
          Float[] prefix = {(float) 86, (float) 99};
          Float[] all = concat(prefix, elements);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

          Long[] all = concat(elements, suffix);
          return asList(all).subList(0, elements.length);
        }
      }
    
      public static final class LongsAsListTailSubListGenerator extends TestLongListGenerator {
        @Override
        protected List<Long> create(Long[] elements) {
          Long[] prefix = {(long) 86, (long) 99};
          Long[] all = concat(prefix, elements);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/eventbus/Dispatcher.java

       * dispatching an event, guaranteeing that all events posted on a single thread are dispatched to
       * all subscribers in the order they are posted.
       *
       * <p>When all subscribers are dispatched to using a <i>direct</i> executor (which dispatches on
       * the same thread that posts the event), this yields a breadth-first dispatch order on each
       * thread. That is, all subscribers to a single event A will be called before any subscribers to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            Range.closed(Integer.MIN_VALUE, Integer.MAX_VALUE),
            ContiguousSet.create(Range.<Integer>all(), integers()).range());
        assertEquals(
            Range.atLeast(Integer.MIN_VALUE),
            ContiguousSet.create(Range.<Integer>all(), integers()).range(CLOSED, OPEN));
        assertEquals(
            Range.all(), ContiguousSet.create(Range.<Integer>all(), integers()).range(OPEN, OPEN));
        assertEquals(
            Range.atMost(Integer.MAX_VALUE),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            Range.closed(Integer.MIN_VALUE, Integer.MAX_VALUE),
            ContiguousSet.create(Range.<Integer>all(), integers()).range());
        assertEquals(
            Range.atLeast(Integer.MIN_VALUE),
            ContiguousSet.create(Range.<Integer>all(), integers()).range(CLOSED, OPEN));
        assertEquals(
            Range.all(), ContiguousSet.create(Range.<Integer>all(), integers()).range(OPEN, OPEN));
        assertEquals(
            Range.atMost(Integer.MAX_VALUE),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       *   remove(K, long). Without any two-phase operations it becomes feasible for all remaining
       *   operations to distinguish between zero and absent. If we do this, then perhaps we should add
       *   replace(key, long).
       *
       * - Introduce a special-value private static final AtomicLong that would have the meaning of
       *   removal-in-progress, and rework all operations to properly distinguish between zero and
       *   absent.
       */
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/Graphs.java

        }
      }
    
      // Graph copy methods
    
      /**
       * Returns the subgraph of {@code graph} induced by {@code nodes}. This subgraph is a new graph
       * that contains all of the nodes in {@code nodes}, and all of the {@link Graph#edges() edges}
       * from {@code graph} for which both nodes are contained by {@code nodes}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
Back to top