Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1891 - 1900 of 3,503 for 1final (0.07 sec)

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

     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class OneSizeGenerator<T, E extends @Nullable Object>
        implements OneSizeTestContainerGenerator<T, E> {
      private final TestContainerGenerator<T, E> generator;
      private final CollectionSize collectionSize;
    
      public OneSizeGenerator(TestContainerGenerator<T, E> generator, CollectionSize collectionSize) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java

      @Override
      @SuppressWarnings("unchecked")
      public final Entry<String, String>[] createArray(int length) {
        return (Entry<String, String>[]) new Entry<?, ?>[length];
      }
    
      @Override
      public final String[] createKeyArray(int length) {
        return new String[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Present.java

    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /** Implementation of an {@link Optional} containing a reference. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class Present<T> extends Optional<T> {
      private final T reference;
    
      Present(T reference) {
        this.reference = reference;
      }
    
      @Override
      public boolean isPresent() {
        return true;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultSettingsValidator implements SettingsValidator {
    
        private static final String ID = "[\\w.-]+";
        private static final Pattern ID_REGEX = Pattern.compile(ID);
    
        private final SettingsBuilder settingsBuilder;
    
        @Inject
        public DefaultSettingsValidator(SettingsBuilder settingsBuilder) {
            this.settingsBuilder = settingsBuilder;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

    /**
     * TransferListenerAdapter
     */
    @Deprecated
    public class TransferListenerAdapter implements TransferListener {
    
        private final ArtifactTransferListener listener;
    
        private final Map<Resource, ArtifactTransferResource> artifacts;
    
        private final Map<Resource, Long> transfers;
    
        public static TransferListener newAdapter(ArtifactTransferListener listener) {
            if (listener == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

    @Named("default")
    @Singleton
    public class MavenRepositorySystem {
    
        public static final String DEFAULT_REMOTE_REPO_ID = "central";
    
        public static final String DEFAULT_REMOTE_REPO_URL = "https://repo.maven.apache.org/maven2";
    
        public static final String DEFAULT_LOCAL_REPO_ID = "local";
    
        private final ArtifactHandlerManager artifactHandlerManager;
    
        private final Map<String, ArtifactRepositoryLayout> layouts;
    
        @Inject
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Transport.java

        private volatile Thread thread;
        private volatile TransportException te;
    
        protected final Object inLock = new Object();
        protected final Object outLock = new Object();
    
        protected final Map<Long, Response> response_map = new ConcurrentHashMap<>(10);
        private final AtomicLong usageCount = new AtomicLong(1);
    
    
        /**
         * @return session increased usage count
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

        outer.add("foo"); // necessary because we try to remove elements later on
        return outer;
      }
    
      private static final class TestQueue<E> implements Queue<E> {
        private final Queue<E> delegate = Lists.newLinkedList();
        public final Object mutex = new Object[0]; // something Serializable
    
        @Override
        public boolean offer(E o) {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    public class SynchronizedTableTest extends AbstractTableTest<Character> {
      private static final class TestTable<R, C, V> implements Table<R, C, V>, Serializable {
        final Table<R, C, V> delegate = HashBasedTable.create();
        public final Object mutex = new Object[0]; // something Serializable
    
        @Override
        public String toString() {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

      private ExecutorService exec;
    
      protected final CountDownLatch runLatch = new CountDownLatch(1);
      protected final CountDownLatch taskLatch = new CountDownLatch(1);
      protected final CountDownLatch listenerLatch = new CountDownLatch(1);
    
      protected volatile boolean throwException = false;
    
      protected final ListenableFutureTask<Integer> task =
          ListenableFutureTask.create(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top