mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-20 23:59:40 +08:00
d05165c393
* java/awt/Color.java: New file. * java/awt/Graphics.java: New file. * java/awt/Image.java: New file. * java/awt/Paint.java: New file. * java/awt/PaintContext.java: New file. * java/awt/Transparency.java: New file. * java/util/Collection.java: New file. * java/util/Comparator.java: New file. * java/util/Iterator.java: New file. * java/util/List.java: New file. * java/util/ListIterator.java: New file. * Makefile.am: Added above new files. * Makefile.in: Rebuilt. * java/awt/Font.java (PLAIN): New field. (BOLD): New field. (ITALIC): New field. (ROMAN_BASELINE): New field. (CENTER_BASELINE): New field. (HANGING_BASELINE): New field. (name): New field. (style): New field. (size): New field. (pointSize): New field. (Font): Implemented constructor. (isPlain): Implemented method. (isBold): Implemented method. (isItalic): Implemented method. (getName): Implemented method. (getStyle): Implemented method. (getSize): Implemented method. (getSize2D): Implemented method. (decode): Stubbed. * java/awt/Frame.java (getFont): Stubbed. (postEvent): Stubbed. (remove): Stubbed. * java/awt/Menu.java (postEvent): Stubbed. * java/awt/MenuBar.java (getFont): Stubbed. (postEvent): Stubbed. * java/awt/Toolkit.java (getImage): Added abstract method. From-SVN: r32598
38 lines
974 B
Java
38 lines
974 B
Java
/* Copyright (C) 2000 Free Software Foundation
|
|
|
|
This file is part of libgcj.
|
|
|
|
This software is copyrighted work licensed under the terms of the
|
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|
details. */
|
|
|
|
package java.util;
|
|
|
|
/**
|
|
* @author Warren Levy <warrenl@cygnus.com>
|
|
* @date March 16, 2000.
|
|
*/
|
|
/* Written using on-line Java Platform 1.2 API Specification.
|
|
* Status: Believed complete and correct.
|
|
*/
|
|
|
|
// JDK1.2
|
|
public interface Collection
|
|
{
|
|
public int size();
|
|
public boolean isEmpty();
|
|
public boolean contains(Object o);
|
|
public Iterator iterator();
|
|
public Object[] toArray();
|
|
public Object[] toArray(Object[] a);
|
|
public boolean add(Object o);
|
|
public boolean remove(Object o);
|
|
public boolean containsAll(Collection c);
|
|
public boolean addAll(Collection c);
|
|
public boolean removeAll(Collection c);
|
|
public boolean retainAll(Collection c);
|
|
public void clear();
|
|
public boolean equals(Object o);
|
|
public int hashCode();
|
|
}
|