Added volume to client plus other fixes
[stereo.git] / DAAPLib / src / util / node / LongNode.java
blob369a0214110137d49f24d12c841e91453640f755
1 package util.node;
3 public class LongNode extends Node {
4 private final long value;
6 public LongNode(int code, long value) {
7 super(code);
8 this.value = value;
11 public String toString() {
12 return "<" + super.toString() + " value=\"" + value + "\" />";
15 public long getValue() {
16 return value;
19 @Override
20 public int visit(Visitor visitor) {
21 return visitor.visitLongNode(this);