- Sort Score
- Result 10 results
- Languages All
Results 741 - 750 of 836 for examples (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* source Iterable, unless that Iterator is unmodifiable. */ protected abstract I newTargetIterator(); /** * Override this to verify anything after running a list of Stimuli. * * <p>For example, verify that calls to remove() actually removed the correct elements. * * @param elements the expected elements passed to the constructor, as mutated by {@code * remove()}, {@code set()}, and {@code add()} calls
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 20.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Verify.java
* except that they are always enabled. These methods should be used instead of Java assertions * whenever there is a chance the check may fail "in real life". Example: * * {@snippet : * Bill bill = remoteService.getLastUnpaidBill(); * * // In case bug 12345 happens again we'd rather just die * Verify.verify(bill.status() == Status.UNPAID,
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
* returned. * * <p>All default instances returned by {@link #get} are generics-safe. Clients won't get type * errors for using {@code get(Comparator.class)} as a {@code Comparator<Foo>}, for example. * Immutable empty instances are returned for collection types; {@code ""} for string; {@code 0} for * number types; reasonable default instance for other stateless types. For mutable types, a freshRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 21.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
return new Builder<>(); } /** * A builder for creating immutable multiset instances, especially {@code public static final} * multisets ("constant multisets"). Example: * * {@snippet : * public static final ImmutableMultiset<Bean> BEANS = * new ImmutableMultiset.Builder<Bean>() * .addCopies(Bean.COCOA, 4) * .addCopies(Bean.GARDEN, 6)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
* and well as their responses for each type however the actuall implementations * of the readXxxWireFormat and writeXxxWireFormat methods may not be in * place. For example at the time of this writing the readXxxWireFormat * for requests and the writeXxxWireFormat for responses are not implemented * and simply return 0. These would need to be completed for a server * implementation.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
@GwtIncompatible // used only from suite @AndroidIncompatible public abstract static class TestLongListGenerator implements TestListGenerator<Long> { @Override public SampleElements<Long> samples() { return new SampleLongs(); } @Override public List<Long> create(Object... elements) { Long[] array = new Long[elements.length]; int i = 0;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 20.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* source Iterable, unless that Iterator is unmodifiable. */ protected abstract I newTargetIterator(); /** * Override this to verify anything after running a list of Stimuli. * * <p>For example, verify that calls to remove() actually removed the correct elements. * * @param elements the expected elements passed to the constructor, as mutated by {@code * remove()}, {@code set()}, and {@code add()} calls
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
guava/src/com/google/common/math/BigIntegerMath.java
* mode}. * * <p>For the case of {@link RoundingMode#HALF_DOWN}, {@code HALF_UP}, and {@code HALF_EVEN}, * infinite {@code double} values are considered infinitely far away. For example, 2^2000 is not * representable as a double, but {@code roundToDouble(BigInteger.valueOf(2).pow(2000), HALF_UP)} * will return {@code Double.MAX_VALUE}, not {@code Double.POSITIVE_INFINITY}. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
* <li>Ensure keys are securely generated and stored</li> * <li>For production systems with stringent security requirements, consider using authenticated encryption modes</li> * </ul> * <p> * <strong>Usage Example:</strong> * </p> * <pre> * CachedCipher cipher = new CachedCipher(); * cipher.setKey("mySecretKey"); * * // Encrypt text * String encrypted = cipher.encryptText("Hello World"); * * // Decrypt text
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 15.9K bytes - Viewed (0) -
LICENSE
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which theRegistered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Tue Nov 22 19:44:46 UTC 2016 - 11.1K bytes - Viewed (0)