blob: accd1c8be30e6f3ded3d165efe63fccdecb33e29 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011, 2016 Willink Transformations and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* E.D.Willink - initial API and implementation
*******************************************************************************/
package org.eclipse.ocl.pivot.utilities;
/**
* IterableWithSize provides an Iterable that can be indexed and has a known size.
*/
public interface IndexableIterable<T> extends Iterable<T>
{
T get(int index);
int size();
}