- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 30 for sortable (0.18 sec)
-
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
for (E e : getSubjectGenerator().order(new ArrayList<E>(getSampleElements()))) { list.add(e); } return Collections.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; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 8.7K bytes - Viewed (0) -
android/guava/src/com/google/common/xml/XmlEscapers.java
*/ package com.google.common.xml; import com.google.common.annotations.GwtCompatible; import com.google.common.escape.Escaper; import com.google.common.escape.Escapers; /** * {@code Escaper} instances suitable for strings to be included in XML attribute values and * elements' text contents. When possible, avoid manual escaping by using templating systems and * high-level APIs that provide autoescaping. For example, consider <a
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 18 20:55:09 GMT 2022 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
private static final Unsafe theUnsafe; // The offset to the first element in a byte array. private static final int BYTE_ARRAY_BASE_OFFSET; /** * Returns an Unsafe. Suitable for use in a 3rd party package. Replace with a simple call to * Unsafe.getUnsafe when integrating into a JDK. * * @return an Unsafe instance if successful */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 9.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/StandardMutableDirectedGraphTest.java
return Arrays.asList( new Object[][] { {false, ElementOrder.unordered()}, {true, ElementOrder.unordered()}, {false, ElementOrder.stable()}, {true, ElementOrder.stable()}, }); } private final boolean allowsSelfLoops; private final ElementOrder<Integer> incidentEdgeOrder; public StandardMutableDirectedGraphTest(
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Mar 10 17:54:18 GMT 2020 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ImmutableValueGraph.java
Builder(ValueGraphBuilder<N, V> graphBuilder) { // The incidentEdgeOrder for immutable graphs is always stable. However, we don't want to // modify this builder, so we make a copy instead. this.mutableValueGraph = graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build(); } /** * Adds {@code node} if it is not already present. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 01 16:30:37 GMT 2022 - 7.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/SmallCharMatcher.java
// of dependencies. // Represents how tightly we can pack things, as a maximum. private static final double DESIRED_LOAD_FACTOR = 0.5; /** * Returns an array size suitable for the backing array of a hash table that uses open addressing * with linear probing in its implementation. The returned size is the smallest power of two that * can hold setSize elements with the desired load factor. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 4.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
for (E e : getSubjectGenerator().order(new ArrayList<E>(getSampleElements()))) { list.add(e); } return Collections.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; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 8.7K bytes - Viewed (0) -
android/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: *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Nov 15 21:38:09 GMT 2022 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
assertThat(successCalls[0]).isEqualTo(1); assertThat(failureCalls[0]).isEqualTo(0); } public void testWildcardFuture() { SettableFuture<String> settable = SettableFuture.create(); ListenableFuture<?> f = settable; FutureCallback<Object> callback = new FutureCallback<Object>() { @Override public void onSuccess(Object result) {} @Override
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Nov 15 16:33:21 GMT 2022 - 6.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/StandardMutableDirectedGraphTest.java
return Arrays.asList( new Object[][] { {false, ElementOrder.unordered()}, {true, ElementOrder.unordered()}, {false, ElementOrder.stable()}, {true, ElementOrder.stable()}, }); } private final boolean allowsSelfLoops; private final ElementOrder<Integer> incidentEdgeOrder; public StandardMutableDirectedGraphTest(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Mar 10 17:54:18 GMT 2020 - 2K bytes - Viewed (0)