2 * Copyright (c) 2014 Contextream, Inc. and others. 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.lispflowmapping.lisp.util;
10 public final class NumberUtil {
11 // Utility class, should not be instantiated
12 private NumberUtil() {
15 public static int asInt(Integer number) {
22 public static byte asByte(Byte number) {
29 public static short asShort(Short number) {
36 public static long asLong(Long number) {