![JAR search and dependency download from the Maven repository](/logo.png)
org.jbibtex.ConcateValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jbibtex Show documentation
Show all versions of jbibtex Show documentation
Java BibTeX parser and formatter
/*
* Copyright (c) 2012 University of Tartu
*/
package org.jbibtex;
public class ConcateValue extends Value {
private Value left = null;
private Value right = null;
public ConcateValue(Value left, Value right){
setLeft(left);
setRight(right);
}
@Override
protected String format(){
return getLeft().format() + " # " + getRight().format();
}
@Override
public String toUserString(){
return getLeft().toUserString() + getRight().toUserString();
}
public Value getLeft(){
return this.left;
}
private void setLeft(Value left){
this.left = left;
}
public Value getRight(){
return this.right;
}
private void setRight(Value right){
this.right = right;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy