Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for true (0.15 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

     *
     * @author Jared Levy
     * @author Louis Wasserman
     * @since 2.0 (implements {@code NavigableMap} since 12.0)
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class ImmutableSortedMap<K, V> extends ImmutableMap<K, V>
        implements NavigableMap<K, V> {
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SetsTest.java

        ensureNotDirectlyModifiable(unmod.headSet(2));
        ensureNotDirectlyModifiable(unmod.headSet(2, true));
        ensureNotDirectlyModifiable(unmod.tailSet(2));
        ensureNotDirectlyModifiable(unmod.tailSet(2, true));
        ensureNotDirectlyModifiable(unmod.subSet(1, 3));
        ensureNotDirectlyModifiable(unmod.subSet(1, true, 3, true));
    
        /* UnsupportedOperationException on indirect modifications. */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

                          : Cancellation.CAUSELESS_CANCELLED);
          AbstractFuture<?> abstractFuture = this;
          while (true) {
            if (ATOMIC_HELPER.casValue(abstractFuture, localValue, valueToSet)) {
              rValue = true;
              complete(abstractFuture, mayInterruptIfRunning);
              if (localValue instanceof SetFuture) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTest.java

        ensureNotDirectlyModifiable(unmod);
        ensureNotDirectlyModifiable(unmod.descendingMap());
        ensureNotDirectlyModifiable(unmod.headMap(2, true));
        ensureNotDirectlyModifiable(unmod.subMap(1, true, 3, true));
        ensureNotDirectlyModifiable(unmod.tailMap(2, true));
    
        Collection<String> values = unmod.values();
        try {
          values.add("4");
          fail("UnsupportedOperationException expected");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

        ensureNotDirectlyModifiable(unmod);
        ensureNotDirectlyModifiable(unmod.descendingMap());
        ensureNotDirectlyModifiable(unmod.headMap(2, true));
        ensureNotDirectlyModifiable(unmod.subMap(1, true, 3, true));
        ensureNotDirectlyModifiable(unmod.tailMap(2, true));
    
        Collection<String> values = unmod.values();
        try {
          values.add("4");
          fail("UnsupportedOperationException expected");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Synchronized.java

          return subMap(fromKey, true, toKey, false);
        }
    
        @Override
        public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) {
          synchronized (mutex) {
            return navigableMap(delegate().tailMap(fromKey, inclusive), mutex);
          }
        }
    
        @Override
        public SortedMap<K, V> tailMap(K fromKey) {
          return tailMap(fromKey, true);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/IteratorsTest.java

    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@code Iterators}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class IteratorsTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

              newCount = this.count - 1;
              table.set(index, newFirst);
              this.count = newCount; // write-volatile
              return true;
            }
          }
    
          return false;
        }
    
        /**
         * Returns {@code true} if the value has been partially collected, meaning that the value is
         * null.
         */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

        @CheckForNull
        public E floor(@ParametricNullness E e) {
          return Iterators.find(unfiltered().headSet(e, true).descendingIterator(), predicate, null);
        }
    
        @Override
        @CheckForNull
        public E ceiling(@ParametricNullness E e) {
          return Iterables.find(unfiltered().tailSet(e, true), predicate, null);
        }
    
        @Override
        @CheckForNull
        public E higher(@ParametricNullness E e) {
    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)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

     * <p>If you do chain your operations manually, you may want to use {@link FluentFuture}.
     *
     * @author Kevin Bourrillion
     * @author Nishant Thakkar
     * @author Sven Mawson
     * @since 1.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Futures extends GwtFuturesCatchingSpecialization {
    
      // A note on memory visibility.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
Back to top