import static com.google.common.base.Verify.verify;
import static java.util.Objects.requireNonNull;
-import com.google.common.annotations.Beta;
import com.google.common.annotations.VisibleForTesting;
import java.io.Serial;
import java.math.BigDecimal;
/**
* Dedicated type for YANG's 'type decimal64' type. This class is similar to {@link BigDecimal}, but provides more
* efficient storage, as it has fixed precision.
- *
- * @author Robert Varga
*/
-@Beta
@NonNullByDefault
public class Decimal64 extends Number implements CanonicalValue<Decimal64> {
public static final class Support extends AbstractCanonicalValueSupport<Decimal64> {
import org.opendaylight.yangtools.concepts.Immutable;
/**
- * Dedicated singleton type for YANG's 'type empty' value.
- *
- * @author Robert Varga
+ * Dedicated singleton type for YANG's {@code type empty} value.
*/
@NonNullByDefault
public final class Empty implements Immutable, Serializable {
import static java.util.Objects.requireNonNull;
-import com.google.common.annotations.Beta;
import com.google.common.collect.Interner;
import com.google.common.collect.Interners;
import java.io.Serial;
import org.opendaylight.yangtools.concepts.Either;
/**
- * Dedicated type for YANG's 'type uint16' type.
- *
- * @author Robert Varga
+ * Dedicated type for YANG's {@code type uint16} type.
*/
-@Beta
@NonNullByDefault
public class Uint16 extends Number implements CanonicalValue<Uint16> {
public static final class Support extends AbstractCanonicalValueSupport<Uint16> {
import static java.util.Objects.requireNonNull;
-import com.google.common.annotations.Beta;
import com.google.common.collect.Interner;
import com.google.common.collect.Interners;
import com.google.common.primitives.UnsignedInteger;
import org.opendaylight.yangtools.concepts.Either;
/**
- * Dedicated type for YANG's 'type uint32' type.
- *
- * @author Robert Varga
+ * Dedicated type for YANG's {@code type uint32} type.
*/
-@Beta
@NonNullByDefault
public class Uint32 extends Number implements CanonicalValue<Uint32> {
public static final class Support extends AbstractCanonicalValueSupport<Uint32> {
import static java.util.Objects.requireNonNull;
-import com.google.common.annotations.Beta;
import com.google.common.collect.Interner;
import com.google.common.collect.Interners;
import com.google.common.primitives.UnsignedLong;
import org.opendaylight.yangtools.concepts.Either;
/**
- * Dedicated type for YANG's 'type uint64' type.
- *
- * @author Robert Varga
+ * Dedicated type for YANG's {@code type uint64} type.
*/
-@Beta
@NonNullByDefault
public class Uint64 extends Number implements CanonicalValue<Uint64> {
public static final class Support extends AbstractCanonicalValueSupport<Uint64> {
import static java.util.Objects.requireNonNull;
-import com.google.common.annotations.Beta;
import java.io.Serial;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.jdt.annotation.NonNullByDefault;
import org.opendaylight.yangtools.concepts.Either;
/**
- * Dedicated type for YANG's 'type uint8' type.
- *
- * @author Robert Varga
+ * Dedicated type for YANG's {@code type uint8} type.
*/
-@Beta
@NonNullByDefault
public class Uint8 extends Number implements CanonicalValue<Uint8> {
public static final class Support extends AbstractCanonicalValueSupport<Uint8> {
*/
package org.opendaylight.yangtools.yang.common;
-import com.google.common.annotations.Beta;
import com.google.common.primitives.UnsignedInteger;
import com.google.common.primitives.UnsignedLong;
import java.math.BigInteger;
* Uint32 one = fromJava(32L);
* </code>
* </pre>
- *
- * @author Robert Varga
*/
-@Beta
@NonNullByDefault
public final class UintConversions {
private UintConversions() {