- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 825 for Must (0.13 sec)
-
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Basic implementation of {@code Multiset<E>} backed by an instance of {@code Map<E, Count>}. * * <p>For serialization to work, the subclass must specify explicit {@code readObject} and {@code * writeObject} methods. * * @author Kevin Bourrillion */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault
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) -
android/guava/src/com/google/common/io/ReaderInputStream.java
*/ ReaderInputStream(Reader reader, CharsetEncoder encoder, int bufferSize) { this.reader = checkNotNull(reader); this.encoder = checkNotNull(encoder); checkArgument(bufferSize > 0, "bufferSize must be positive: %s", bufferSize); encoder.reset(); charBuffer = CharBuffer.allocate(bufferSize); Java8Compatibility.flip(charBuffer); byteBuffer = ByteBuffer.allocate(bufferSize); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 9.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/ReactorReader.java
/** * Tries to resolve the specified artifact from the artifacts of the given project. * * @param project The project to try to resolve the artifact from, must not be <code>null</code>. * @param requestedArtifact The artifact to resolve, must not be <code>null</code>. * @return The matching artifact from the project or <code>null</code> if not found. Note that this */
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 21.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
assertTrue(item + " must not be Object#equals to null", !item.equals(null)); assertTrue( item + " must not be Object#equals to an arbitrary object of another class", !item.equals(NotAnInstance.EQUAL_TO_NOTHING)); assertTrue(item + " must be Object#equals to itself", item.equals(item)); assertEquals( "the Object#hashCode of " + item + " must be consistent", item.hashCode(),
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Oct 31 19:11:50 GMT 2023 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
* is built into the language and runtime. But the programmer has to remember to avoid a couple of * common bugs: The {@code wait()} must be inside a {@code while} instead of an {@code if}, and * {@code notifyAll()} must be used instead of {@code notify()} because there are two different * logical conditions being awaited. * * <pre>{@code * public class SafeBox<V> { * private V value; *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 18:22:01 GMT 2023 - 38.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java
}) private int size; // "" means no fixed seed @Param("1234") private SpecialRandom random; @Param({"ImmutableSetImpl", "HashSetImpl"}) private SetImpl impl; // the following must be set during setUp private Set<Element> setToTest; @BeforeExperiment void setUp() { CollectionBenchmarkSampleData sampleData = new CollectionBenchmarkSampleData(true, random, 0.8, size);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/rtinfo/RuntimeInformation.java
* "[2.2.1,)", i.e. denotes the minimum version required. * * @param versionRange The version range to match the current Maven runtime against, must not be {@code null}. * @return {@code true} if the current Maven runtime matches the specified version range, {@code false} otherwise.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Nov 22 13:26:01 GMT 2022 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
if (hasDot) { return null; // Colons must not appear after dots. } hasColon = true; } else if (c == '%') { percentIndex = i; break; // everything after a '%' is ignored (it's a Scope ID): http://superuser.com/a/99753 } else if (Character.digit(c, 16) == -1) { return null; // Everything else must be a decimal or hex digit. } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 44K bytes - Viewed (1) -
maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java
* */ public interface ProblemCollector { /** * Adds the specified problem. * Either message or exception is required * * @param severity The severity of the problem, must not be {@code null}. * @param message The detail message of the problem, may be {@code null}. * @param line The one-based index of the line containing the problem or {@code -1} if unknown.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 1.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java
static final boolean GENERATE_CANCELLATION_CAUSES = false; /** * Tag interface marking trusted subclasses. This enables some optimizations. The implementation * of this interface must also be an AbstractFuture and must not override or expose for overriding * any of the public methods of ListenableFuture. */ interface Trusted<V extends @Nullable Object> extends ListenableFuture<V> {}
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 19:37:41 GMT 2024 - 12.3K bytes - Viewed (0)