- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 1,875 for isobject (0.06 sec)
-
CompoundOrdering.java
(result != 0) { L49: return result; L50: } L51: } L52: return 0; L53: } L54: L55: @Override L56: public boolean equals(@CheckForNull Object object) { L57: if (object == this) { L58: return true; L59: } L60: if (object instanceof CompoundOrdering) { L61: CompoundOrdering<?> that = (CompoundOrdering<?>) object; L62: return Arrays.equals(this.comparators, that.comparators); L63: } L64: return false; L65: } L66: L67: @Override L68: public int hashCode()...github.com/google/guava/guava/src/com/google/co...Thu Feb 22 21:19:52 UTC 2024 2.4K bytes -
Cache.java
ntMap; L27:import java.util.concurrent.ExecutionException; L28:import javax.annotation.CheckForNull; L29: L30:/** L31: * A semi-persistent mapping from keys to values. Cache entries are manually added using {@link L32: * #get(Object, Callable)} or {@link #put(Object, Object)}, and are stored in the cache until either L33: * evicted or manually invalidated. The common way to build instances is using {@link CacheBuilder}. L34: * L35: * <p>Implementations of this interface are expected to be thread-safe,...github.com/google/guava/android/guava/src/com/g...Sun Aug 07 02:38:22 UTC 2022 8.3K bytes -
FileAuthTests.java
@AfterEach L90: void deleteFileConfig() { L91: final Map<String, Object> searchBody = new HashMap<>(); L92: searchBody.put("size", NUM * 2); L93: final String fileConfigId = getFileConfigId(); L94: checkMethodBase(searchBody).delete("/api/admin/fileconfig/setting/" + fileConfigId).then().body("response.status", equalTo(0)); L95: } L96: L97: @Override L98: protected Map<String, Object> createTestParam(int id) { L99: final Map<String, Object> requestBody...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.9K bytes -
MapMakerInternalMapTest.java
allWeakValueStrengthMakers()) { L181: MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(maker); L182: Segment<Object, Object, ?, ?> segment = map.segments[0]; L183: L184: Object keyOne = new Object(); L185: Object valueOne = new Object(); L186: int hashOne = map.hash(keyOne); L187: InternalEntry<Object, Object, ?> entryOne = segment.newEntryForTesting(keyOne, hashOne, null); L188: WeakValueReference<Object, Object, ?> valueRefOne = L189: segment.newWeakValu...github.com/google/guava/android/guava-tests/tes...Tue Feb 20 17:00:05 UTC 2024 35.1K bytes -
MapMakerInternalMapTest.java
allWeakValueStrengthMakers()) { L181: MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(maker); L182: Segment<Object, Object, ?, ?> segment = map.segments[0]; L183: L184: Object keyOne = new Object(); L185: Object valueOne = new Object(); L186: int hashOne = map.hash(keyOne); L187: InternalEntry<Object, Object, ?> entryOne = segment.newEntryForTesting(keyOne, hashOne, null); L188: WeakValueReference<Object, Object, ?> valueRefOne = L189: segment.newWeakValu...github.com/google/guava/guava-tests/test/com/go...Tue Feb 20 17:00:05 UTC 2024 35.1K bytes -
RemovalListener.java
performing blocking calls or synchronizing on L26: * shared resources. L27: * L28: * @param <K> the most general type of keys this listener can listen for; for example {@code Object} L29: * if any key is acceptable L30: * @param <V> the most general type of values this listener can listen for; for example {@code L31: * Object} if any key is acceptable L32: * @author Charles Fry L33: * @since 10.0 L34: */ L35:@GwtCompatible L36:@FunctionalInterface L37:@ElementTypesAreNonnullByDefault L38:public...github.com/google/guava/guava/src/com/google/co...Tue Jun 15 18:00:07 UTC 2021 2K bytes -
SettableFuture.java
ValueFuture}) L34: */ L35:@GwtCompatible L36:@ElementTypesAreNonnullByDefault L37:public final class SettableFuture<V extends @Nullable Object> L38: extends AbstractFuture.TrustedFuture<V> { L39: /** L40: * Creates a new {@code SettableFuture} that can be completed or cancelled by a later method call. L41: */ L42: public static <V extends @Nullable Object> SettableFuture<V> create() { L43: return new SettableFuture<>(); L44: } L45: L46: @CanIgnoreReturnValue L47: @Override L48: public...github.com/google/guava/guava/src/com/google/co...Fri Oct 01 17:18:04 UTC 2021 2.4K bytes -
NullPointerTester.java
cause); L386: } catch (IllegalAccessException e) { L387: throw new RuntimeException(e); L388: } L389: } L390: L391: private @Nullable Object[] buildParamList( L392: Invokable<?, ?> invokable, int indexOfParamToSetToNull) { L393: ImmutableList<Parameter> params = invokable.getParameters(); L394: @Nullable Object[] args = new Object[params.size()]; L395: L396: for (int i = 0; i < args.length; i++) { L397: Parameter param = params.get(i); L398: if (i != indexOfParamToSetToNull)...github.com/google/guava/guava-testlib/src/com/g...Tue Jun 11 16:13:05 UTC 2024 23.2K bytes -
CacheBuilderSpecTest.java
L418: // Functional test: assert that CacheBuilderSpec.disableCaching() L419: // disables caching. It's irrelevant how it does so. L420: CacheBuilder<Object, Object> builder = CacheBuilder.from(CacheBuilderSpec.disableCaching()); L421: Object key = new Object(); L422: Object value = new Object(); L423: LoadingCache<Object, Object> cache = L424: builder.build(CacheLoader.from(Suppliers.ofInstance(value))); L425: assertSame(value, cache.getUnchecked(key)); L426: assertEquals(0,...github.com/google/guava/guava-tests/test/com/go...Fri Oct 18 19:07:49 UTC 2024 19.1K bytes -
Optional.java
L20:import com.google.errorprone.annotations.DoNotMock; L21:import java.io.Serializable; L22:import java.util.Iterator; L23:import java.util.Set; L24:import javax.annotation.CheckForNull; L25: L26:/** L27: * An immutable object that may contain a non-null reference to another object. Each instance of L28: * this type either contains a non-null reference, or contains nothing (in which case we say that L29: * the reference is "absent"); it is never said to "contain {@code null}". L30: * L31: * <p>A non-null...github.com/google/guava/android/guava/src/com/g...Thu Oct 31 14:20:11 UTC 2024 15.4K bytes