- Sort Score
- Result 10 results
- Languages All
Results 581 - 590 of 1,961 for isobject (0.07 sec)
-
ForwardingObject.java
<i>not</i> forward the {@code hashCode} and {@code equals} methods through to L28: * the backing object, but relies on {@code Object}'s implementation. This is necessary to preserve L29: * the symmetry of {@code equals}. Custom definitions of equality are usually based on an interface, L30: * such as {@code Set} or {@code List}, so that the implementation of {@code equals} can cast the L31: * object being tested for equality to the custom interface. {@code ForwardingObject} implements no L32: * such...github.com/google/guava/guava/src/com/google/co...Tue Jun 29 19:42:21 UTC 2021 3K bytes -
BsBoostDocumentRule.java
Source L78: // ====== L79: @Override L80: public Map<String, Object> toSource() { L81: Map<String, Object> sourceMap = new HashMap<>(); L82: if (boostExpr != null) { L83: addFieldToSource(sourceMap, "boostExpr", boostExpr); L84: } L85: if (createdBy != null) { L86: addFieldToSource(sourceMap,...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 6.7K bytes -
BsRoleType.java
Source L78: // ====== L79: @Override L80: public Map<String, Object> toSource() { L81: Map<String, Object> sourceMap = new HashMap<>(); L82: if (createdBy != null) { L83: addFieldToSource(sourceMap, "createdBy", createdBy); L84: } L85: if (createdTime != null) { L86: addFieldToSource(sourceMap,...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 6.5K bytes -
ThreadInterruptTest.kt
some platforms can have large buffers that mean writes do not block when L55: // required. These socket factories explicitly set the buffer sizes on sockets created. L56: server = MockWebServer() L57: server.serverSocketFactory = L58: object : DelegatingServerSocketFactory(getDefault()) { L59: @Throws(SocketException::class) L60: override fun configureServerSocket(serverSocket: ServerSocket): ServerSocket { L61: serverSocket.setReceiveBufferSize(SOCKET_BUFFER_SIZE)...github.com/square/okhttp/okhttp/src/test/java/o...Mon Jan 08 01:13:22 UTC 2024 4.6K bytes -
ShortConversionUtil.java
* @return 変換された{@link Short} L36: */ L37: public static Short toShort(final Object o) { L38: return toShort(o, null); L39: } L40: L41: /** L42: * {@link Short}に変換します。 L43: * L44: * @param o L45: * 変換元のオブジェクト L46: * @param pattern L47: * パターン文字列 L48: * @return 変換された{@link Short} L49: */ L50: public static Short toShort(final Object o, final String pattern) { L51: if (o == null) { L52: return null; L53:...github.com/codelibs/corelib/src/main/java/org/c...Thu Mar 07 01:59:08 UTC 2024 3.8K bytes -
SerializeUtil.java
BYTE_ARRAY_SIZE = 8 * 1024; L38: L39: /** L40: * オブジェクトをシリアライズできるかテストします。 L41: * L42: * @param obj L43: * シリアライズ対象のオブジェクト。{@literal null}であってはいけません L44: * @return シリアライズして復元したオブジェクト L45: */ L46: public static Object serialize(final Object obj) { L47: assertArgumentNotNull("obj", obj); L48: L49: final byte[] binary = fromObjectToBinary(obj); L50: return fromBinaryToObject(binary); L51: } L52: L53: /** L54: * オブジェクトをbyteの配列に変換します。 L55: *...github.com/codelibs/corelib/src/main/java/org/c...Thu Mar 07 01:59:08 UTC 2024 3.5K bytes -
AbstractIteratorTester.java
with stimuli " + subListCopy(stimuli, i + 1), cause); L380: } L381: } L382: } L383: L384: private static List<Object> subListCopy(Object[] source, int size) { L385: final Object[] copy = new Object[size]; L386: arraycopy(source, 0, copy, 0, size); L387: return asList(copy); L388: } L389: L390: private interface IteratorOperation { L391: @Nullable Object execute(Iterator<?> iterator); L392: } L393: L394: /** L395: * Apply this method to both iterators and return normally...github.com/google/guava/guava-testlib/src/com/g...Wed Oct 30 16:15:19 UTC 2024 21.2K bytes -
SubscriberRegistry.java
this registry belongs to. */ L67: @Weak private final EventBus bus; L68: L69: SubscriberRegistry(EventBus bus) { L70: this.bus = checkNotNull(bus); L71: } L72: L73: /** Registers all subscriber methods on the given listener object. */ L74: void register(Object listener) { L75: Multimap<Class<?>, Subscriber> listenerMethods = findAllSubscribers(listener); L76: L77: for (Entry<Class<?>, Collection<Subscriber>> entry : listenerMethods.asMap().entrySet()) { L78: Class<?> eventType...github.com/google/guava/android/guava/src/com/g...Thu Oct 17 15:16:45 UTC 2024 10.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