- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for isSuitable (0.11 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
for (E e : getSubjectGenerator().order(new ArrayList<E>(getSampleElements()))) { list.add(e); } return unmodifiableList(list); } /** * @return a suitable location for a null element, to use when initializing containers for tests * that involve a null element being present. */ protected int getNullLocation() { return getNumElements() / 2; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Stopwatch.java
* Stopwatch} requires object allocation and additional method calls, which can reduce the accuracy * of the elapsed times reported. {@code Stopwatch} is still suitable for logging and metrics where * reasonably accurate values are sufficient. If the uncommon case that you need to maximize * accuracy, use {@code System.nanoTime()} directly instead. * * <p>Basic usage: *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 9.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
public @Nullable Object[] toArray() { return data.toArray(); } }; } /** * Returns a "nefarious" map entry with the specified key and value, meaning an entry that is * suitable for testing that map entries cannot be modified via a nefarious implementation of * equals. This is used for testing unmodifiable collections of map entries; for example, it
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
* approaches to this</a> that should be considered first) * </ul> * * <p>A common alternative to using this class is to find or create a suitable <a * href="http://en.wikipedia.org/wiki/Null_Object_pattern">null object</a> for the type in question. * * <p>This class is not intended as a direct analogue of any existing "option" or "maybe" construct
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 15.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
public @Nullable Object[] toArray() { return data.toArray(); } }; } /** * Returns a "nefarious" map entry with the specified key and value, meaning an entry that is * suitable for testing that map entries cannot be modified via a nefarious implementation of * equals. This is used for testing unmodifiable collections of map entries; for example, it
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0)