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

io.crums.model.hashing.Bracketed Maven / Gradle / Ivy

/*
 * Copyright 2021 Babak Farhang
 */
package io.crums.model.hashing;


import static io.crums.model.hashing.ExpressionSymbols.*;

/**
 * "[ ]" type.
 */
final class Bracketed extends ArgEntity {

  
  
  /**
   * Creates an empty modifiable instance.
   * Used by the {@linkplain Parser parser}.
   */
  Bracketed() {  }
  
  /**
   * Creates a read-only instance. The list is copied.
   */
  public Bracketed(Entity arg) {
    super(arg);
  }
  
  
  
  

  @Override
  char openChar() {
    return LFT_BRKT;
  }

  @Override
  char closeChar() {
    return RGT_BRKT;
  }

}













© 2015 - 2024 Weber Informatics LLC | Privacy Policy