- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 2,834 for this (0.19 sec)
-
guava/src/com/google/common/collect/ImmutableMultiset.java
* ImmutableMultiset#builder}. */ public Builder() { this(LinkedHashMultiset.<E>create()); } Builder(Multiset<E> contents) { this.contents = contents; } /** * Adds {@code element} to the {@code ImmutableMultiset}. * * @param element the element to add * @return this {@code Builder} object * @throws NullPointerException if {@code element} is null
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 20.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Suppliers.java
ExpiringMemoizingSupplier(Supplier<T> delegate, long durationNanos) { this.delegate = delegate; this.durationNanos = durationNanos; } @Override @ParametricNullness public T get() { // Another variant of Double Checked Locking. // // We use two volatile reads. We could reduce this to one by // putting our fields into a holder class, but (at least on x86)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 15.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Joiner.java
return new Joiner(String.valueOf(separator)); } private final String separator; private Joiner(String separator) { this.separator = checkNotNull(separator); } private Joiner(Joiner prototype) { this.separator = prototype.separator; } /* * In this file, we use <? extends @Nullable Object> instead of <?> to work around a Kotlin bug
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 18.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
* filesystem) does our prod code look up the username. Thus, this test doesn't necessarily test * anything interesting under most environments. Still, we can run it (except for Android, at * least old versions), so we mostly do. This is useful because we don't actually run our CI on * Windows under Java 8, at least as of this writing. * * Under Windows in particular, we want to test that: *
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
* have, of returning a new, independent iterator * </ul> * * <p>Because of this situation, any public method accepting an iterable should invoke the {@code * iterator} method only once, and should be tested using this class. Exceptions to this rule should * be clearly documented. * * <p>Note that although your APIs should be liberal in what they accept, your methods which
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
} /** * Returns {@code true} if this BiMap contains an entry whose value is equal to {@code value} (or, * equivalently, if this inverse view contains a key that is equal to {@code value}). * * <p>Due to the property that values in a BiMap are unique, this will tend to execute in * faster-than-linear time. * * @param value the object to search for in the values of this BiMap
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 06 16:06:58 GMT 2023 - 36.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java
return Lists.newArrayList(0); } /** * The version of this test supplied by {@link MapInterfaceTest} fails for this particular Map * implementation, because {@code map.get()} returns a view collection that changes in the course * of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code map.remove(x)}
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java
* situations, you may wish to override {@link SortedMultiset#elementSet} to forward to this * implementation or a subclass thereof. */ protected class StandardElementSet extends SortedMultisets.ElementSet<E> { /** Constructor for use by subclasses. */ public StandardElementSet() { super(ForwardingSortedMultiset.this); } } @Override public Comparator<? super E> comparator() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 8.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Collections2.java
final Comparator<? super E> comparator; final int size; OrderedPermutationCollection(Iterable<E> input, Comparator<? super E> comparator) { this.inputList = ImmutableList.sortedCopyOf(comparator, input); this.comparator = comparator; this.size = calculateSize(inputList, comparator); } /** * The number of permutations with repeated elements is calculated as follows: *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 23.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
// entry object per key. private ValueSetLink<K, V> firstEntry; private ValueSetLink<K, V> lastEntry; ValueSet(@ParametricNullness K key, int expectedValues) { this.key = key; this.firstEntry = this; this.lastEntry = this; // Round expected values up to a power of 2 to get the table size. int tableSize = Hashing.closedTableSize(expectedValues, VALUE_SET_LOAD_FACTOR);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 23.6K bytes - Viewed (0)