Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for Wong (0.14 sec)

  1. android/guava/src/com/google/common/base/Equivalence.java

       *       equivalent(x, z)} is also true (<i>transitive</i> property)
       * </ul>
       *
       * <p>Note that all calls to {@code equivalent(x, y)} are expected to return the same result as
       * long as neither {@code x} nor {@code y} is modified.
       */
      public final boolean equivalent(@CheckForNull T a, @CheckForNull T b) {
        if (a == b) {
          return true;
        }
        if (a == null || b == null) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

        if (entries.isEmpty()) {
          return emptyMultiset(comparator);
        }
        ImmutableList.Builder<E> elementsBuilder = new ImmutableList.Builder<>(entries.size());
        long[] cumulativeCounts = new long[entries.size() + 1];
        int i = 0;
        for (Entry<E> entry : entries) {
          elementsBuilder.add(entry.getElement());
          cumulativeCounts[i + 1] = cumulativeCounts[i] + entry.getCount();
          i++;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java

            if (testTransferListener != null) {
                testTransferListener.addTransfer(resourceName);
            }
        }
    
        public boolean getIfNewer(String resourceName, File destination, long timestamp)
                throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException {
            if (!insideGet) {
                addTransfer("getIfNewer " + resourceName);
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

       * Returns the number of elements remaining in {@code iterator}. The iterator will be left
       * exhausted: its {@code hasNext()} method will return {@code false}.
       */
      public static int size(Iterator<?> iterator) {
        long count = 0L;
        while (iterator.hasNext()) {
          iterator.next();
          count++;
        }
        return Ints.saturatedCast(count);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

          setMap(map);
        }
    
        @GwtIncompatible // java serialization not supported
        @J2ktIncompatible
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Creates a new {@code ListMultimap} that uses the provided map and factory. It can generate a
       * multimap based on arbitrary {@link Map} and {@link List} classes.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

            String[] secondSegments = second.split("\\.");
            for (int i = 0; i < Math.max(firstSegments.length, secondSegments.length); i++) {
                int result = Long.valueOf(i < firstSegments.length ? firstSegments[i] : "0")
                        .compareTo(Long.valueOf(i < secondSegments.length ? secondSegments[i] : "0"));
                if (result != 0) {
                    return result;
                }
            }
            return 0;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Ordering.java

        final Object value;
    
        IncomparableValueException(Object value) {
          super("Cannot compare value: " + value);
          this.value = value;
        }
    
        private static final long serialVersionUID = 0;
      }
    
      // Never make these public
      static final int LEFT_IS_GREATER = 1;
      static final int RIGHT_IS_GREATER = -1;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
Back to top