HomeSort by relevance Sort by last modified time
    Searched full:instanceof (Results 551 - 575 of 3504) sorted by null

<<21222324252627282930>>

  /external/guava/guava-tests/test/com/google/common/base/
PredicatesTest.java 68 return obj instanceof IsOdd;
548 * Tests for Predicates.instanceOf(x).
554 @GwtIncompatible("Predicates.instanceOf")
556 Predicate<Object> isInteger = Predicates.instanceOf(Integer.class);
564 @GwtIncompatible("Predicates.instanceOf")
566 Predicate<Object> isNumber = Predicates.instanceOf(Number.class);
574 @GwtIncompatible("Predicates.instanceOf")
576 Predicate<Object> isComparable = Predicates.instanceOf(Comparable.class);
584 @GwtIncompatible("Predicates.instanceOf")
588 Predicates.instanceOf(Integer.class)
    [all...]
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
TestCaseEditController.java 211 if(input instanceof TestCaseInputString) {
215 } else if(input instanceof TestCaseInputMultiString) {
219 } else if(input instanceof TestCaseInputFile) {
238 if(output instanceof TestCaseOutputAST) {
244 } else if(output instanceof TestCaseOutputResult) {
250 } else if(output instanceof TestCaseOutputStdOut) {
256 } else if(output instanceof TestCaseOutputReturn) {
607 if (value instanceof TestCase) {
618 labIn.setIcon(item.getInput() instanceof TestCaseInputFile ?
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DOTGenerator.java 74 if ( startState instanceof DFAState ) {
139 if ( edge.target instanceof DFAState &&
209 if ( edge instanceof RuleClosureTransition ) {
294 if ( !edge.isSemanticPredicate() && target instanceof DFAState ) {
315 if ( s instanceof DFAState ) {
320 if ( s instanceof DFAState ) {
369 if ( (s instanceof NFAState) && ((NFAState)s).isDecisionState() ) {
376 else if ( (s instanceof NFAState) &&
382 else if ( s instanceof DFAState && ((DFAState)s).isAcceptState() ) {
  /external/guava/guava-tests/test/com/google/common/cache/
CacheTesting.java 63 @SuppressWarnings("unchecked") // the instanceof check and the cast generate this warning
69 Preconditions.checkState(valueRef instanceof Reference);
82 @SuppressWarnings("unchecked") // the instanceof check and the cast generate this warning
86 Preconditions.checkState(entry instanceof Reference);
114 if (cache instanceof LocalLoadingCache) {
126 return (cache instanceof LocalLoadingCache);
457 if (map instanceof LocalCache) {
478 if (collection instanceof Set) {
483 } else if (collection instanceof List) {
  /external/guava/guava-tests/test/com/google/common/collect/
ImmutableSetMultimapTest.java 226 assertFalse(multimap.get("a") instanceof ImmutableSortedSet);
227 assertFalse(multimap.get("x") instanceof ImmutableSortedSet);
228 assertFalse(multimap.asMap().get("a") instanceof ImmutableSortedSet);
246 assertTrue(multimap.get("a") instanceof ImmutableSortedSet);
249 assertTrue(multimap.get("x") instanceof ImmutableSortedSet);
252 assertTrue(multimap.asMap().get("a") instanceof ImmutableSortedSet);
273 assertTrue(multimap.get("a") instanceof ImmutableSortedSet);
276 assertTrue(multimap.get("x") instanceof ImmutableSortedSet);
279 assertTrue(multimap.asMap().get("a") instanceof ImmutableSortedSet);
MultimapsTest.java 136 assertTrue(multimap.get("foo") instanceof RandomAccess);
137 assertTrue(multimap.get("bar") instanceof RandomAccess);
146 assertFalse(multimap.get("foo") instanceof RandomAccess);
147 assertFalse(multimap.get("bar") instanceof RandomAccess);
302 assertFalse(unmodifiable.entries() instanceof Serializable);
303 assertFalse(unmodifiable.asMap().values() instanceof Serializable);
331 if (multimap instanceof SortedSetMultimap) {
334 } else if (multimap instanceof SetMultimap) {
337 } else if (multimap instanceof ListMultimap) {
572 assertFalse(multimap.keySet() instanceof SortedSet)
    [all...]
  /external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
SceneLoader.java 148 if (light instanceof DirectionalLight)
150 else if (light instanceof SpotLight){
160 if (light instanceof PointLight || light instanceof SpotLight){
175 if (light instanceof PointLight){
189 if (!(light instanceof SpotLight)){
380 if (light instanceof DirectionalLight){
386 }else if (light instanceof PointLight){
390 }else if (light instanceof SpotLight){
  /external/nist-sip/java/gov/nist/javax/sip/
EventScanner.java 135 if (!(sipEvent instanceof IOExceptionEvent)) {
141 if (sipEvent instanceof RequestEvent) {
273 } else if (sipEvent instanceof ResponseEvent) {
369 } else if (sipEvent instanceof TimeoutEvent) {
382 } else if (sipEvent instanceof DialogTimeoutEvent) {
385 if (sipListener != null && sipListener instanceof SipListenerExt) {
395 } else if (sipEvent instanceof IOExceptionEvent) {
402 } else if (sipEvent instanceof TransactionTerminatedEvent) {
430 } else if (sipEvent instanceof DialogTerminatedEvent) {
  /libcore/luni/src/main/java/java/beans/
PropertyChangeSupport.java 140 while (b instanceof PropertyChangeListenerProxy) {
145 if (!(a instanceof PropertyChangeListenerProxy)) {
180 if (p instanceof PropertyChangeListenerProxy && Objects.equal(
275 if (!(p instanceof PropertyChangeListenerProxy) || Objects.equal(
324 if (p instanceof PropertyChangeListenerProxy && !(p instanceof Serializable)) {
327 if (listener instanceof Serializable) {
344 if (p instanceof Serializable) {
389 while (p instanceof PropertyChangeListenerProxy) {
  /sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/sdkman2/
AdtUpdateDialog.java 122 if (entry.getKey() instanceof ExtraPackage) {
153 if (entry.getKey() instanceof PlatformPackage) {
310 if (pkg instanceof ExtraPackage) {
347 if (pkg instanceof PlatformPackage) {
359 pkg instanceof PlatformPackage &&
389 if (pkg instanceof PlatformPackage) {
399 } else if (mNeedTools && pkg instanceof ToolPackage) {
404 } else if (mNeedPlatformTools && pkg instanceof PlatformToolPackage) {
418 pkg instanceof PlatformPackage &&
  /external/nist-sip/java/gov/nist/javax/sip/message/
SIPRequest.java 287 if (requestLine.getUri() instanceof SipUri) {
333 if (u instanceof SipUri) {
702 if (nextHeader instanceof From
703 || nextHeader instanceof To
704 || nextHeader instanceof ViaList
705 || nextHeader instanceof CallID
706 || (nextHeader instanceof RecordRouteList && mustCopyRR(statusCode))
707 || nextHeader instanceof CSeq
709 || nextHeader instanceof TimeStamp) {
825 if (nextHeader instanceof RouteList)
    [all...]
SIPResponse.java 696 || nextHeader instanceof ViaList
697 || nextHeader instanceof CSeq
698 || nextHeader instanceof ContentType
699 || nextHeader instanceof ContentLength
700 || nextHeader instanceof RecordRouteList
701 || nextHeader instanceof RequireList
702 || nextHeader instanceof ContactList // JvB: added
703 || nextHeader instanceof ContentLength
704 || nextHeader instanceof ServerHeader
705 || nextHeader instanceof ReasonHeade
    [all...]
  /frameworks/base/core/java/android/database/
DatabaseUtils.java 90 if (e instanceof FileNotFoundException) {
93 } else if (e instanceof IllegalArgumentException) {
95 } else if (e instanceof UnsupportedOperationException) {
97 } else if (e instanceof SQLiteAbortException) {
99 } else if (e instanceof SQLiteConstraintException) {
101 } else if (e instanceof SQLiteDatabaseCorruptException) {
103 } else if (e instanceof SQLiteFullException) {
105 } else if (e instanceof SQLiteDiskIOException) {
107 } else if (e instanceof SQLiteException) {
109 } else if (e instanceof OperationApplicationException)
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
Lexer.java 270 if ( e instanceof MismatchedTokenException ) {
274 else if ( e instanceof NoViableAltException ) {
281 else if ( e instanceof EarlyExitException ) {
286 else if ( e instanceof MismatchedNotSetException ) {
290 else if ( e instanceof MismatchedSetException ) {
294 else if ( e instanceof MismatchedRangeException ) {
  /external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
MemoryHandlerTest.java 159 assertTrue(handler.getFilter() instanceof MockFilter);
160 assertTrue(handler.getFormatter() instanceof MockFormatter);
194 assertTrue(handler.getFormatter() instanceof SimpleFormatter);
244 assertTrue(handler.getFormatter() instanceof SimpleFormatter);
256 assertTrue(handler.getFilter() instanceof MockFilter);
257 assertTrue(handler.getFormatter() instanceof MockFormatter);
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
JCESecretKeyFactory.java 40 if (keySpec instanceof SecretKeySpec)
136 if (keySpec instanceof PBEKeySpec)
193 if (keySpec instanceof PBEKeySpec)
213 if (param instanceof ParametersWithIV)
243 if (keySpec instanceof DESKeySpec)
571 if (keySpec instanceof PBEKeySpec)
  /external/guava/guava/src/com/google/common/base/
Functions.java 115 if (o instanceof FunctionForMapNoDefault) {
163 if (o instanceof ForMapWithDefault) {
209 if (obj instanceof FunctionComposition) {
251 if (obj instanceof PredicateFunction) {
292 if (obj instanceof ConstantFunction) {
335 if (obj instanceof SupplierFunction) {
  /external/javassist/src/main/javassist/bytecode/stackmap/
TypeData.java 141 if (!(neighbor instanceof TypeName))
189 if (obj instanceof TypeName) {
218 if (td instanceof TypeName) {
228 if (td instanceof TypeName) {
459 if (obj instanceof UninitData) {
504 return obj instanceof UninitThis;
  /frameworks/base/voip/java/com/android/server/sip/
SipSessionGroup.java 386 if (message instanceof SIPMessage) {
657 mProxy.setListener((listener instanceof SipSessionListenerProxy)
749 if (evt instanceof RequestEvent) {
751 } else if (evt instanceof ResponseEvent) {
803 } else if (evt instanceof TransactionTerminatedEvent) {
805 if (evt instanceof TimeoutEvent) {
816 } else if (evt instanceof DialogTerminatedEvent) {
    [all...]
  /packages/apps/Email/tests/src/com/android/email/provider/
ContentCacheTests.java 147 assertTrue(cursor instanceof CursorWrapper);
150 assertTrue(wrappedCursor instanceof CachedCursor);
226 assertTrue(cachedCursor instanceof CachedCursor);
229 assertTrue(cachedCursor instanceof CachedCursor);
250 assertTrue(cachedCursor instanceof CachedCursor);
253 assertTrue(cachedCursor instanceof CachedCursor);
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/
DisplayLog.java 274 if (source instanceof TableColumn) {
287 if (source instanceof TableColumn) {
300 if (source instanceof TableColumn) {
313 if (source instanceof TableColumn) {
326 if (source instanceof TableColumn) {
339 if (source instanceof TableColumn) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
CreateAssetSetWizard.java 200 if (folder != null && !(folder instanceof IProject)) {
204 if (folder != null && !(folder instanceof IProject)) {
279 if (element instanceof IAdaptable) {
294 } else if (element instanceof Pair<?, ?>) {
308 if (activeEditor instanceof AndroidXmlEditor) {
310 if (input instanceof FileEditorInput) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
LintColumn.java 326 if (resource instanceof IProject) {
331 if (resource instanceof IFile) {
336 } else if (resource instanceof IFolder) {
340 if (!(resource.getParent() instanceof IProject)) {
397 if (marker.getResource() instanceof IFile) {
467 if (marker.getResource() instanceof IFile) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactoring/core/
AndroidTypeRenameParticipant.java 129 if (element instanceof IType) {
137 || !(manifestResource instanceof IFile)) {
201 if ((member instanceof IFile) && member.exists()) {
236 if (lDocument instanceof IStructuredDocument) {
253 if (attributeNode instanceof Attr) {
323 if (document instanceof IStructuredDocument) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
RefactoringTest.java 116 if (change instanceof TextFileChange) {
119 if (edit instanceof MultiTextEdit) {
148 if (change instanceof TextFileChange) {
166 if (edit instanceof MultiTextEdit) {
271 if (structuredModel instanceof IDOMModel) {
287 assertTrue(element instanceof IndexedRegion);

Completed in 2348 milliseconds

<<21222324252627282930>>