Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 2,189 for boolean (0.07 sec)

  1. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       *
       * @return {@code true} always
       */
      @CanIgnoreReturnValue
      @Override
      public boolean add(E element) {
        offer(element);
        return true;
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean addAll(Collection<? extends E> newElements) {
        boolean modified = false;
        for (E element : newElements) {
          offer(element);
          modified = true;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

          }
    
          @Override
          public boolean contains(@CheckForNull Object object) {
            return object != null && Collections2.safeContains(delegate, object);
          }
    
          @Override
          public boolean containsAll(Collection<?> collection) {
            return standardContainsAll(collection);
          }
    
          @Override
          public boolean remove(@CheckForNull Object object) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableMap.java

          };
        }
    
        @Override
        public boolean contains(@CheckForNull Object object) {
          if (object instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) object;
            Object k = entry.getKey();
            Object v = entry.getValue();
            return v != null && v.equals(map.get(k));
          }
          return false;
        }
    
        @Override
        boolean isPartialView() {
          return true;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

    public class FilteredMultimapTest extends TestCase {
    
      private static final Predicate<Entry<String, Integer>> ENTRY_PREDICATE =
          new Predicate<Entry<String, Integer>>() {
            @Override
            public boolean apply(Entry<String, Integer> entry) {
              return !"badkey".equals(entry.getKey()) && !((Integer) 55556).equals(entry.getValue());
            }
          };
    
      protected Multimap<String, Integer> create() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       * @throws NullPointerException if the specified element is null
       */
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public boolean offer(E e) {
        final Monitor monitor = this.monitor;
        monitor.enter();
        try {
          boolean ok = q.offer(e);
          if (!ok) {
            throw new AssertionError();
          }
          return true;
        } finally {
          monitor.leave();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

      public void testRoundIntegralDoubleToInt() {
        for (double d : INTEGRAL_DOUBLE_CANDIDATES) {
          for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
            BigDecimal expected = new BigDecimal(d).setScale(0, mode);
            boolean isInBounds =
                expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0
                    & expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0;
    
            try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/HashBiMap.java

            entry = entry.nextInVToKBucket) {
          if (valueHash == entry.valueHash && Objects.equal(value, entry.value)) {
            return entry;
          }
        }
        return null;
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        return seekByKey(key, smearedHash(key)) != null;
      }
    
      /**
       * Returns {@code true} if this BiMap contains an entry whose value is equal to {@code value} (or,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

        private static final String OR_ALT = " || ";
    
        private static final String OR = " OR ";
    
        private static final String SPACE = " ";
    
        private SearchRequestParams params;
    
        private boolean escape = false;
    
        private String sortField;
    
        protected String quote(final String value) {
            if (value.split("\\s").length > 1) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

        }
    
        public String getPackageName() {
            return packageName;
        }
    
        public boolean isInterface() {
            return metaType == MetaType.INTERFACE;
        }
    
        public boolean isGroovy() {
            return isGroovy;
        }
    
        public boolean isEnum() {
            return metaType == MetaType.ENUM;
        }
    
        public String getSuperClassName() {
            return superClassName;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 10.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

            // nothing
        }
    
        @Override
        public void invokeOrderBy(String columnFlexibleName, boolean isAsc) {
            // nothing
        }
    
        @Override
        public ConditionQuery invokeForeignCQ(String foreignPropertyName) {
            return null;
        }
    
        @Override
        public boolean invokeHasForeignCQ(String foreignPropertyName) {
            return false;
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top