2 * Copyright (c) 2018 Pantheon Technologies, s.r.o. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.yangtools.yang.xpath.api;
10 import com.google.common.annotations.Beta;
11 import org.eclipse.jdt.annotation.Nullable;
14 * A number-bearing expression.
17 public abstract class YangNumberExpr implements YangExpr {
18 private static final long serialVersionUID = 1L;
21 // Hidden to prevent external subclassing
24 public abstract Number getNumber();
26 public abstract YangXPathMathSupport getSupport();
29 public abstract int hashCode();
32 public abstract boolean equals(@Nullable Object obj);