Package org.apache.commons.collections

Examples of org.apache.commons.collections.SingletonIterator


          Collection collection = (Collection) value;
          return collection.iterator();
        }
        else {
            // XXX: should we return single iterator?
            return new SingletonIterator( value );
        }
    }
View Full Code Here


        String value = evaluateAsString(context);
        if ( value == null ) {
            return Collections.EMPTY_LIST.iterator();
        }
        else {
            return new SingletonIterator( value );
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.commons.collections.SingletonIterator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.