Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,542 for return (0.68 sec)

  1. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        }
    
        public String getInceptionYear() {
            return getModel().getInceptionYear();
        }
    
        public void setUrl(String url) {
            getModel().setUrl(url);
        }
    
        public String getUrl() {
            return getModel().getUrl();
        }
    
        public Prerequisites getPrerequisites() {
            return getModel().getPrerequisites();
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

            return false;
          }
        }
        return false;
      }
    
      /**
       * Returns an unmodifiable view of the specified navigable set. This method allows modules to
       * provide users with "read-only" access to internal navigable sets. Query operations on the
       * returned set "read through" to the specified set, and attempts to modify the returned set,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/CharMatcher.java

          case 0:
            return none();
          case 1:
            return is(sequence.charAt(0));
          case 2:
            return isEither(sequence.charAt(0), sequence.charAt(1));
          default:
            // TODO(lowasser): is it potentially worth just going ahead and building a precomputed
            // matcher?
            return new AnyOf(sequence);
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ByteSource.java

       * opening the data stream.
       *
       * <p>The default implementation returns {@link Optional#absent}. Some sources, such as a file,
       * may return a non-absent value. Note that in such cases, it is <i>possible</i> that this method
       * will return a different number of bytes than would be returned by reading all of the bytes (for
       * example, some special files may return a size of 0 despite actually having content when read).
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Functions.java

       * @param defaultValue the value to return for inputs that aren't map keys
       * @return function that returns {@code map.get(a)} when {@code a} is a key, or {@code
       *     defaultValue} otherwise
       */
      public static <K extends @Nullable Object, V extends @Nullable Object> Function<K, V> forMap(
          Map<K, ? extends V> map, @ParametricNullness V defaultValue) {
        return new ForMapWithDefault<>(map, defaultValue);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                            if (!ProxyUtils.validateNonProxyHosts(pi, repo.getHost())) {
                                return proxy;
                            }
                        } else {
                            return proxy;
                        }
                    }
                }
            }
    
            return null;
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/DiscreteDomain.java

          if (end > start && result < 0) { // overflow
            return Long.MAX_VALUE;
          }
          if (end < start && result > 0) { // underflow
            return Long.MIN_VALUE;
          }
          return result;
        }
    
        @Override
        public Long minValue() {
          return Long.MIN_VALUE;
        }
    
        @Override
        public Long maxValue() {
          return Long.MAX_VALUE;
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            return false;
          }
          if ((i > 2) && (compareElements(getGrandparentIndex(i), i) > 0)) {
            return false;
          }
          return true;
        }
    
        // These would be static if inner classes could have static members.
    
        private int getLeftChildIndex(int i) {
          return i * 2 + 1;
        }
    
        private int getRightChildIndex(int i) {
          return i * 2 + 2;
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Floats.java

       * @param target a primitive {@code float} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
      public static boolean contains(float[] array, float target) {
        for (float value : array) {
          if (value == target) {
            return true;
          }
        }
        return false;
      }
    
      /**
       * Returns the index of the first appearance of the value {@code target} in {@code array}. Note
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Bytes.java

          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the values from each provided array combined into a single array. For example, {@code
       * concat(new byte[] {a, b}, new byte[] {}, new byte[] {c}} returns the array {@code {a, b, c}}.
       *
       * @param arrays zero or more {@code byte} arrays
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
Back to top