- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 167 for operators (0.14 sec)
-
android/guava/src/com/google/common/net/InetAddresses.java
* creation methods appear to adhere doggedly to the original intent of the "mapped" address: all * "mapped" addresses return {@link Inet4Address} objects. * * <p>For added safety, it is common for IPv6 network operators to filter all packets where either * the source or destination address appears to be a "compat" or "mapped" address. Filtering * suggestions usually recommend discarding any packets with source or destination addresses in the
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 44K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/CompactHashSet.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * CompactHashSet is an implementation of a Set. All optional operations (adding and removing) are * supported. The elements can be any objects. * * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, are all (expected and amortized) * constant time operations. Expected in the hashtable sense (depends on the hash function doing a
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 05 21:38:59 GMT 2024 - 24K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java
} @VisibleForTesting OldConcurrentHashMultiset(ConcurrentMap<E, Integer> countMap) { checkArgument(countMap.isEmpty()); this.countMap = countMap; } // Query Operations /** * Returns the number of occurrences of {@code element} in this multiset. * * @param element the element to look for * @return the nonnegative number of occurrences of the element
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed May 09 15:17:25 GMT 2018 - 16.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
* <li>The retrieval operations {@link #peek}, {@link #peekFirst}, {@link #peekLast}, {@link * #element}, and {@link #size} are constant-time. * <li>The enqueuing and dequeuing operations ({@link #offer}, {@link #add}, and all the forms of * {@link #poll} and {@link #remove()}) run in {@code O(log n) time}. * <li>The {@link #remove(Object)} and {@link #contains} operations require linear ({@code O(n)}) * time.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 34K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multiset.java
* element. There are five new bulk-modification operations, for example {@link #add(Object, int)}, * to add or remove multiple occurrences of an element at once, or to set the count of an element to * a specific value. These modification operations are optional, but implementations which support * the standard collection operations {@link #add(Object)} or {@link #remove(Object)} are encouraged
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sat Jun 17 14:40:53 GMT 2023 - 19.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
public Builder<E> add(E element) { checkNotNull(element); copyIfNecessary(); if (n == elements.length) { sortAndDedup(); /* * Sorting operations can only be allowed to occur once every O(n) operations to keep * amortized O(n log n) performance. Therefore, ensure there are at least O(n) *unused* * spaces in the builder array. */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 38.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
} catch (UnsupportedOperationException expected) { } } } /** * Asserts that two iterators contain elements in tandem. * * <p>This test only works with iterators that iterate over a finite set. */ public static void assertIteratorsInOrder( Iterator<?> expectedIterator, Iterator<?> actualIterator) { int i = 0;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 15K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
if (orderedNodeConnections == null) { resultWithDoubleSelfLoop = Iterators.concat( Iterators.transform( predecessors().iterator(), (N predecessor) -> EndpointPair.ordered(predecessor, thisNode)), Iterators.transform( successors().iterator(),
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 18K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@link Maps#transformValues} when the backing map's views have iterators that don't * support {@code remove()}. * * @author Jared Levy */ @GwtCompatible @ElementTypesAreNonnullByDefault public class MapsTransformValuesUnmodifiableIteratorTest extends MapInterfaceTest<String, String> {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 12.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
@Override public int count(@CheckForNull Object element) { Count frequency = Maps.safeGet(backingMap, element); return (frequency == null) ? 0 : frequency.get(); } // Optional Operations - Modification Operations /** * {@inheritDoc} * * @throws IllegalArgumentException if the call would result in more than {@link * Integer#MAX_VALUE} occurrences of {@code element} in this multiset.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Mar 06 16:06:58 GMT 2023 - 10.4K bytes - Viewed (0)