Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1871 - 1880 of 2,316 for Booleans (0.14 sec)

  1. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

     *
     * @author Osvaldo Doederlein
     */
    @NullUnmarked
    public class ToStringHelperBenchmark {
    
      @Param({"0", "1", "5"})
      int dataSize;
    
      @Param({"false", "true"})
      boolean omitNulls;
    
      enum Dataset {
        SMALL {
          @Override
          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, 10)
                .addValue(10L)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/InternersTest.java

        private final int i;
    
        MyInt(int i) {
          this.i = i;
        }
    
        @Override
        public int hashCode() {
          return i;
        }
    
        @Override
        public boolean equals(Object o) {
          return o instanceof MyInt && ((MyInt) o).i == i;
        }
      }
    
      public void testAsFunction_simplistic() {
        String canonical = "a";
        String not = new String("a");
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 17:02:07 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

         * in the toolchain plugin configuration.
         *
         * @param requirements key value pair, may not be {@code null}
         * @return {@code true} if the requirements match, otherwise {@code false}
         */
        boolean matchesRequirements(Map<String, String> requirements);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/BigIntegerMath.java

       */
      public static BigInteger floorPowerOfTwo(BigInteger x) {
        return BigInteger.ZERO.setBit(log2(x, FLOOR));
      }
    
      /** Returns {@code true} if {@code x} represents a power of two. */
      public static boolean isPowerOfTwo(BigInteger x) {
        checkNotNull(x);
        return x.signum() > 0 && x.getLowestSetBit() == x.bitLength() - 1;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

        Iterator<Entry<E>> entryIterator() {
          Iterator<Map.Entry<E, Integer>> backingEntries = backingMap.entrySet().iterator();
          return new UnmodifiableIterator<Multiset.Entry<E>>() {
            @Override
            public boolean hasNext() {
              return backingEntries.hasNext();
            }
    
            @Override
            public Multiset.Entry<E> next() {
              Map.Entry<E, Integer> mapEntry = backingEntries.next();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Enums.java

          return Enum.valueOf(enumClass, value);
        }
    
        @Override
        protected String doBackward(T enumValue) {
          return enumValue.name();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof StringConverter) {
            StringConverter<?> that = (StringConverter<?>) obj;
            return this.enumClass.equals(that.enumClass);
          }
          return false;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 13:41:58 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/evaluator_test.go

    		}
    	}
    
    	lc = Lifecycle{
    		Rules: []Rule{
    			{
    				ID:     "AllVersionsExpiration",
    				Status: "Enabled",
    				Filter: Filter{},
    				Expiration: Expiration{
    					Days: 1,
    					DeleteAll: Boolean{
    						val: true,
    						set: true,
    					},
    					set: true,
    				},
    			},
    		},
    	}
    
    	now = time.Date(2025, time.February, 12, 23, 0, 0, 0, time.UTC)
    	evaluator = NewEvaluator(lc)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Apr 08 15:41:24 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Longs.java

       * @param array an array of {@code long} values, possibly empty
       * @param target a primitive {@code long} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
      public static boolean contains(long[] array, long target) {
        for (long value : array) {
          if (value == target) {
            return true;
          }
        }
        return false;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 29K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Ints.java

       * @param array an array of {@code int} values, possibly empty
       * @param target a primitive {@code int} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
      public static boolean contains(int[] array, int target) {
        for (int value : array) {
          if (value == target) {
            return true;
          }
        }
        return false;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/FluentIterable.java

       * equals(target)} is true.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.anyMatch(Predicate.isEqual(target))}.
       */
      public final boolean contains(@Nullable Object target) {
        return Iterables.contains(getDelegate(), target);
      }
    
      /**
       * Returns a fluent iterable whose {@code Iterator} cycles indefinitely over the elements of this
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 34.7K bytes
    - Viewed (0)
Back to top