blob: 580f45dc9024e14839a9bc0f348e8aed2df71ba2 [file] [log] [blame]
/**
* Copyright (c) 2011 Stefan Henss.
* 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:
* Stefan Henß - initial API and implementation.
*/
package org.eclipse.jdt.internal.ui.text;
import java.util.List;
public class Chain {
private final List<ChainElement> elements;
private final int expectedDimensions;
public Chain(final List<ChainElement> elements, final int expectedDimensions) {
this.elements= elements;
this.expectedDimensions= expectedDimensions;
}
public List<ChainElement> getElements() {
return elements;
}
public int getExpectedDimensions() {
return expectedDimensions;
}
}