Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1401 - 1410 of 2,158 for booleans (0.11 sec)

  1. guava-tests/test/com/google/common/collect/AbstractTableTest.java

        for (int i = 0; i < data.length; i += 3) {
          table.put(
              (String) data[i], (Integer) data[i + 1], nullableCellValue((Character) data[i + 2]));
        }
      }
    
      protected boolean supportsRemove() {
        return true;
      }
    
      protected boolean supportsNullValues() {
        return false;
      }
    
      public void testClear() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        if (supportsRemove()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingSortedSet.java

       * #tailSet}. If you override {@link #tailSet}, you may wish to override {@link #contains} to
       * forward to this implementation.
       *
       * @since 7.0
       */
      @Override
      protected boolean standardContains(@CheckForNull Object object) {
        try {
          // any ClassCastExceptions and NullPointerExceptions are caught
          @SuppressWarnings({"unchecked", "nullness"})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Interners.java

      /**
       * Builder for {@link Interner} instances.
       *
       * @since 21.0
       */
      public static class InternerBuilder {
        private final MapMaker mapMaker = new MapMaker();
        private boolean strong = true;
    
        private InternerBuilder() {}
    
        /**
         * Instructs the {@link InternerBuilder} to build a strong interner.
         *
         * @see Interners#newStrongInterner()
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

         * @return the object defined by the expression
         * @throws IntrospectionException if any
         */
        public static Object evaluate(@Nonnull String expression, @Nullable Object root, boolean trimRootToken)
                throws IntrospectionException {
            Object value = root;
    
            // ----------------------------------------------------------------------
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            enableLogging(logger);
        }
    
        public static final String LAST_UPDATE_TAG = ".lastUpdated";
    
        private static final String TOUCHFILE_NAME = "resolver-status.properties";
    
        @Override
        public boolean isUpdateRequired(Artifact artifact, ArtifactRepository repository) {
            File file = artifact.getFile();
    
            ArtifactRepositoryPolicy policy = artifact.isSnapshot() ? repository.getSnapshots() : repository.getReleases();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

        }
    
        private fun bodyHasUnknownEncoding(headers: Headers): Boolean {
          val contentEncoding = headers["Content-Encoding"] ?: return false
          return !contentEncoding.equals("identity", ignoreCase = true) &&
            !contentEncoding.equals("gzip", ignoreCase = true)
        }
    
        private fun bodyIsStreaming(response: Response): Boolean {
          val contentType = response.body.contentType()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

            return versionsToIncubating
        }
    
        private
        fun CompilationUnit.findAllIncubating() =
            findAll(Node::class.java).filter { it.isIncubating }
    
        private
        val Node.isIncubating: Boolean
            get() = (this as? NodeWithAnnotations<*>)?.annotations?.any { it.nameAsString == "Incubating" } ?: false
    
        private
        fun CompilationUnit.toVersionIncubating(sourceFile: File, node: Node) =
            Pair(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/SortedIterables.java

    final class SortedIterables {
      private SortedIterables() {}
    
      /**
       * Returns {@code true} if {@code elements} is a sorted collection using an ordering equivalent to
       * {@code comparator}.
       */
      public static boolean hasSameComparator(Comparator<?> comparator, Iterable<?> elements) {
        checkNotNull(comparator);
        checkNotNull(elements);
        Comparator<?> comparator2;
        if (elements instanceof SortedSet) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 30 10:33:07 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilderFactory.java

    @Experimental
    public interface MessageBuilderFactory extends Service {
        /**
         * Checks if the underlying output does support styling or not.
         * @return whether color styling is supported or not
         */
        boolean isColorEnabled();
    
        /**
         * Returns the terminal width or <code>-1</code> if not supported.
         * @return the terminal width
         */
        int getTerminalWidth();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Jan 08 10:37:09 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        Reader r = new StringReader(text);
        LineProcessor<Integer> alwaysFalse =
            new LineProcessor<Integer>() {
              int seen;
    
              @Override
              public boolean processLine(String line) {
                seen++;
                return false;
              }
    
              @Override
              public Integer getResult() {
                return seen;
              }
            };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top