001/*
002 *  Copyright 2001-2010 Stephen Colebourne
003 *
004 *  Licensed under the Apache License, Version 2.0 (the "License");
005 *  you may not use this file except in compliance with the License.
006 *  You may obtain a copy of the License at
007 *
008 *      http://www.apache.org/licenses/LICENSE-2.0
009 *
010 *  Unless required by applicable law or agreed to in writing, software
011 *  distributed under the License is distributed on an "AS IS" BASIS,
012 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 *  See the License for the specific language governing permissions and
014 *  limitations under the License.
015 */
016package org.joda.primitives.iterable;
017
018import org.joda.primitives.iterator.ShortIterator;
019
020/**
021 * Defines a provider of iteration over a collection of primitive <code>short</code> values.
022 * <p>
023 * This interface extends {@link java.util.Iterable Iterable} allowing
024 * seamless integration with other APIs.
025 * 
026 * @author Stephen Colebourne
027 * @version CODE GENERATED
028 * @since 1.0
029 */
030public interface ShortIterable extends Iterable<Short> {
031    // This file is CODE GENERATED. Do not change manually.
032
033    // Mandatory operations
034    //-----------------------------------------------------------------------
035    /**
036     * Gets an iterator over this collection capable of accessing the primitive values.
037     *
038     * @return an iterator, not null
039     */
040    ShortIterator iterator();
041
042}