- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,782 for instanceOf (0.11 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLookup.java
@Override public <T> Optional<T> lookupOptional(Class<T> type) { try { return Optional.of(container.lookup(type)); } catch (ComponentLookupException e) { if (e.getCause() instanceof NoSuchElementException) { return Optional.empty(); } throw new LookupException(e); } } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Queues.java
* they are returned by the iterable's iterator. * * @since 12.0 */ public static <E> ArrayDeque<E> newArrayDeque(Iterable<? extends E> elements) { if (elements instanceof Collection) { return new ArrayDeque<>((Collection<? extends E>) elements); } ArrayDeque<E> deque = new ArrayDeque<>(); Iterables.addAll(deque, elements); return deque; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 14:11:14 UTC 2024 - 18.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
checkState(newMap instanceof MapMakerInternalMap); newMap.putAll(map); return newMap; } }, MapMakerStrongKeysWeakValues { @Override public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) { ConcurrentMap<K, V> newMap = new MapMaker().weakValues().makeMap(); checkState(newMap instanceof MapMakerInternalMap); newMap.putAll(map);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java
throw new VersionParserException("Unable to parse version: " + delegateValue, e); } } @Override public int compareTo(Version o) { if (o instanceof DefaultVersion) { return delegate.compareTo(((DefaultVersion) o).delegate); } else { return compareTo(new DefaultVersion(versionScheme, o.asString())); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java
private final QueryType queryType; public DefaultQueryBuilder(final QueryBuilder queryBuilder) { this.queryBuilder = queryBuilder; if (queryBuilder instanceof BoolQueryBuilder) { queryType = QueryType.BOOL; } else if (queryBuilder instanceof DisMaxQueryBuilder) { queryType = QueryType.DISMAX; } else { throw new IllegalArgumentException("Unknown query builder: " + queryBuilder);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java
Collection<E> collection) { if (collection instanceof NavigableSet) { return unmodifiableNavigableSet((NavigableSet<E>) collection); } else { return unmodifiableSortedSet((SortedSet<E>) collection); } } @Override Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) { if (collection instanceof NavigableSet) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
ASN1TaggedObject constructed = (ASN1TaggedObject) is.readObject(); if ( constructed == null || constructed.getTagClass() != BERTags.APPLICATION || !(constructed.getBaseObject() instanceof ASN1Sequence) ) throw new IOException("Malformed SPNEGO token " + constructed); ASN1Sequence vec = (ASN1Sequence) constructed.getBaseObject();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Oct 01 12:01:17 UTC 2023 - 7.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java
public void testGetRandomAccess() { Multimap<String, Integer> multimap = create(); multimap.put("foo", 1); multimap.put("foo", 3); assertFalse(multimap.get("foo") instanceof RandomAccess); assertFalse(multimap.get("bar") instanceof RandomAccess); } /** * Confirm that removeAll() returns a List that implements RandomAccess, even though get() * doesn't. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
SmbTransportImpl transport = session.getTransport() ) { SmbNegotiationResponse nego = transport.getNegotiateResponse(); if ( nego instanceof SmbComNegotiateResponse ) { return ( (SmbComNegotiateResponse) nego ).getServerData().serverTimeZone * 1000 * 60L; } return 0; } } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.9K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblemCollector.java
this.source = source; } @Override public void add(SettingsProblem.Severity severity, String message, int line, int column, Exception cause) { if (line <= 0 && column <= 0 && (cause instanceof SettingsParseException)) { SettingsParseException e = (SettingsParseException) cause; line = e.getLineNumber(); column = e.getColumnNumber(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0)