Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Hoolehan (0.19 sec)

  1. 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)
  2. guava-tests/test/com/google/common/collect/IteratorsTest.java

          return new PickyIterator();
        }
    
        final class PickyIterator implements Iterator<E> {
          int expectedModCount = modCount;
          int index = 0;
          boolean canRemove;
    
          @Override
          public boolean hasNext() {
            checkConcurrentModification();
            return index < elements.size();
          }
    
          @Override
          public E next() {
            checkConcurrentModification();
    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)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * throwing an exception, if passed a {@code toKey} greater than an earlier {@code toKey}.
       *
       * @since 12.0
       */
      @Override
      public ImmutableSortedMap<K, V> subMap(
          K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) {
        checkNotNull(fromKey);
        checkNotNull(toKey);
        checkArgument(
            comparator().compare(fromKey, toKey) <= 0,
            "expected fromKey <= toKey but %s > %s",
    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)
  4. guava-tests/test/com/google/common/collect/SetsTest.java

        Set<Integer> set = Sets.newSetFromMap(new HashMap<Integer, Boolean>());
        set.addAll(SOME_COLLECTION);
        verifySetContents(set, SOME_COLLECTION);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testNewSetFromMapSerialization() {
        Set<Integer> set = Sets.newSetFromMap(new LinkedHashMap<Integer, Boolean>());
        set.addAll(SOME_COLLECTION);
    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)
  5. android/guava/src/com/google/common/collect/Synchronized.java

          }
        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
          synchronized (mutex) {
            return delegate().contains(o);
          }
        }
    
        @Override
        public boolean containsAll(Collection<?> c) {
          synchronized (mutex) {
            return delegate().containsAll(c);
          }
        }
    
        @Override
        public boolean isEmpty() {
          synchronized (mutex) {
    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)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      static final boolean GENERATE_CANCELLATION_CAUSES;
    
      static {
        // System.getProperty may throw if the security policy does not permit access.
        boolean generateCancellationCauses;
        try {
          generateCancellationCauses =
              Boolean.parseBoolean(
                  System.getProperty("guava.concurrent.generate_cancellation_cause", "false"));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      public void testTransformEntriesExample() {
        Map<String, Boolean> options = ImmutableMap.of("verbose", true, "sort", false);
        EntryTransformer<String, Boolean, String> flagPrefixer =
            new EntryTransformer<String, Boolean, String>() {
              @Override
              public String transformEntry(String key, Boolean value) {
                return value ? key : "no" + key;
              }
            };
    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)
  8. android/guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      public void testTransformEntriesExample() {
        Map<String, Boolean> options = ImmutableMap.of("verbose", true, "sort", false);
        EntryTransformer<String, Boolean, String> flagPrefixer =
            new EntryTransformer<String, Boolean, String>() {
              @Override
              public String transformEntry(String key, Boolean value) {
                return value ? key : "no" + key;
              }
            };
    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)
  9. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p>This method delegates to the appropriate methods of {@link NavigableSet} (namely {@link
       * NavigableSet#subSet(Object, boolean, Object, boolean) subSet()}, {@link
       * NavigableSet#tailSet(Object, boolean) tailSet()}, and {@link NavigableSet#headSet(Object,
       * boolean) headSet()}) to actually construct the view. Consult these methods for a full
       * description of the returned view's behavior.
       *
    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/collect/MapMakerInternalMap.java

          return MapMakerInternalMap.this.size();
        }
    
        @Override
        public boolean isEmpty() {
          return MapMakerInternalMap.this.isEmpty();
        }
    
        @Override
        public boolean contains(Object o) {
          return MapMakerInternalMap.this.containsKey(o);
        }
    
        @Override
        public boolean remove(Object o) {
          return MapMakerInternalMap.this.remove(o) != 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)
Back to top