org.rx.bean.$ Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rxlib Show documentation
Show all versions of rxlib Show documentation
A set of utilities for Java
package org.rx.bean;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import java.io.Serializable;
@NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@EqualsAndHashCode
public final class $ implements Serializable {
private static final long serialVersionUID = -1049524743720496118L;
public static $ $() {
return $(null);
}
public static $ $(T val) {
return new $<>(val);
}
public T v;
@Override
public String toString() {
return v == null ? "" : v.toString();
}
}