Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for halse (0.14 sec)

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

       */
      public static <K, V> ImmutableSortedMap<K, V> copyOf(
          Iterable<? extends Entry<? extends K, ? extends V>> entries,
          Comparator<? super K> comparator) {
        return fromEntries(checkNotNull(comparator), false, entries);
      }
    
      /**
       * Returns an immutable map containing the same entries as the provided sorted map, with the same
       * ordering.
       *
    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. android/guava/src/com/google/common/base/Preconditions.java

      /**
       * Ensures the truth of an expression involving one or more parameters to the calling method.
       *
       * @param expression a boolean expression
       * @throws IllegalArgumentException if {@code expression} is false
       */
      public static void checkArgument(boolean expression) {
        if (!expression) {
          throw new IllegalArgumentException();
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

          @Override
          public void remove() {
            checkConcurrentModification();
            checkRemove(canRemove);
            elements.remove(--index);
            expectedModCount = ++modCount;
            canRemove = false;
          }
    
          void checkConcurrentModification() {
            if (expectedModCount != modCount) {
              throw new ConcurrentModificationException();
            }
          }
        }
      }
    
    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)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        try {
          generateCancellationCauses =
              Boolean.parseBoolean(
                  System.getProperty("guava.concurrent.generate_cancellation_cause", "false"));
        } catch (SecurityException e) {
          generateCancellationCauses = false;
        }
        GENERATE_CANCELLATION_CAUSES = generateCancellationCauses;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MapsTest.java

        assertThat(map.tailMap("three", false).entrySet()).contains(mapEntry("two", 3));
        assertNull(map.tailMap("three", true).lowerEntry("three"));
        assertThat(map.headMap("two", false).values()).containsExactly(3, 5).inOrder();
        assertThat(map.headMap("two", false).descendingMap().values()).containsExactly(5, 3).inOrder();
    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)
  6. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertThat(map.tailMap("three", false).entrySet()).contains(mapEntry("two", 3));
        assertNull(map.tailMap("three", true).lowerEntry("three"));
        assertThat(map.headMap("two", false).values()).containsExactly(3, 5).inOrder();
        assertThat(map.headMap("two", false).descendingMap().values()).containsExactly(5, 3).inOrder();
    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)
  7. guava/src/com/google/common/collect/ImmutableSortedMap.java

       */
      public static <K, V> ImmutableSortedMap<K, V> copyOf(
          Iterable<? extends Entry<? extends K, ? extends V>> entries,
          Comparator<? super K> comparator) {
        return fromEntries(checkNotNull(comparator), false, entries);
      }
    
      /**
       * Returns an immutable map containing the same entries as the provided sorted map, with the same
       * ordering.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Synchronized.java

            return Synchronized.navigableSet(delegate().headSet(toElement, inclusive), mutex);
          }
        }
    
        @Override
        public SortedSet<E> headSet(E toElement) {
          return headSet(toElement, false);
        }
    
        @Override
        @CheckForNull
        public E higher(E e) {
          synchronized (mutex) {
            return delegate().higher(e);
          }
        }
    
        @Override
    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)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

                  }
                  return false;
                }
    
                if (map.valueEquivalence().equivalent(oldValue, entryValue)) {
                  ++modCount;
                  setValue(e, newValue);
                  return true;
                } else {
                  // Mimic
                  // "if (map.containsKey(key) && map.get(key).equals(oldValue))..."
                  return false;
                }
              }
    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)
  10. android/guava/src/com/google/common/collect/Sets.java

          if (!(object instanceof List)) {
            return false;
          }
          List<?> list = (List<?>) object;
          if (list.size() != axes.size()) {
            return false;
          }
          int i = 0;
          for (Object o : list) {
            if (!axes.get(i).contains(o)) {
              return false;
            }
            i++;
          }
          return true;
        }
    
    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)
Back to top