- Sort Score
- Result 10 results
- Languages All
Results 571 - 580 of 1,961 for isobject (0.05 sec)
-
FessTransformer.java
oldValues; L113: if (oldValue instanceof Object[]) { L114: oldValues = (Object[]) oldValue; L115: } else if (oldValue instanceof Collection<?>) { L116: oldValues = ((Collection<?>) oldValue).toArray(); L117: } else { L118: oldValues = new Object[] { oldValue }; L119: } L120: if (value.getClass().isArray()) { L121: final Object[] newValues = (Object[]) value; L122: final Object[]...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 9.5K bytes -
NOTICE
L1:Note that PublicSuffixDatabase.gz is compiled from The Public Suffix List: L2:https://publicsuffix.org/list/public_suffix_list.dat L3: L4:It is subject to the terms of the Mozilla Public License, v. 2.0: L5:https://mozilla.org/MPL/2.0/...github.com/square/okhttp/okhttp/src/main/resour...Wed Dec 20 23:27:07 UTC 2023 224 bytes -
MinMaxPriorityQueue.java
size; i++) { L919: queue[i] = null; L920: } L921: size = 0; L922: } L923: L924: @Override L925: @J2ktIncompatible // Incompatible return type change. Use inherited (unoptimized) implementation L926: public Object[] toArray() { L927: Object[] copyTo = new Object[size]; L928: arraycopy(queue, 0, copyTo, 0, size); L929: return copyTo; L930: } L931: L932: /** L933: * Returns the comparator used to order the elements in this queue. Obeys the general contract of L934: * {@link...github.com/google/guava/guava/src/com/google/co...Wed Oct 30 16:15:19 UTC 2024 34.1K bytes -
TestLogHandler.java
firstRecord.getMessage()); L49: * } L50: * </pre> L51: * L52: * @author Kevin Bourrillion L53: * @since 10.0 L54: */ L55:@GwtCompatible L56:@ElementTypesAreNonnullByDefault L57:public class TestLogHandler extends Handler { L58: private final Object lock = new Object(); L59: L60: /** We will keep a private list of all logged records */ L61: @GuardedBy("lock") L62: private final List<LogRecord> list = new ArrayList<>(); L63: L64: /** Adds the most recently logged record to our list. */ L65: @Override...github.com/google/guava/guava-testlib/src/com/g...Fri Jun 21 20:53:25 UTC 2024 2.8K bytes -
TransformedListIterator.java
e; L23: L24:/** L25: * An iterator that transforms a backing list iterator; for internal use. This avoids the object L26: * overhead of constructing a {@link Function} for internal methods. L27: * L28: * @author Louis Wasserman L29: */ L30:@GwtCompatible L31:@ElementTypesAreNonnullByDefault L32:abstract class TransformedListIterator<F extends @Nullable Object, T extends @Nullable Object> L33: extends TransformedIterator<F, T> implements ListIterator<T> { L34: TransformedListIterator(ListIterator<?...github.com/google/guava/android/guava/src/com/g...Tue Nov 21 21:43:01 UTC 2023 2.1K bytes -
TransformedListIterator.java
e; L23: L24:/** L25: * An iterator that transforms a backing list iterator; for internal use. This avoids the object L26: * overhead of constructing a {@link Function} for internal methods. L27: * L28: * @author Louis Wasserman L29: */ L30:@GwtCompatible L31:@ElementTypesAreNonnullByDefault L32:abstract class TransformedListIterator<F extends @Nullable Object, T extends @Nullable Object> L33: extends TransformedIterator<F, T> implements ListIterator<T> { L34: TransformedListIterator(ListIterator<?...github.com/google/guava/guava/src/com/google/co...Tue Nov 21 21:43:01 UTC 2023 2.1K 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 -
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 -
TesterRequirements.java
L54: public final Set<Feature<?>> getAbsentFeatures() { L55: return absentFeatures; L56: } L57: L58: @Override L59: public boolean equals(@Nullable Object object) { L60: if (object == this) { L61: return true; L62: } L63: if (object instanceof TesterRequirements) { L64: TesterRequirements that = (TesterRequirements) object; L65: return this.presentFeatures.equals(that.presentFeatures) L66: && this.absentFeatures.equals(that.absentFeatures); L67: } L68: return...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 2.5K bytes