Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1461 - 1470 of 3,913 for getE (0.03 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       *     {@link #length}
       */
      public int get(int index) {
        Preconditions.checkElementIndex(index, length());
        return array[start + index];
      }
    
      /**
       * Returns the smallest index for which {@link #get} returns {@code target}, or {@code -1} if no
       * such index exists. Equivalent to {@code asList().indexOf(target)}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/ClassPathTest.java

          assertThat(urls.get(0).getProtocol()).isEqualTo("file");
          assertThat(urls.get(0).getAuthority()).isNull();
          assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar");
    
          assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar"));
    
          assertThat(urls.get(2).getProtocol()).isEqualTo("file");
          assertThat(urls.get(2).getAuthority()).isNull();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeMultiset.java

            case -2:
              // requireNonNull is safe because right must exist in order to get a negative factor.
              requireNonNull(right);
              if (right.balanceFactor() > 0) {
                right = right.rotateRight();
              }
              return rotateLeft();
            case 2:
              // requireNonNull is safe because left must exist in order to get a positive factor.
              requireNonNull(left);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().addAll(index, c);
          }
        }
    
        @Override
        public E get(int index) {
          synchronized (mutex) {
            return delegate().get(index);
          }
        }
    
        @Override
        public int indexOf(@CheckForNull Object o) {
          synchronized (mutex) {
            return delegate().indexOf(o);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().addAll(index, c);
          }
        }
    
        @Override
        public E get(int index) {
          synchronized (mutex) {
            return delegate().get(index);
          }
        }
    
        @Override
        public int indexOf(@CheckForNull Object o) {
          synchronized (mutex) {
            return delegate().indexOf(o);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

        public ArtifactResolutionRequest setRemoteRepositories(List<ArtifactRepository> remoteRepositories) {
            this.remoteRepositories = remoteRepositories;
    
            return this;
        }
    
        /**
         * Gets the artifact filter that controls traversal of the dependency graph.
         *
         * @return The filter used to determine which of the artifacts in the dependency graph should be traversed or
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

        Object value = adjacentNodeValues.get(node);
        if (value == PRED) {
          return null;
        }
        if (value instanceof PredAndSucc) {
          return (V) ((PredAndSucc) value).successorValue;
        }
        return (V) value;
      }
    
      @Override
      public void removePredecessor(N node) {
        checkNotNull(node);
    
        Object previousValue = adjacentNodeValues.get(node);
        boolean removedPredecessor;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                info.timestamp = timestamp;
            }
        }
    
        private void merge(Map<String, VersionInfo> infos, String srcKey, String dstKey) {
            VersionInfo srcInfo = infos.get(srcKey);
            VersionInfo dstInfo = infos.get(dstKey);
    
            if (dstInfo == null
                    || (srcInfo != null
                            && dstInfo.isOutdated(srcInfo.timestamp)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. cmd/bucket-object-lock.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // BucketObjectLockSys - map of bucket and retention configuration.
    type BucketObjectLockSys struct{}
    
    // Get - Get retention configuration.
    func (sys *BucketObjectLockSys) Get(bucketName string) (r objectlock.Retention, err error) {
    	config, _, err := globalBucketMetadataSys.GetObjectLockConfig(bucketName)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          SampleElements<E> samples = delegate.samples();
          List<E> samplesList = new ArrayList<>(samples.asList());
          sort(samplesList, comparator);
          this.firstInclusive = samplesList.get(0);
          this.lastInclusive = samplesList.get(samplesList.size() - 1);
        }
    
        public final TestSortedSetGenerator<E> getInnerGenerator() {
          return delegate;
        }
    
        public final Bound getTo() {
          return to;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top