Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 216 for Oranges (0.15 sec)

  1. guava/src/com/google/common/base/Predicates.java

       * {@code true}. The components are evaluated in order, and evaluation will be "short-circuited"
       * as soon as a false predicate is found. It defensively copies the iterable passed in, so future
       * changes to it won't alter the behavior of this predicate. If {@code components} is empty, the
       * returned predicate will always evaluate to {@code true}.
       */
      public static <T extends @Nullable Object> Predicate<T> and(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/EmptyImmutableSetMultimap.java

       * of common.collect a second time with the results of the first compilation on the classpath. Or
       * just back this out once we stop doing that (which we'll do after our internal GWT setup
       * changes).
       */
      @Override
      public ImmutableMap<Object, Collection<Object>> asMap() {
        return super.asMap();
      }
    
      private Object readResolve() {
        return INSTANCE; // preserve singleton property
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 18 16:48:17 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/annotations/Beta.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Signifies that a public API (public class, method or field) is subject to incompatible changes,
     * or even removal, in a future release. An API bearing this annotation is exempt from any
     * compatibility guarantees made by its containing library. Note that the presence of this
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/collect/ImmutableSetHashFloodingDetectionBenchmark.java

                runLength++;
                if (runLength > maxRunBeforeFallback) {
                  return true;
                }
              }
            }
            return false;
          }
        },
        SEPARATE_RANGES {
          int maxRunBeforeFallback(int tableSize) {
            return 13 * IntMath.log2(tableSize, RoundingMode.UNNECESSARY);
          }
    
          @Override
          boolean hashFloodingDetected(Object[] hashTable) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Jun 03 20:16:35 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/GeneralRangeTest.java

            range.intersect(GeneralRange.<@Nullable Integer>range(ORDERING, null, OPEN, 5, CLOSED)));
    
        assertEquals(
            GeneralRange.range(ORDERING, 2, OPEN, 4, OPEN),
            range.intersect(GeneralRange.range(ORDERING, 2, OPEN, 5, CLOSED)));
    
        assertEquals(
            GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN),
            range.intersect(GeneralRange.range(ORDERING, 1, OPEN, 4, OPEN)));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

        return Lists.newArrayList(0);
      }
    
      /**
       * The version of this test supplied by {@link MapInterfaceTest} fails for this particular Map
       * implementation, because {@code map.get()} returns a view collection that changes in the course
       * of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code map.remove(x)}
       * returns the same value which {@code map.get(x)} did immediately beforehand.
       */
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

        assertThat(emptyGraph.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      /**
       * Tests that the ImmutableGraph.Builder doesn't change when the creating GraphBuilder changes.
       */
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void immutableGraphBuilder_copiesGraphBuilder() {
        GraphBuilder<String> graphBuilder =
            GraphBuilder.directed()
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Jan 09 20:24:43 GMT 2020
    - 4.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ListsTest.java

        List<List<Integer>> partitions = Lists.partition(list, 3);
    
        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
    
        Iterator<List<Integer>> iterator = partitions.iterator();
    
        // Changes before the partition is retrieved are reflected
        list.set(1, 4);
    
        List<Integer> first = iterator.next();
    
        // Changes after are too (unlike Iterables.partition)
        list.set(2, 5);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

              RangeMap<Integer, Integer> rangemap =
                  ImmutableRangeMap.<Integer, Integer>builder().put(range1, 1).put(range2, 2).build();
              assertEquals(range1.span(range2), rangemap.span());
            }
          }
        }
      }
    
      public void testGetEntry() {
        for (Range<Integer> range1 : RANGES) {
          for (Range<Integer> range2 : RANGES) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

          value: >
            Did you *actually* encounter the need for this enhancement in a real-world scenario, or does
            it just seem like a sensible behavior for the feature to have?
    
    
            Before we make significant changes to existing features in Guava, we really want to be sure
            that it's for a use case that actually comes up in the real world. We want to hear the
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.9K bytes
    - Viewed (0)
Back to top