Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 242 for company (0.12 sec)

  1. guava/src/com/google/common/util/concurrent/WrappingExecutorService.java

       * Wraps a {@code Runnable} for submission to the underlying executor. The default implementation
       * delegates to {@link #wrapTask(Callable)}.
       */
      protected Runnable wrapTask(Runnable command) {
        Callable<Object> wrapped = wrapTask(Executors.callable(command, null));
        return () -> {
          try {
            wrapped.call();
          } catch (Exception e) {
            restoreInterruptIfIsInterruptedException(e);
            throwIfUnchecked(e);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

            byte[] right = left.clone();
            assertThat(comparator.compare(left, right)).isEqualTo(0);
            int i = rnd.nextInt(left.length);
            left[i] ^= (byte) (1 + rnd.nextInt(255));
            assertThat(comparator.compare(left, right)).isNotEqualTo(0);
            assertThat(UnsignedBytes.compare(left[i], right[i]) > 0)
                .isEqualTo(comparator.compare(left, right) > 0);
          }
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

          new ScheduledThreadPoolExecutor(10) {
            @Override
            public ScheduledFuture<?> scheduleWithFixedDelay(
                Runnable command, long initialDelay, long delay, TimeUnit unit) {
              return future = super.scheduleWithFixedDelay(command, initialDelay, delay, unit);
            }
          };
    
      public void testServiceStartStop() throws Exception {
        NullService service = new NullService();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

          new ScheduledThreadPoolExecutor(10) {
            @Override
            public ScheduledFuture<?> scheduleWithFixedDelay(
                Runnable command, long initialDelay, long delay, TimeUnit unit) {
              return future = super.scheduleWithFixedDelay(command, initialDelay, delay, unit);
            }
          };
    
      public void testServiceStartStop() throws Exception {
        NullService service = new NullService();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

        }
    
        @Override
        public final List<Runnable> shutdownNow() {
          return delegate.shutdownNow();
        }
    
        @Override
        public final void execute(Runnable command) {
          delegate.execute(command);
        }
    
        @Override
        public final String toString() {
          return super.toString() + "[" + delegate + "]";
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // TODO
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 39K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/NullsFirstOrdering.java

        this.ordering = ordering;
      }
    
      @Override
      public int compare(@CheckForNull T left, @CheckForNull T right) {
        if (left == right) {
          return 0;
        }
        if (left == null) {
          return RIGHT_IS_GREATER;
        }
        if (right == null) {
          return LEFT_IS_GREATER;
        }
        return ordering.compare(left, right);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 27 16:03:47 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/NullsLastOrdering.java

        this.ordering = ordering;
      }
    
      @Override
      public int compare(@CheckForNull T left, @CheckForNull T right) {
        if (left == right) {
          return 0;
        }
        if (left == null) {
          return LEFT_IS_GREATER;
        }
        if (right == null) {
          return RIGHT_IS_GREATER;
        }
        return ordering.compare(left, right);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 27 16:03:47 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/NullsLastOrdering.java

        this.ordering = ordering;
      }
    
      @Override
      public int compare(@CheckForNull T left, @CheckForNull T right) {
        if (left == right) {
          return 0;
        }
        if (left == null) {
          return LEFT_IS_GREATER;
        }
        if (right == null) {
          return RIGHT_IS_GREATER;
        }
        return ordering.compare(left, right);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 27 16:03:47 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      @SuppressWarnings("unchecked")
      private static final Comparator<Object> NATURAL_ORDER =
          new Comparator<Object>() {
            @Override
            public int compare(Object o1, Object o2) {
              return ((Comparable<Object>) o1).compareTo(o2);
            }
          };
    
      private final NavigableSet<E> delegate;
    
      public SafeTreeSet() {
        this(new TreeSet<E>());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/RegularImmutableTable.java

                    (rowComparator == null)
                        ? 0
                        : rowComparator.compare(cell1.getRowKey(), cell2.getRowKey());
                if (rowCompare != 0) {
                  return rowCompare;
                }
                return (columnComparator == null)
                    ? 0
                    : columnComparator.compare(cell1.getColumnKey(), cell2.getColumnKey());
              };
          Collections.sort(cells, comparator);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top