MCPcopy Index your code
hub / github.com/beanshell/beanshell / isBshIterable

Method isBshIterable

src/bsh/CollectionManager.java:49–58  ·  view source on GitHub ↗
( Object obj )

Source from the content-addressed store, hash-verified

47 /**
48 */
49 public boolean isBshIterable( Object obj )
50 {
51 // This could be smarter...
52 try {
53 getBshIterator( obj );
54 return true;
55 } catch( IllegalArgumentException e ) {
56 return false;
57 }
58 }
59
60 public Iterator getBshIterator( Object obj )
61 throws IllegalArgumentException

Callers 1

evalMethod · 0.95

Calls 1

getBshIteratorMethod · 0.95

Tested by

no test coverage detected