Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for checkRemove (0.12 sec)

  1. guava/src/com/google/common/collect/CollectPreconditions.java

        }
      }
    
      /**
       * Precondition tester for {@code Iterator.remove()} that throws an exception with a consistent
       * error message.
       */
      static void checkRemove(boolean canRemove) {
        checkState(canRemove, "no calls to next() since the last call to remove()");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 30 10:33:07 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.CollectPreconditions.checkRemove;
    import static com.google.common.collect.Maps.safeGet;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

          entryIndex = backingMap.nextIndex(entryIndex);
          return result;
        }
    
        @Override
        public void remove() {
          checkForConcurrentModification();
          CollectPreconditions.checkRemove(toRemove != -1);
          size -= backingMap.removeEntry(toRemove);
          entryIndex = backingMap.nextIndexAfterRemove(entryIndex, toRemove);
          toRemove = -1;
          expectedModCount = backingMap.modCount;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashSet.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.CollectPreconditions.checkRemove;
    import static com.google.common.collect.CompactHashing.UNSET;
    import static com.google.common.collect.Hashing.smearedHash;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactHashSet.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.CollectPreconditions.checkRemove;
    import static com.google.common.collect.CompactHashing.UNSET;
    import static com.google.common.collect.Hashing.smearedHash;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

    import static com.google.common.base.Preconditions.checkPositionIndex;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.collect.CollectPreconditions.checkRemove;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    import static java.lang.System.arraycopy;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multisets.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.CollectPreconditions.checkRemove;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    import static java.util.Arrays.asList;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multisets.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.CollectPreconditions.checkRemove;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    import static java.util.Arrays.asList;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

    import static com.google.common.base.Preconditions.checkPositionIndex;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.collect.CollectPreconditions.checkRemove;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    import static java.lang.System.arraycopy;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterables.java

    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.CollectPreconditions.checkRemove;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Function;
    import com.google.common.base.Optional;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
Back to top