- Sort Score
- Result 10 results
- Languages All
Results 651 - 660 of 1,961 for isobject (0.06 sec)
-
IteratorBenchmark.java
use concrete classes to remove any possible polymorphic overhead? L35: Object[] array; L36: ArrayList<Object> arrayList; L37: LinkedList<Object> linkedList; L38: L39: @BeforeExperiment L40: void setUp() { L41: array = new Object[size]; L42: arrayList = Lists.newArrayListWithCapacity(size); L43: linkedList = Lists.newLinkedList(); L44: L45: for (int i = 0; i < size; i++) { L46: Object value = new Object(); L47: array[i] = value; L48: arrayList.add(value); L49: ...github.com/google/guava/android/guava-tests/ben...Mon Dec 04 17:37:03 UTC 2017 3.4K bytes -
CacheManualTest.java
TestCase { L25: L26: public void testGetIfPresent() { L27: Cache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(); L28: CacheStats stats = cache.stats(); L29: assertEquals(0, stats.missCount()); L30: assertEquals(0, stats.loadSuccessCount()); L31: assertEquals(0, stats.loadExceptionCount()); L32: assertEquals(0, stats.hitCount()); L33: L34: Object one = new Object(); L35: Object two = new Object(); L36: L37: assertNull(cache.getIfPresent(one)); L38: stats...github.com/google/guava/guava-tests/test/com/go...Mon Dec 04 17:37:03 UTC 2017 5.4K bytes -
Dispatcher.java
} finally { L115: dispatching.remove(); L116: queue.remove(); L117: } L118: } L119: } L120: L121: private static final class Event { L122: private final Object event; L123: private final Iterator<Subscriber> subscribers; L124: L125: private Event(Object event, Iterator<Subscriber> subscribers) { L126: this.event = event; L127: this.subscribers = subscribers; L128: } L129: } L130: } L131: L132: /** Implementation of a {@link...github.com/google/guava/guava/src/com/google/co...Fri Dec 15 19:31:54 UTC 2023 7.3K bytes -
ForwardingListTest.java
L72: standardClear(); L73: } L74: L75: @Override L76: public boolean contains(Object object) { L77: return standardContains(object); L78: } L79: L80: @Override L81: public boolean containsAll(Collection<?> collection) { L82: return standardContainsAll(collection); L83: } L84: L85: @Override L86: public boolean remove(Object object) { L87: return standardRemove(object); L88: } L89: L90: @Override L91: public boolean removeAll(Collection<?> collection)...github.com/google/guava/android/guava-tests/tes...Mon Apr 17 15:49:06 UTC 2023 5.9K bytes -
ForwardingListTest.java
L72: standardClear(); L73: } L74: L75: @Override L76: public boolean contains(Object object) { L77: return standardContains(object); L78: } L79: L80: @Override L81: public boolean containsAll(Collection<?> collection) { L82: return standardContainsAll(collection); L83: } L84: L85: @Override L86: public boolean remove(Object object) { L87: return standardRemove(object); L88: } L89: L90: @Override L91: public boolean removeAll(Collection<?> collection)...github.com/google/guava/guava-tests/test/com/go...Mon Apr 17 15:49:06 UTC 2023 5.9K bytes -
ImmutableEnumMap.java
L74: } L75: L76: @Override L77: public boolean containsKey(@CheckForNull Object key) { L78: return delegate.containsKey(key); L79: } L80: L81: @Override L82: @CheckForNull L83: public V get(@CheckForNull Object key) { L84: return delegate.get(key); L85: } L86: L87: @Override L88: public boolean equals(@CheckForNull Object object) { L89: if (object == this) { L90: return true; L91: } L92: if (object instanceof ImmutableEnumMap) { L93: object = ((ImmutableEnumMap<?, ?>)...github.com/google/guava/guava/src/com/google/co...Wed Oct 30 16:15:19 UTC 2024 4.1K bytes -
RtmStartResponse.java
java.util.List; L19:import okhttp3.HttpUrl; L20: L21:/** See https://api.slack.com/methods/rtm.start. */ L22:public final class RtmStartResponse { L23: HttpUrl url; L24: Object self; L25: Object team; L26: List<Object> users; L27: List<Object> channels; L28: List<Object> groups; L29: List<Object> mpims; L30: List<Object> ims; L31: List<Object> bots; L32:}...github.com/square/okhttp/samples/slack/src/main...Sun Oct 23 15:24:22 UTC 2016 943 bytes -
JdkBackedImmutableSet.java
this.delegate = delegate; L38: this.delegateList = delegateList; L39: } L40: L41: @Override L42: E get(int index) { L43: return delegateList.get(index); L44: } L45: L46: @Override L47: public boolean contains(@CheckForNull Object object) { L48: return delegate.contains(object); L49: } L50: L51: @Override L52: boolean isPartialView() { L53: return false; L54: } L55: L56: @Override L57: public int size() { L58: return delegateList.size(); L59: } L60: L61: // redeclare to help optimizers...github.com/google/guava/guava/src/com/google/co...Thu Nov 30 21:54:06 UTC 2023 2K bytes -
BsFailureUrlCQ.java
void setConfigId_GreaterThan(String configId) { L332: setConfigId_GreaterThan(configId, null); L333: } L334: L335: public void setConfigId_GreaterThan(String configId, ConditionOptionCall<RangeQueryBuilder> opLambda) { L336: final Object _value = configId; L337: RangeQueryBuilder builder = regRangeQ("configId", ConditionKey.CK_GREATER_THAN, _value); L338: if (opLambda != null) { L339: opLambda.callback(builder); L340: } L341: } L342: L343: public...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 57.4K bytes -
SubscriberExceptionContext.java
a new event based on the error. L51: */ L52: public EventBus getEventBus() { L53: return eventBus; L54: } L55: L56: /** @return The event object that caused the subscriber to throw. */ L57: public Object getEvent() { L58: return event; L59: } L60: L61: /** @return The object context that the subscriber was called on. */ L62: public Object getSubscriber() { L63: return subscriber; L64: } L65: L66: /** @return The subscribed method that threw the exception. */ L67: public Method...github.com/google/guava/android/guava/src/com/g...Thu Apr 22 13:05:46 UTC 2021 2.2K bytes