OSDN Git Service

* All files: Updated copyright to reflect Cygnus purchase.
[pf3gnuchains/gcc-fork.git] / libjava / java / lang / Comparable.java
1 /* Copyright (C) 1998, 1999  Red Hat, Inc.
2
3    This file is part of libgcj.
4
5 This software is copyrighted work licensed under the terms of the
6 Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
7 details.  */
8  
9 package java.lang;
10  
11 /**
12  * @author Warren Levy <warrenl@cygnus.com>
13  * @date September 8, 1998.  
14  */
15 /* Written using online API docs for JDK 1.2 beta from http://www.javasoft.com.
16  * Status:  Believed complete and correct.
17  */
18  
19 public interface Comparable
20 {
21   public int compareTo(Object o) throws ClassCastException;
22 }