Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1451 - 1460 of 3,495 for FINAL (0.07 sec)

  1. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

    /** Tests for repeated node and edge addition and removal in a {@link Network}. */
    @RunWith(JUnit4.class)
    
    public final class NetworkMutationTest {
      private static final int NUM_TRIALS = 5;
      private static final int NUM_NODES = 20;
      private static final int NUM_EDGES = 100;
      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
      public void directedNetwork() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 10 19:42:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/GraphMutationTest.java

    /** Tests for repeated node and edge addition and removal in a {@link Graph}. */
    @RunWith(JUnit4.class)
    
    public final class GraphMutationTest {
      private static final int NUM_TRIALS = 50;
      private static final int NUM_NODES = 100;
      private static final int NUM_EDGES = 1000;
      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
      public void directedGraph() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

                    ret.add(v.label);
                    return ret;
                }
            }
            return null;
        }
    
        static class Vertex {
            final String label;
            final List<Vertex> children = new ArrayList<>();
            final List<Vertex> parents = new ArrayList<>();
    
            Vertex(String label) {
                this.label = label;
            }
    
            String getLabel() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java

    /**
     * Context for an exception thrown by a subscriber.
     *
     * @since 16.0
     */
    @ElementTypesAreNonnullByDefault
    public class SubscriberExceptionContext {
      private final EventBus eventBus;
      private final Object event;
      private final Object subscriber;
      private final Method subscriberMethod;
    
      /**
       * @param eventBus The {@link EventBus} that handled the event and the subscriber. Useful for
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java

            exception.expectMessage(is("index=2"));
            final ArrayIterator<Integer> itr = new ArrayIterator<Integer>(new Integer[] { 1, 2 });
            itr.next();
            itr.next();
            itr.next();
        }
    
        /**
         *
         */
        @Test
        public void testHasNext() {
            final ArrayIterator<String> itr = new ArrayIterator<String>("A", "B");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

         */
        @Test
        public void testToCalendar() throws Exception {
            final Date date = new Date();
            final Calendar cal = CalendarConversionUtil.toCalendar(date);
            assertEquals(date, cal.getTime());
        }
    
        /**
         *
         * @throws Exception
         */
        @Test
        public void testLocalize() throws Exception {
            final Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("JST"));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/request/Request.java

        public Deferred<T>.Promise execute(final Client client) {
            final String error = getValidationError();
            if (!Strings.isNullOrEmpty(error)) {
                throw new IllegalArgumentException(error);
            }
    
            final Deferred<T> deferred = new Deferred<>();
            try {
                processRequest(client, deferred);
            } catch (final Exception e) {
                throw new SuggesterException(e);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultModelVersionParser implements ModelVersionParser {
        private static final String SNAPSHOT = "SNAPSHOT";
        private static final Pattern SNAPSHOT_TIMESTAMP = Pattern.compile("^(.*-)?([0-9]{8}\\.[0-9]{6}-[0-9]+)$");
        private final VersionScheme versionScheme;
    
        @Inject
        public DefaultModelVersionParser(VersionScheme versionScheme) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        // internal Sync object, so this is safe since the shadowed locks are never
        // exposed or used.
        private final CycleDetectingReentrantReadLock readLock;
        private final CycleDetectingReentrantWriteLock writeLock;
    
        private final LockGraphNode lockGraphNode;
    
        private CycleDetectingReentrantReadWriteLock(LockGraphNode lockGraphNode, boolean fair) {
          super(fair);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterables.java

       *     into partitions (the final iterable may have trailing null elements)
       * @throws IllegalArgumentException if {@code size} is nonpositive
       */
      public static <T extends @Nullable Object> Iterable<List<@Nullable T>> paddedPartition(
          final Iterable<T> iterable, final int size) {
        checkNotNull(iterable);
        checkArgument(size > 0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
Back to top