- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 1,961 for isobject (0.05 sec)
-
RegularImmutableBiMap.java
RegularImmutableBiMap<K, V> extends ImmutableBiMap<K, V> { L53: @SuppressWarnings("unchecked") // TODO(cpovirk): Consider storing Entry<?, ?>[] instead. L54: static final RegularImmutableBiMap<Object, Object> EMPTY = L55: new RegularImmutableBiMap<>( L56: null, null, (Entry<Object, Object>[]) ImmutableMap.EMPTY_ENTRY_ARRAY, 0, 0); L57: L58: static final double MAX_LOAD_FACTOR = 1.2; L59: L60: @CheckForNull private final transient @Nullable ImmutableMapEntry<K, V>[] keyTable; L61:...github.com/google/guava/guava/src/com/google/co...Sat Oct 19 00:05:46 UTC 2024 11.3K bytes -
BloomFilterStrategies.java
32bit hash functions). L46: */ L47: MURMUR128_MITZ_32() { L48: @Override L49: public <T extends @Nullable Object> boolean put( L50: @ParametricNullness T object, L51: Funnel<? super T> funnel, L52: int numHashFunctions, L53: LockFreeBitArray bits) { L54: long bitSize = bits.bitSize(); L55: long hash64 = Hashing.murmur3_128().hashObject(object, funnel).asLong(); L56: int hash1 = (int) hash64; L57: int hash2 = (int) (hash64 >>> 32); L58: L59: ...github.com/google/guava/guava/src/com/google/co...Mon Oct 10 19:45:10 UTC 2022 10.7K bytes -
Tables.java
cked") L692: private static <K extends @Nullable Object, V extends @Nullable Object> L693: Function<Map<K, V>, Map<K, V>> unmodifiableWrapper() { L694: return (Function) UNMODIFIABLE_WRAPPER; L695: } L696: L697: private static final Function<? extends Map<?, ?>, ? extends Map<?, ?>> UNMODIFIABLE_WRAPPER = L698: new Function<Map<Object, Object>, Map<Object, Object>>() { L699: @Override L700: public Map<Object, Object> apply(Map<Object, Object> input) { L701: ...github.com/google/guava/android/guava/src/com/g...Wed Oct 16 21:21:17 UTC 2024 26.3K bytes -
UnmodifiableCollectionTests.java
assertMultimapRemainsUnmodified(multimap, originalEntries); L409: } L410: L411: private static <E extends @Nullable Object> void assertCollectionsAreEquivalent( L412: Collection<E> expected, Collection<E> actual) { L413: assertIteratorsInOrder(expected.iterator(), actual.iterator()); L414: } L415: L416: private static <K extends @Nullable Object, V extends @Nullable Object> L417: void assertMultimapRemainsUnmodified(Multimap<K, V> expected, List<Entry<K, V>> actual) { L418: asse...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 14.6K bytes -
WebSocketHttpTest.kt
iately() { L175: webServer.enqueue( L176: MockResponse.Builder() L177: .webSocketUpgrade(serverListener) L178: .build(), L179: ) L180: val e = RuntimeException() L181: clientListener.setNextEventDelegate( L182: object : WebSocketListener() { L183: override fun onOpen( L184: webSocket: WebSocket, L185: response: Response, L186: ) { L187: throw e L188: } L189: }, L190: ) L191: newWebSocket() L192: ser...github.com/square/okhttp/okhttp/src/test/java/o...Sun Mar 31 17:16:15 UTC 2024 35.2K bytes -
FieldUtil.java
* @param value L181: * 変更中の{@code target}の新しいフィールド値 L182: * @throws IllegalAccessRuntimeException L183: * 基本となるフィールドにアクセスできない場合 L184: * @see Field#set(Object, Object) L185: */ L186: public static void set(final Field field, final Object target, final Object value) throws IllegalAccessRuntimeException { L187: assertArgumentNotNull("field", field); L188: L189: try { L190: field.set(target, value); L191: } catch (final...github.com/codelibs/corelib/src/main/java/org/c...Thu Mar 07 01:59:08 UTC 2024 11.3K bytes -
testmail.dfmail
L1:/* L2: [Test Mail] L3:*/ L4:subject: [FESS] Test Mail: /*pmb.hostname:orElse('Unknown')*/ L5:>>> L6:This is a test mail from /*pmb.hostname:orElse('Unknown')*/...github.com/codelibs/fess/src/main/resources/mai...Fri Feb 12 13:52:58 UTC 2016 146 bytes -
CollectionEqualsTester.java
// TODO(cpovirk): Consider using EqualsTester from Guava. L34: @SuppressWarnings("SelfEquals") L35: public void testEquals_self() { L36: assertTrue("An Object should be equal to itself.", collection.equals(collection)); L37: } L38: L39: public void testEquals_null() { L40: // noinspection ObjectEqualsNull L41: assertFalse("An object should not be equal to null.", collection.equals(null)); L42: } L43: L44: public void testEquals_notACollection() { L45: // noinspection EqualsBetweenInconvertibleTypes...github.com/google/guava/android/guava-testlib/s...Wed Jul 24 20:12:35 UTC 2024 1.7K bytes -
TearDownStack.java
L39:@GwtCompatible L40:@ElementTypesAreNonnullByDefault L41:public class TearDownStack implements TearDownAccepter { L42: private static final Logger logger = Logger.getLogger(TearDownStack.class.getName()); L43: L44: @VisibleForTesting final Object lock = new Object(); L45: L46: @GuardedBy("lock") L47: final LinkedList<TearDown> stack = new LinkedList<>(); L48: L49: private final boolean suppressThrows; L50: L51: public TearDownStack() { L52: this.suppressThrows = false; L53: } L54: L55: public...github.com/google/guava/android/guava-testlib/s...Fri Jun 21 10:19:29 UTC 2024 2.5K bytes -
ForwardingObjectTester.java
super T>) Iterables.getOnlyElement(Arrays.asList(forwarderClass.getInterfaces())); L58: new ForwardingWrapperTester() L59: .testForwarding( L60: interfaceType, L61: new Function<Object, T>() { L62: @Override L63: public T apply(Object delegate) { L64: T mock = mock(forwarderClass, CALLS_REAL_METHODS); L65: try { L66: T stubber = doReturn(delegate).when(mock); L67: DELEGATE_MET...github.com/google/guava/android/guava-tests/tes...Thu Jan 05 19:41:03 UTC 2023 2.5K bytes