Merge "BUG-865: removed unnecessary test file."
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / codec / Int64Codec.java
index 9b923699a58b8816f1f3f82b0d2da480a1439508..16d055214f15ab5a839aee4a271f3e65f2ed4db6 100644 (file)
@@ -1,9 +1,18 @@
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
 package org.opendaylight.yangtools.yang.data.api.codec;
 
+import org.opendaylight.yangtools.concepts.Codec;
 
-public interface Int64Codec<T> {
+public interface Int64Codec<T> extends Codec<T,Long> {
+    @Override
+    T serialize(Long data);
 
-    public T serialize(Long data);
-
-    public Long deserialize(T data);
+    @Override
+    Long deserialize(T data);
 }