- Sort Score
- Result 10 results
- Languages All
Results 551 - 560 of 1,875 for isobject (0.05 sec)
-
CartesianList.java
L142: @GwtIncompatible // serialization L143: Object writeReplace() { L144: return super.writeReplace(); L145: } L146: }; L147: } L148: L149: @Override L150: public int size() { L151: return axesSizeProduct[0]; L152: } L153: L154: @Override L155: public boolean contains(@CheckForNull Object object) { L156: if (!(object instanceof List)) { L157: return false; L158: } L159: List<?> list = (List<?>) object; L160: if (list.size() != axes.size()) { L161: ...github.com/google/guava/guava/src/com/google/co...Thu Nov 30 21:54:06 UTC 2023 4.8K bytes -
StripedTest.java
static void assertBasicInvariants(Striped<?> striped) { L199: Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks. L200: // this gets the stripes with #getAt(index) L201: for (int i = 0; i < striped.size(); i++) { L202: Object object = striped.getAt(i); L203: assertNotNull(object); L204: assertSame(object, striped.getAt(i)); // idempotent L205: observed.add(object); L206: } L207: assertTrue("All stripes observed", observed.size()...github.com/google/guava/android/guava-tests/tes...Wed Jun 26 12:58:35 UTC 2024 8.4K bytes -
StripedTest.java
static void assertBasicInvariants(Striped<?> striped) { L199: Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks. L200: // this gets the stripes with #getAt(index) L201: for (int i = 0; i < striped.size(); i++) { L202: Object object = striped.getAt(i); L203: assertNotNull(object); L204: assertSame(object, striped.getAt(i)); // idempotent L205: observed.add(object); L206: } L207: assertTrue("All stripes observed", observed.size()...github.com/google/guava/guava-tests/test/com/go...Wed Jun 26 12:58:35 UTC 2024 8.4K bytes -
Helpers.java
of Objects.equal L53: static boolean equal(@Nullable Object a, @Nullable Object b) { L54: return a == b || (a != null && a.equals(b)); L55: } L56: L57: // Clone of Lists.newArrayList L58: public static <E extends @Nullable Object> List<E> copyToList(Iterable<? extends E> elements) { L59: List<E> list = new ArrayList<>(); L60: addAll(list, elements); L61: return list; L62: } L63: L64: public static <E extends @Nullable Object> List<E> copyToList(E[] elements) { L65: return co...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 17.5K bytes -
ParamMapTest.java
extends UnitFessTestCase { L25: L26: private ParamMap<Object, Object> createSnakeMap() { L27: final Map<Object, Object> map = new HashMap<>(); L28: map.put("aaa", "111"); L29: map.put("aaa_bbb", "222"); L30: map.put("aaa_bbb_ccc", "333"); L31: map.put("ccc.ddd", "444"); L32: return new ParamMap<>(map); L33: } L34: L35: private ParamMap<Object, Object> createCamelMap() { L36: final Map<Object, Object> map = new HashMap<>(); L37: map.put("aaa",...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 4.5K bytes -
UserInfo.java
L56: } L57: L58: public LocalDateTime getRequestedAt() { L59: return getUpdatedAt(); L60: } L61: L62: public void addField(final String key, final Object value) { L63: fields.put(key, value); L64: } L65: L66: @Override L67: public Map<String, Object> toSource() { L68: final Map<String, Object> sourceMap = super.toSource(); L69: if (fields != null) { L70: sourceMap.putAll(fields); L71: } L72: return sourceMap; L73: } L74:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.6K bytes -
JobLogTests.java
ITEM_ENDPOINT_SUFFIX; L63: } L64: L65: @Override L66: protected Map<String, Object> createTestParam(int id) { L67: fail(); // Unreachable L68: return null; L69: } L70: L71: @Override L72: protected Map<String, Object> getUpdateMap() { L73: fail(); // Unreachable L74: return null; L75: } L76: L77: @Override L78: protected void testRead() { L79: final Map<String, Object> searchBody = new HashMap<>(); L80: final String response = checkMeth...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.5K bytes -
TestMapEntrySetGenerator.java
Creates map entries using sample keys and sample values. L30: * L31: * @author Jesse Wilson L32: */ L33:@GwtCompatible L34:@ElementTypesAreNonnullByDefault L35:public abstract class TestMapEntrySetGenerator< L36: K extends @Nullable Object, V extends @Nullable Object> L37: implements TestSetGenerator<Map.Entry<K, V>> { L38: private final SampleElements<K> keys; L39: private final SampleElements<V> values; L40: L41: protected TestMapEntrySetGenerator(SampleElements<K> keys, SampleElements<V>...github.com/google/guava/guava-testlib/src/com/g...Wed Oct 30 16:15:19 UTC 2024 2.2K bytes -
MultiEdgesConnecting.java
@param <E> Edge parameter type L37: */ L38:@ElementTypesAreNonnullByDefault L39:abstract class MultiEdgesConnecting<E> extends AbstractSet<E> { L40: L41: private final Map<E, ?> outEdgeToNode; L42: private final Object targetNode; L43: L44: MultiEdgesConnecting(Map<E, ?> outEdgeToNode, Object targetNode) { L45: this.outEdgeToNode = checkNotNull(outEdgeToNode); L46: this.targetNode = checkNotNull(targetNode); L47: } L48: L49: @Override L50: public UnmodifiableIterator<E> iterator() { L51: ...github.com/google/guava/guava/src/com/google/co...Wed Oct 06 00:47:57 UTC 2021 2.2K bytes -
SearchListTests.java
void testUpdate() { L100: L101: // Test: update settings api L102: final Map<String, Object> updateMap = getUpdateMap(); L103: final Map<String, Object> searchBody = createSearchBody(SEARCH_ALL_NUM); L104: List<Map<String, Object>> settings = getItemList(searchBody); L105: L106: for (Map<String, Object> setting : settings) { L107: final Map<String, Object> requestBody = new HashMap<>(updateMap); L108: final String idKey = getIdKey(); L109: L110:...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 4.5K bytes