- Sort Score
- Result 10 results
- Languages All
Results 731 - 740 of 1,961 for isobject (0.04 sec)
-
SampleElements.java
extends SampleElements<Integer> { L89: public Ints() { L90: // elements aren't sorted, to better test SortedSet iteration ordering L91: super(1, 0, 2, 3, 4); L92: } L93: } L94: L95: public static <K extends @Nullable Object, V extends @Nullable Object> L96: SampleElements<Entry<K, V>> mapEntries(SampleElements<K> keys, SampleElements<V> values) { L97: return new SampleElements<>( L98: mapEntry(keys.e0(), values.e0()), L99: mapEntry(keys.e1(), values.e1()), L100:...github.com/google/guava/guava-testlib/src/com/g...Wed Oct 30 16:15:19 UTC 2024 4.2K bytes -
ListMultimapAsMapTester.java
Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. L48:@SuppressWarnings("JUnit4ClassUsedInJUnit3") L49:@ElementTypesAreNonnullByDefault L50:public class ListMultimapAsMapTester<K extends @Nullable Object, V extends @Nullable Object> L51: extends AbstractListMultimapTester<K, V> { L52: public void testAsMapValuesImplementList() { L53: for (Collection<V> valueCollection : multimap().asMap().values()) { L54: assertTrue(valueCollection instanceof List);...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 3.9K bytes -
TestCollidingSetGenerator.java
L30:public abstract class TestCollidingSetGenerator implements TestSetGenerator<Object> { L31: @Override L32: public SampleElements<Object> samples() { L33: return new Colliders(); L34: } L35: L36: @Override L37: public Object[] createArray(int length) { L38: return new Object[length]; L39: } L40: L41: /** Returns the original element list, unchanged. */ L42: @Override L43: public List<Object> order(List<Object> insertionOrder) { L44: return insertionOrder; L45: } L46:}...github.com/google/guava/android/guava-testlib/s...Wed Feb 21 16:49:06 UTC 2024 1.3K bytes -
SpliteratorTester.java
SpliteratorDecompositionStrategy { L163: NO_SPLIT_FOR_EACH_REMAINING { L164: @Override L165: <E extends @Nullable Object> void forEach( L166: GeneralSpliterator<E> spliterator, Consumer<? super E> consumer) { L167: spliterator.forEachRemaining(consumer); L168: } L169: }, L170: NO_SPLIT_TRY_ADVANCE { L171: @Override L172: <E extends @Nullable Object> void forEach( L173: GeneralSpliterator<E> spliterator, Consumer<? super E> consumer) { L174: while...github.com/google/guava/android/guava-testlib/s...Thu Oct 31 14:20:11 UTC 2024 12.5K bytes -
SpliteratorTester.java
L54:public final class SpliteratorTester<E extends @Nullable Object> { L55: /** Return type from "contains the following elements" assertions. */ L56: public interface Ordered { L57: /** L58: * Attests that the expected values must not just be present but must be present in the order L59: * they were given. L60: */ L61: void inOrder(); L62: } L63: L64: private abstract static class GeneralSpliterator<E extends @Nullable Object> { L65: final Spliterator<E> spliterator; L66: L67:...github.com/google/guava/guava-testlib/src/com/g...Thu Oct 31 14:20:11 UTC 2024 12.1K bytes -
Platform.java
factored out so that they can be emulated differently in GWT. L23: * L24: * @author Chris Povirk L25: */ L26:final class Platform { L27: /** Serializes and deserializes the specified object (a no-op under GWT). */ L28: @SuppressWarnings("unchecked") L29: static <T> T reserialize(T object) { L30: return checkNotNull(object); L31: } L32: L33: private Platform() {} L34:}...github.com/google/guava/guava-gwt/test-super/co...Mon Dec 04 17:37:03 UTC 2017 1K bytes -
RegularImmutableMap.java
izable = true, emulated = true) L48:@ElementTypesAreNonnullByDefault L49:final class RegularImmutableMap<K, V> extends ImmutableMap<K, V> { L50: @SuppressWarnings("unchecked") L51: static final ImmutableMap<Object, Object> EMPTY = L52: new RegularImmutableMap<>((Entry<Object, Object>[]) ImmutableMap.EMPTY_ENTRY_ARRAY, null, 0); L53: L54: /** L55: * Closed addressing tends to perform well even with high load factors. Being conservative here L56: * ensures that the table is still likely...github.com/google/guava/guava/src/com/google/co...Tue May 28 18:11:09 UTC 2024 16.2K bytes -
BsCrawlingInfoCQ.java
setCreatedTime_GreaterThan(Long createdTime) { L289: setCreatedTime_GreaterThan(createdTime, null); L290: } L291: L292: public void setCreatedTime_GreaterThan(Long createdTime, ConditionOptionCall<RangeQueryBuilder> opLambda) { L293: final Object _value = createdTime; L294: RangeQueryBuilder builder = regRangeQ("createdTime", ConditionKey.CK_GREATER_THAN, _value); L295: if (opLambda != null) { L296: opLambda.callback(builder); L297: } L298: } L299: L300:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 34.5K bytes -
Http2Test.kt
and 0x7fffffff) L67: frame.writeAll(headerBytes) L68: L69: // Check writer sends the same bytes. L70: assertThat(sendHeaderFrames(true, sentHeaders)).isEqualTo(frame) L71: reader.nextFrame( L72: requireSettings = false, L73: object : BaseTestHandler() { L74: override fun headers( L75: inFinished: Boolean, L76: streamId: Int, L77: associatedStreamId: Int, L78: headerBlock: List<Header>, L79: ) { L80: assertThat(inFinished).isTrue()...github.com/square/okhttp/okhttp/src/test/java/o...Mon Jan 08 01:13:22 UTC 2024 28.1K bytes -
Futures.java
isCancelled()} always returns {@code true}. L173: * L174: * @since 14.0 L175: */ L176: @SuppressWarnings("unchecked") // ImmediateCancelledFuture can work with any type L177: public static <V extends @Nullable Object> ListenableFuture<V> immediateCancelledFuture() { L178: ListenableFuture<Object> instance = ImmediateCancelledFuture.INSTANCE; L179: if (instance != null) { L180: return (ListenableFuture<V>) instance; L181: } L182: return new ImmediateCancelledFuture<>(); L183: } L184:...github.com/google/guava/guava/src/com/google/co...Fri Oct 25 13:13:32 UTC 2024 64.4K bytes