<commit_before>/**
 * Copyright (c) 2014 by <NAME>.
 * 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
 * 
 * Any modifications to this file must keep this entire header intact.
 */

package cafe.image.options;

import cafe.image.core.ImageType;

public class GIFOptions extends ImageOptions {
	// Fields
	private boolean requireUserInput;
	int disposalMethod;
	// Constants
	public static int DISPOSAL_UNSPECIFIED = 0;	
	public static int DISPOSAL_NONE = 1;	
	public static int DISPOSAL_RESTORE_TO_BACKGROUND = 2;
	public static int DISPOSAL_RESTORE_TO_PREVIOUS = 3;
	
	public int getDispoalMethod() {
		return disposalMethod;
	}
	
	public ImageType getImageType() {
		return ImageType.GIF;
	}
	
	public boolean getRequireUserInput() {
		return requireUserInput;
	}
	
	public void setDisposalMethod(int disposalMethod) {
		if(disposalMethod < DISPOSAL_UNSPECIFIED || disposalMethod > DISPOSAL_RESTORE_TO_PREVIOUS)
			throw new IllegalArgumentException("Invalid disposal method: " + disposalMethod);
		this.disposalMethod = disposalMethod;
	}
	
	public void setRequireUserInput(boolean requireUserInput) {
		this.requireUserInput = requireUserInput;
	}
}<commit_msg>Moved methods to GIFFrame<commit_after>/**
 * Copyright (c) 2014 by <NAME>.
 * 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
 * 
 * Any modifications to this file must keep this entire header intact.
 */

package cafe.image.options;

import cafe.image.core.ImageType;

public class GIFOptions extends ImageOptions {
			
	public ImageType getImageType() {
		return ImageType.GIF;
	}
}
{'fraction_non_alphanumeric': 0.07573415765069552, 'fraction_numerical': 0.010303967027305513, 'mean_word_length': 4.532763532763533, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6525581', 'n_tokens_mistral': 618, 'n_tokens_neox': 552, 'n_words': 184}