Package bsh
Class CollectionManager
- java.lang.Object
-
- bsh.CollectionManager
-
public class CollectionManager extends Object
The default CollectionManager (which remains Java 1.1 compatible) supports iteration over objects of type: Enumeration, Vector, String, StringBuffer and array. The dynamically loaded CollectionManagerImpl supports additional types when it is present.- See Also:
BshIterable.java
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCollectionManager.BasicBshIteratorAn implementation that works with JDK 1.1
-
Constructor Summary
Constructors Constructor Description CollectionManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BshIteratorgetBshIterator(Object obj)static CollectionManagergetCollectionManager()ObjectgetFromMap(Object map, Object key)booleanisBshIterable(Object obj)booleanisMap(Object obj)ObjectputInMap(Object map, Object key, Object value)
-
-
-
Method Detail
-
getCollectionManager
public static CollectionManager getCollectionManager()
-
isBshIterable
public boolean isBshIterable(Object obj)
-
getBshIterator
public BshIterator getBshIterator(Object obj) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
isMap
public boolean isMap(Object obj)
-
-