- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 196 for allowing (0.37 sec)
-
guava-tests/test/com/google/common/graph/StandardMutableDirectedNetworkTest.java
import java.util.Collection; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; /** Tests for a directed {@link StandardMutableNetwork} allowing self-loops. */ @AndroidIncompatible @RunWith(Parameterized.class) public class StandardMutableDirectedNetworkTest extends AbstractStandardDirectedNetworkTest {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Apr 09 17:01:22 GMT 2020 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Striped.java
* read-write locks. Conceptually, lock striping is the technique of dividing a lock into many * <i>stripes</i>, increasing the granularity of a single lock and allowing independent operations * to lock different stripes and proceed concurrently, instead of creating contention for a single * lock. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 10 20:55:18 GMT 2023 - 20.3K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/ImmutableEnumSet.java
* * This class isn't an arbitrary ForwardingImmutableSet because we need to * know that calling {@code clone()} during deserialization will return an * object that no one else has a reference to, allowing us to guarantee * immutability. Hence, we support only {@link EnumSet}. */ private final transient EnumSet<E> delegate; private ImmutableEnumSet(EnumSet<E> delegate) { this.delegate = delegate; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Converter.java
return b == null ? null : checkNotNull(doBackward(b)); } else { return unsafeDoBackward(b); } } /* * LegacyConverter violates the contract of Converter by allowing its doForward and doBackward * methods to accept null. We could avoid having unchecked casts in Converter.java itself if we * could perform a cast to LegacyConverter, but we can't because it's an internal-only class. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 23K bytes - Viewed (1) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
try { separated.withSeparator("$", 4); fail("Expected UnsupportedOperationException"); } catch (UnsupportedOperationException expected) { } } public void testBase64() { // The following test vectors are specified in RFC 4648 itself testEncodingWithSeparators(base64(), "", ""); testEncodingWithSeparators(base64(), "f", "Zg=="); testEncodingWithSeparators(base64(), "fo", "Zm8=");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Aug 25 16:34:08 GMT 2022 - 24.6K bytes - Viewed (0) -
android/guava/src/com/google/common/net/UrlEscapers.java
* href="https://goo.gl/9EfkM1">replacing any unpaired carriage return or line feed characters * with a CR+LF pair</a> on any non-file inputs before escaping them with this escaper. * * <p>When escaping a String, the following rules apply: * * <ul> * <li>The alphanumeric characters "a" through "z", "A" through "Z" and "0" through "9" remain * the same. * <li>The special characters ".", "-", "*", and "_" remain the same.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 28 15:04:33 GMT 2021 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
Map<K, V> result = super.convertToHashFloodingResistantImplementation(); links = null; return result; } /* * For discussion of the safety of the following methods for operating on predecessors and * successors, see the comments near the end of CompactHashMap, noting that the methods here call * link(), which is defined at the end of this file. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactLinkedHashSet.java
Set<E> result = super.convertToHashFloodingResistantImplementation(); this.predecessor = null; this.successor = null; return result; } /* * For discussion of the safety of the following methods for operating on predecessors and * successors, see the comments near the end of CompactHashMap, noting that the methods here call
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Feb 05 21:38:59 GMT 2024 - 9.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
return Optional.of(1); } private static FluentIterable<? extends Number> getSomeNumbers() { return FluentIterable.from(ImmutableList.<Number>of()); } /* * The following tests demonstrate the shortcomings of or() and test that the casting workaround * mentioned in the method Javadoc does in fact compile. */ @SuppressWarnings("unused") // compilation test
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Preconditions.java
* take a principled stand on this, but the amount of such code is simply overwhelming. To avoid * creating a lot of compile errors that users would not find to be informative, we're giving in * and allowing callers to pass arguments that a nullness checker believes could be null. * * We still encourage people to use requireNonNull over checkNotNull for non-precondition checks. */ /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Feb 14 15:46:55 GMT 2024 - 52.9K bytes - Viewed (0)