All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.bloodshura.sparkium.brainfxck.action.ActionSet Maven / Gradle / Ivy

The newest version!
package com.github.bloodshura.sparkium.brainfxck.action;

import com.github.bloodshura.ignitium.collection.set.impl.XArraySet;
import com.github.bloodshura.ignitium.collection.view.XBasicView;

import javax.annotation.Nonnull;

/**
 * This class is responsible for storing the available actions for a Brainfuck interpreter.
 * 

For consistency, after its creation, it is unmodifiable. */ public class ActionSet extends XBasicView { /** * Constructs a new action set with no action at all. */ public ActionSet() { } /** * Constructs a new action set from the specified actions. * * @param values The actions to be added to this action set */ public ActionSet(@Nonnull Action... values) { super(new XArraySet<>(values)); } /** * Constructs a new action set from the specified actions. * * @param values The actions to be added to this action set */ public ActionSet(@Nonnull Iterable values) { super(new XArraySet<>(values)); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy