<commit_before>package gnu.mapping;

/** Encapsulate multiple values in a single object.
 * In Scheme and Lisp mainly used to return multiple values from a function.
 */

public class Values implements Printable
{
  private Object[] vals;

  public static final Values empty = new Values(new Object[0]);

  /** Constructor.
   * @param values the values to encapulate
   */
  public Values (Object[] values)
  {
    vals = values;
  }

  /** Get the values encapsulated. */
  public Object[] values ()
  {
    return vals;
  }

  public static Object make (Object[] vals)
  {
    if (vals.length == 1)
      return vals[0];
    else if (vals.length == 0)
      return empty;
    else
      return new Values(vals);    
  }<commit_msg>�  	* CallStack.java:  New class. 	* CpsProcedure.java:  New class (extends ProcedureN). 	* CallFrame.java:  New class (extends CpsProcedure). 	* Makefile.am (java_JAVA), Makefile.in:  Add new source files. 	* Procedure.java (noArgs):  New static field. 	(apply(CallStack)):  New overloading method. 	* ProcedureN.java (apply0):  Use Procedure.noArgs. 	* Values.java (empty):  Change to use Procedure.noArgs.<commit_after>package gnu.mapping;

/** Encapsulate multiple values in a single object.
 * In Scheme and Lisp mainly used to return multiple values from a function.
 */

public class Values implements Printable
{
  private Object[] vals;

  public static final Values empty = new Values(Procedure.noArgs);

  /** Constructor.
   * @param values the values to encapulate
   */
  public Values (Object[] values)
  {
    vals = values;
  }

  /** Get the values encapsulated. */
  public Object[] values ()
  {
    return vals;
  }

  public static Object make (Object[] vals)
  {
    if (vals.length == 1)
      return vals[0];
    else if (vals.length == 0)
      return empty;
    else
      return new Values(vals);    
  }
{'fraction_non_alphanumeric': 0.10718113612004287, 'fraction_numerical': 0.004287245444801715, 'mean_word_length': 2.955508474576271, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3358886', 'n_tokens_mistral': 605, 'n_tokens_neox': 566, 'n_words': 200}