com.vladsch.boxed.json.BoxedJsInvalidLiteral Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of boxed-json Show documentation
Show all versions of boxed-json Show documentation
Mutable JSON classes with easy search and manipulation in Java
package com.vladsch.boxed.json;
import org.jetbrains.annotations.NotNull;
import javax.json.JsonValue;
public abstract class BoxedJsInvalidLiteral implements BoxedJsValue {
@NotNull public JsonValue jsonValue() {
return JsonValue.NULL;
}
@Override
public int hashCode() {
return getBoxedValueType().hashCode();
}
@Override
public String toString() {
return getBoxedValueType().toString();
}
@Override
public boolean equals(Object obj) {
return obj instanceof BoxedJsValue && this.getBoxedValueType().equals(((BoxedJsValue) obj).getBoxedValueType());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy