Visual C++ 6.0 Dodatki, Przegl˙d j˙zyka


Dodatki

Priorytety operatorów

Następujące zestawienie wyszczególnia pełen zestaw operatorów Javy, wraz z ich priorytetami i wiązaniami.

Priorytet Wiązanie Operator

1 prawe ++ -- + - ~ ! (Typ)

2 lewe * / %

3 lewe + -

4 lewe << >> >>>

5 lewe < <= > >= instanceof

6 lewe == !=

7 lewe &

8 lewe ^

9 lewe |

10 lewe &&

11 lewe ||

12 prawe ?=

13 prawe = *= /= %= += -=

<<= >>= >>>=

&= ^= |=

W odróżnieniu od C++, w Javie nie ma operatorów operatorów new, delete, throw, i połączenia (,), a ponadto nie są operatorami: kropka (.) i nawiasy ([] i ()).

Uwaga: Słowo kluczowe new jest w Javie elementem wyrażenia fabrykującego, a nie operatorem!

Nowymi operatorami, nie występującymi w C++ są

przesunięcie bez znaku (>>>),

przypisanie przesuniętego bez znaku (>>>=),

stwierdzenie przynależności (instanceof).

Słownik terminów

A

abort zaniechać

abrubt gwałtowny

accessible dostępny

active aktywny

alpha component składnik alfa

ambiguous dwuznaczny

ascent uniesienie

B

background tło

baseline linia bazowa

blinking migotanie

brightness jaskrawość

browser przeglądarka

buffering buforowanie

button przycisk

bytecode B-kod

C

callback obsługa

canvas płótno

card karta

cast konwersja

check mark znacznik

checkbox nastawa

choice wybór

client odbiorca

client area pulpit

clipping obcinanie

clon klon

compatible zgodny

concurrent współbieżny

connection połączenie

constraint wymuszenie

consumer konsument

container pojemnik

control sterownik

copy constructor konstruktor kopiujący

critical section sekcja krytyczna

cropping wycinanie

current bieżący

custom zamówiony

D

daemon demon

datagram datagram

deadlock impas

debugger uruchamiacz

default domyślny

definitive definitywny

delay oczekiwanie

deprecate zniechęcać

descent obniżenie

dialog dialog

directory katalog

domain domena

drag przeciągać

drop down opadać

E

elaboration opracowanie

ellipsis wielokropek

embedded wbudowany

envelope koperta

environment otoczenie

event driven sterowany zdarzeniami

events zdarzenie

F

factory expression wyrażenie fabrykujące

factory method metoda fabrykująca

file plik

filtered filtrowany

final finalny

flow of control przepływ sterowania

folder katalog

foreground pierwszoplanowy

frame ramka

friendship zaprzyjaźnienie

G

garbage nieużytek

graphics context kontekst graficzny

graphics context object wykreślacz

H

handler obsługa

heap sterta

height wysokość

home page strona domowa

host gospodarz

hue odcień

I

identifier identyfikator

incremental przyrostowy

initializer inicjator

instance egzemplarz

integrity integralność

interface oblicze

L

l-value l-wyrażenie

label etykieta

layout manager zarządca rozkładu

leading światło

linking łączenie

list lista

loading ładowanie

locator lokalizator

M

member składnik

metrics metryka

modal dominujący

multiple inheritance wielodziedziczenie

multithreaded wielowątkowy

N

native rodzimy

narrowing zawężenie

null pusty

O

observer obserwator

opaque nieprzeźroczysty

overloaded przeciążony

override przedefiniować

P

package pakiet

passive bierny

peer równorzędny

pipe potok

pointer pozycja

port port

portable przenośny

preempt wywłaszczyć

prepared przygotowany

priority priorytet

process proces

producer producent

property właściwość

protocol protokół

R

radio button przełącznik

rank ranga

reanimate wskrzesić

recursive rekurencyjny

reentrant wielobieżny

reference odnośnik

region obszar

relative względny

repetetive cykliczny

rest spoczywać

reusable wieloużytkowy

rounding zaokrąglenie

run wykonywać

S

saturation nasycenie

scope zakres

security bezpieczeństwo

self contained samodzielny

server dostawca

session sesja

shadow przesłonić

shallow płytki

shared dzielony

side effect skutek uboczny

signature sygnatura

size rozmiar

sleep spać

socket gniazdo

source źródło

starved zagłodzony

stream strumień

stub pień

style styl

subclass podklasa

superclass nadklasa

supported utrzymywany

suspended zawieszony

T

target cel

task zadanie

teller kasjer

text area notatnik

text field klatka

thread wątek

tracker nadzorca

transparent przeźroczysty

typeface krój

U

unbalanced niezrównoważony

V

verify weryfikować

virtual pozorny

volatile ulotny

W

wait czekać

widening poszerzenie

widget sterownik

Styl programowania

Istnieje tyle stylów programowana ilu jest programistów. Jednak bez trudu można stwierdzić, że jedne style są lepsze od innych.

Dlatego, w celu ujednolicenia zapisu i tym samym ułatwienia wymiany programów, podano tu opis stylu zastosowanego w niniejszej książce.

Wygląd

Program zapisuje się czcionką równomierną, na przykład Courier. Żaden wiersz programu nie liczy więcej niż 60 znaków. W celu zwiększenia czytelności kodu stosuje się łamanie wierszy i dodawanie odstępów (spacji i pustych wierszy).

public static

boolean draw(Graphics gDC,

Color color,

int x, int y,

int width, int height)

{

// ...

}

Konsekwencja

Identyczne konstrukcje języka zawsze wyglądają tak samo.

int arr[];

int[] vec; // niekonsekwentnie

System.out.println();

System.out.print("\n"); // niekonsekwentnie

Nadmiarowość

Nadmiarowość jest dozwolona tylko w celu zwiększenia czytelności programu. Dotyczy to w szczególności: użycia zbędnego odnośnika this, użycia zbędnych nawiasów oraz użycia zbędnych specyfikatorów.

class Square {

int side;

Square(int base)

{

this.side = base; // zbędne this

// ...

if((a > 0) && (a < 10)) // zbędne nawiasy

System.exit(0);

}

// ...

}

abstract // zbędne abstract

interface Discardable

{

static final int ZERO = 0; // zbędne static i final

// ...

}

Komentarze

Komentarz wierszowy jest wyrównany w pionie względem pozostałych takich komentarzy z jego otoczenia.

int x; // xCen

int y; // yCen

Komentarz blokowy zapisuje się od pierwszej kolumny. W wierszach następnych zapisuje się dodatkowy znak * (gwiazdka). Zakończenie komentarza zapisuje się w osobnym wierszu. Ogół gwiazdek tworzy linię pionową.

/* Hello

* from

* me

*/

Uwaga: W dalszym opisie istnienie komentarzy nie będzie brane pod uwagę. W tym sensie za ostatni znak wiersza

int x; // xCen

będzie odtąd uznawany średnik.

Wcięcia

Jeśli pewna konstrukcja składniowa zawiera inną (na przykład definicja klasy zawiera deklarację metody), to konstrukcję wewnętrzną wcina się względem zewnętrznej.

Wcięcie uzyskuje się przez wstawienie ciągu spacji. Minimalny rozmiar wcięcia: 4 spacje. Wszystkie wcięcia muszą być równe. Znak tabulacji może być używany tylko wówczas, gdy następnie dokona się zamiany tabulacji na spacje.

class Greet {

int fun(int a)

{

if(a < 0)

return 0;

return a * a;

}

}

Identyfikatory

Identyfikatory pakietów zaczynają się od małej litery. Identyfikatory typów, stałych i etykiet od dużej. Identyfikatory pól, zmiennych i procedur od małej.

Zaleca się dobieranie nazw mnemonicznych, na przykład

getV i setV dla pobrania/zmiany (np. getColor, setColor)

isV dla badania (np. isEmpty)

toV dla konwersji (np. toString)

Nazwy jednoliterowe stosuje się tylko w specjalnych przypadkach, np.

b dla byte

c dla char

d dla double

e dla Exception

f dla float

i, j, k dla liczników

l dla long

o dla Object

s dla String

v dla wartości

W przypadku identyfikatorów wielosłowowych należy stosować duże litery, a nie znaki podkreślenia. Znak podkreślenia może być użyty tylko w identyfikatorach stałych.

int index;

void getArea();

public anyVeryLongMeaningfulName;

public static final double Pi = 3.14;

final Color COLOR_RED = Color.red;

Separatory

Po każdym przecinku, dwukropku i średniku występuje odstęp (wyjątek: instrukcja for). Przed przecinkiem oraz średnikiem oraz po nawiasie otwierającym i przed nawiasem zamykającym nie stawia się odstępu (wyjątek: średnik w instrukcji for).

fun(a, fun(a, b), b);

fun ( a , b ); // zbędne odstepy

fun(a, b); // dobrze

Specyfikatory

Specyfikatory klas i interfejsów wymienia się w następującej kolejności: dostępność (public, protected, public), abstrakcyjność (abstract), ustaloność (final), rodzaj (class, interface).

Specyfikatory procedur wymienia się w następującej kolejności: dostępność (public, protected, private), statyczność (static), abstrakcyjność (abstract), rodzimość (native), ustaloność (final), synchroniczność (synchronized), typ (void, int, itp.).

Specyfikatory pól i zmiennych wymienia się w następującej kolejności: dostępność (public, protected, private), statyczność (static), nietrwałość (transient), ulotność (volatile), niezmienność (final), typ (void, int, itp.).

public abstract

class Input {

protected static void fun();

public abstract synchronized int met(int x);

private static volatile final int var = 12;

// ...

}

Bloki

Klamrę otwierającą ciało klasy albo interfejsu oraz blok zawarty w innej instrukcji (np. w inicjatorze klasy) umieszcza się po spacji, w tym samym wierszu co nagłówek klasy albo interfesju, albo początkowa fraza instrukcji. W pozostałych przypadkach klamrę otwierającą umieszcza się w osobnym wierszu (dotyczy to przede wszystkim klamry otwierającej ciało funkcji).

Klamrę zamykającą blok zawsze umieszcza się w osobnym wierszu.

class Any {

void fun()

{

while(true) {

int i = 0;

{

// ..

}

}

}

}

Definicje klas i interfejsów

Słowo kluczowe class i interface umieszcza się od pierwszej kolumny wiersza. Jeśli definicja jest poprzedzona specyfikatorami, to umieszcza się je od pierwszej kolumny poprzedniego wiersza.

public abstract

class Greet {

// ...

}

Definicje procedur

Nagłówek procedury umieszcza się na początku wiersza, z jednym wcięciem. Klamrę otwierającą ciało procedury umieszcza się w osobnym wierszu. W przypadku licznych parametrów dopuszcza się przeniesienia po przecinku, wcięte do pierwszego parametru.

public

class Point {

Point(int x)

{

// ...

}

Point(int a, int b, int c,

int d, int e)

{

// ...

}

}

Etykiety

Każda etykieta zaczyna się w osobnym wierszu, począwszy od tej samej kolumny, od której zaczyna się następująca po niej instrukcja.

Again:

while(a > 5) {

// ...

break Again;

}

Wyrażenia

Między pustymi nawiasami (kwadratowymi i okrągłymi) nie występuje spacja. Po obu stronach kropki oraz po operatorze jednoargumentowym nie występuje spacja. Po obu stronach operatora dwuargumentowego występuje spacja.

int arr[];

int len = +arr.length() + 1;

Uwaga: Jeśli argumentem operacji dwuargumentowej jest liczba, to zezwala się, aby operator nie był otoczony spacjami jeśli zwiększy to czytelność programu.

arr[2*i+1] = 2*(i-1);

Wyrażenie które nie mieści się w wierszu jest podzielone między kolejne wiersze w taki sposób, że ostatnim znakiem wiersza jest operator. Przeniesiona do następnego wiersza część wyrażenia jest wówczas wyrównana albo wcinana i wyrównana.

System.out.println("Hello" +

" " +

"World");

System.out.println(

"Hello" +

" " +

"World"

);

Instrukcje

Każda instrukcja i podinstrukcja zaczyna się w osobnym wierszu.

if(a > 5) break; // źle

if(a > 5)

break;

instrukcje if

Jeśli po frazie if występuje klamra otwierająca, to odpowiadającą jej klamrę zamykającą umieszcza się pod if.

Jeśli po frazie else występuje fraza if, to frazy else i if zapisuje się w tym samym wierszu.

Jeśli instrukcja if zawiera frazę frazą else, to każdy z następujących napisów

else

} else

} else {

umieszcza się w osobnym wierszu, w pionowym wyrównaniu pod if.

if(a > 5)

fun(a, b)

if(a > 5)

fun(a, b)

else {

fun(c, d);

fun(e, f);

}

if(a > 5) {

fun(a, b);

fun(c, d);

} else {

fun(e, f);

return;

}

if(a > 5)

fun(i);

else if(b > 5) {

fun(i+1);

return;

}

instrukcje for

Przed pierwszym średnikiem frazy zawartej w nagłówku instrukcji for nie stawia się spacji. Po każdej stronie drugiego występuje jedna spacja.

for(int i = 0; i < 5 ; i++) {

fun(i);

fun(i+1);

}

instrukcje while

Jeśli ciałem instrukcji while jest blok, to zamykająca go klamra występuje w pionowym wyrównaniu pod while.

while(a > 5) {

fun(i);

fun(i+1);

}

instrukcje do

Jeśli ciałem instrukcji do jest blok, to otwierająca go klamra występuje w tym samym wierszu co nawias zamykający nagłówek, a napis

} while(

występuje w pionowym wyrównaniu pod do.

do {

fun(i);

fun(i+1);

} while(i < 4);

instrukcja switch

Klamra otwierająca blok instrukcji switch występuje w tym samym wierszu co nagłówek instrukcji.

Każda fraza case zaczyna się i kończy w osobnym wierszu. Instrukcje frazy case są względem niej wcięte.

switch(a) {

case 0:

a = 3;

break;

case 1:

a = 4;

}

instrukcje try

Klamra otwierająca bloku try występuje w tym samym wierszu co słowo kluczowe try. Każda fraza catch zaczyna się od nowego wiersza.

try {

fun(i);

}

catch(IOException e) {

}

catch(Exception e) {

System.out(e.getMessage());

}

finally {

i = 0;

}

Klasa Debug

Zdefiniowana tu klasa uruchomieniowa Debug ułatwia wyszukiwanie błędów występujących podczas wykonywania aplikacji i apletów.

Wykonanie instrukcji

new Debug();

powoduje utworzenie okna, w którym są wyświetlane argumenty przeciążonej funkcji toFrame oraz funkcji assert.

Uwaga: Przed użyciem klasy Debug w wersji źródłowej należy upewnić się, że moduł zawiera następujące deklaracje

import java.awt.*;

import java.io.*;

Na przykład

Debug.toFrame("Hello");

Debug.toFrame("" + (var+1));

Debug.toFrame("var = " + var);

Debug.toFrame(Thread.currentThread());

Debug.assert("In paint: boxWidth > 5", boxWidth > 5);

Bezpośrednio po wywołaniu funkcji off, a przed najbliższym wywołaniem funkcji on, wstrzymuje się wyświetlanie argumentów metod toFrame, assert i pause.

Na przykład

new Debug(100, 100);

// ...

Debug.off(); // zaniechanie wyświetlania

// ...

Debug.on(); // przywrócenie wyświetlania

// ...

Uwaga: Wykonanie operacji new Debug() może być tylko jednokrotne. W przypadku naruszenia tego wymagania jest wysyłany wyjątek klasy InstantiationError.

//==================================== klasa Debug

import java.awt.*; // wymagane zawsze

import java.io.*; // tylko dla pause

class Debug {

/**

Klasa uruchomieniowa

Copyright © Jan Bielecki

*/

static Frame frame;

String header = "Debug\n=====\n";

static TextArea textArea;

static boolean opened = false;

static boolean active = true;

Debug()

{

this(200, 400);

}

Debug(int width, int height)

{

if(opened)

throw new InstantiationError();

opened = true;

frame = new DebugFrame("Debug");

frame.resize(width, height);

textArea = new TextArea(header);

frame.add("Center", textArea);

frame.show();

}

static synchronized

void toFrame(String string)

{

if(active)

textArea.appendText(string + "\n");

}

static synchronized

void toFrame(Object object)

{

if(active)

toFrame(object.toString());

}

static synchronized

void pause()

{

if(active)

try {

System.in.read(); // pauza

}

catch(IOException e) {

}

}

static synchronized

void assert(String what, boolean isTrue)

{

if(active && !isTrue)

textArea.appendText("Assertion \"" + what +

"\" failed\n");

}

static synchronized void on()

{

active = true;

}

static synchronized void off()

{

active = false;

}

}

class DebugFrame extends Frame {

DebugFrame(String caption)

{

super(caption);

}

public boolean handleEvent(Event evt)

{

if(evt.id == Event.WINDOW_DESTROY) {

hide();

dispose();

return true;

}

return super.handleEvent(evt);

}

}

Hierarchia klas

Dodatek przedstawia hierarchię klas wchodzących w skład pakietów

java.applet

java.awt

java.io

java.lang

java.util

Zastosowano następującą konwencję opisu

Nazwę klasy/interfejsu wchodzących w skład pakietu pogrubiono.

Nazwę podklasy wcięto względem nazwy jej nadklasy.

Nazwę interfejsu implementowanego przez klasę ujęto w nawiasy.

Nazwę klasy abstrakcyjnej zapisano kursywą.

Na przykład

Object

Component

MenuComponent

MenuBar (MenuContainer)

Klasa Component oraz klasa abstrakcyjna MenuComponent są podklasami klasy Object. Klasa MenuBar jest podklasą klasy abstrakcyjnej MenuComponent oraz implementuje interfejs MenuContainer. Klasa Object nie należy do tego samego pakietu co klasy i interfejsy, których nazwy pogrubiono.

Pakiet java.applet

Object

Component (ImageObserver)

Container

Panel

Applet

Pakiet java.awt

Object

Color

Dimension

Event

Font

FontMetrics

Graphics

Image

Insets (Cloneable)

MediaTracker

Point

Polygon

Rectangle

Toolkit

Object

CheckboxGroup

Component (ImageObserver)

Button

Canvas

Checkbox

Choice

Container

Panel

Applet

Window

Dialog

FileDialog

Frame (MenuContainer)

Label

List

Scrollbar

TextComponent

TextArea

TextField

MenuComponent

MenuBar (MenuContainer0

MenuItem

Menu (MenuContainer)

CheckboxMenuItem

BorderLayout (LayoutManager)

CardLayout (LayoutManager)

FlowLayout (LayoutManager)

GridBagLayout (LayoutManager)

GridLayout (LayoutManager)

GridBagConstraints (Cloneable)

Pakiet java.io

Object

File

FileDescriptor

InputStream

ByteArrayOutputStream

FileInputStream

FilterInputStream

BufferedInputStream

DataInputStream (DataInput)

LineNumberInputStream

PushbackInputStream

PipedInputStream

SequenceInputStream

StringBufferInputStream

RandomAccessFile (DataInput, DataOutput)

OutputStream

ByteArrayOutputStream

FileOutputStream

FilterOutputStream

BufferedOutputStream

DataOutputStream (DataOutput)

PrintStream

PipedOutputStream

StreamTokenizer

Pakiet java.lang

Object

Boolean

Character

Class

ClassLoader

Compiler

Math

Number

Double

Float

Integer

Long

Process

Runtime

SecurityManager

String

StringBuffer

System

Thread (Runnable)

ThreadGroup

Throwable

Definicje klas

Dodatek podaje definicje klas wchodzących w skład następujących pakietów

java.applet

java.awt

java.io

java.lang

java.util

Wszystkie definicje wygenerowano programowo na podstawie najnowszych bibliotek dostarczonych przez firmę Sun (aktualna wersja: maj 1996). W celu zachowania zgodności z definicjami źródłowymi, nie posortowano składników klas.

Uwaga: Z oszczędności miejsca i z powodu mniejszej ich użyteczności, zrezygnowano z przytoczenia definicji klas wchodzących w skład pakietów java.awt.image, java.awt.peer, java.awt.test i java.net.

Specyfikatory składników zakodowano w następujący sposób

private *, protected #, public p (składnik pakietowy - bez oznaczenia)

static s, abstract a, native n, final f, synchronized !

transient t, volatile v

Z deklaracji procedur usunięto identyfikatory. Inicjatory klamrowe pól i zmiennych przedstawiono w postaci

= { ... }

a inicjatory klas w postaci

static { ... }

Na przykład

final

class Derived extends Base {

*sn void fun(int, byte []);

{ ... }

vf int var[] = { ... };

}

Klasa Derived jest pakietowa i finalna. Zawiera jeden inicjator statyczny.

Procedura fun jest prywatna (*), statyczna (s) i rodzima (n).

Pole var jest pakietowe (brak *, #, p), ulotne (v) i finalne (f).

Pakiet java.applet

Applet

AppletContext

AppletStub

AudioClip

========== Applet

public

class Applet extends Panel {

* AppletStub stub;

pf void setStub(AppletStub);

p boolean isActive();

p URL getDocumentBase();

p URL getCodeBase();

p String getParameter(String);

p AppletContext getAppletContext();

p void resize(int, int);

p void resize(Dimension);

p void showStatus(String);

p Image getImage(URL);

p Image getImage(URL, String);

p AudioClip getAudioClip(URL);

p AudioClip getAudioClip(URL, String);

p String getAppletInfo();

p String[][] getParameterInfo();

p void play(URL);

p void play(URL, String);

p void init();

p void start();

p void stop();

p void destroy();

}

=== (Applet)

========== AppletContext

public

interface AppletContext {

AudioClip getAudioClip(URL);

Image getImage(URL);

Applet getApplet(String);

Enumeration getApplets();

void showDocument(URL);

p void showDocument(URL, String);

void showStatus(String);

}

=== (AppletContext)

========== AppletStub

public

interface AppletStub {

boolean isActive();

URL getDocumentBase();

URL getCodeBase();

String getParameter(String);

AppletContext getAppletContext();

void appletResize(int, int);

}

=== (AppletStub)

========== AudioClip

public

interface AudioClip {

void play();

void loop();

void stop();

}

=== (AudioClip)

Pakiet java.awt

AWTError

AWTException

BorderLayout

Button

Canvas

CardLayout

Checkbox

CheckboxGroup

CheckboxMenuItem

Choice

Color

Component

Container

Dialog

Dimension

Event

FileDialog

FlowLayout

Font

FontMetrics

Frame

Graphics

GridBagConstraints

GridBagLayout

GridLayout

Image

Insets

Label

LayoutManager

List

MediaTracker

Menu

MenuBar

MenuComponent

MenuContainer

MenuItem

Panel

Point

Polygon

Rectangle

Scrollbar

TextArea

TextComponent

TextField

Toolkit

Window

========== AWTError

public

class AWTError extends Error {

p AWTError(String);

}

=== (AWTError)

========== AWTException

public

class AWTException extends Exception {

p AWTException(String);

}

=== (AWTException)

========== BorderLayout

public

class BorderLayout implements LayoutManager {

int hgap;

int vgap;

Component north;

Component west;

Component east;

Component south;

Component center;

p BorderLayout();

p BorderLayout(int, int);

p void addLayoutComponent(String, Component);

p void removeLayoutComponent(Component);

p Dimension minimumLayoutSize(Container);

p Dimension preferredLayoutSize(Container);

p void layoutContainer(Container);

p String toString();

}

=== (BorderLayout)

========== Button

public

class Button extends Component {

String label;

p Button();

p Button(String);

p! void addNotify();

p String getLabel();

p void setLabel(String);

# String paramString();

boolean tabbable();

}

=== (Button)

========== Canvas

public

class Canvas extends Component {

p! void addNotify();

p void paint(Graphics);

}

=== (Canvas)

========== CardLayout

public

class CardLayout implements LayoutManager {

Hashtable tab = new Hashtable();

int hgap;

int vgap;

p CardLayout();

p CardLayout(int, int);

p void addLayoutComponent(String, Component);

p void removeLayoutComponent(Component);

p Dimension preferredLayoutSize(Container);

p Dimension minimumLayoutSize(Container);

p void layoutContainer(Container);

void checkLayout(Container);

p void first(Container);

p void next(Container);

p void previous(Container);

p void last(Container);

p void show(Container, String);

p String toString();

}

=== (CardLayout)

========== Checkbox

public

class Checkbox extends Component {

String label;

boolean state;

CheckboxGroup group;

void setStateInternal(boolean);

p Checkbox();

p Checkbox(String);

p Checkbox(String, CheckboxGroup, boolean);

p! void addNotify();

p String getLabel();

p void setLabel(String);

p boolean getState();

p void setState(boolean);

p CheckboxGroup getCheckboxGroup();

p void setCheckboxGroup(CheckboxGroup);

# String paramString();

boolean tabbable();

}

=== (Checkbox)

========== CheckboxGroup

public

class CheckboxGroup {

Checkbox currentChoice = null;

p CheckboxGroup();

p Checkbox getCurrent();

p! void setCurrent(Checkbox);

p String toString();

}

=== (CheckboxGroup)

========== CheckboxMenuItem

public

class CheckboxMenuItem extends MenuItem {

boolean state = false;

p CheckboxMenuItem(String);

p! void addNotify();

p boolean getState();

p void setState(boolean);

p String paramString();

}

=== (CheckboxMenuItem)

========== Choice

public

class Choice extends Component {

Vector pItems;

int selectedIndex = -1;

p Choice();

p! void addNotify();

p int countItems();

p String getItem(int);

p! void addItem(String);

p String getSelectedItem();

p int getSelectedIndex();

p! void select(int);

p void select(String);

# String paramString();

}

=== (Choice)

========== Color

public final

class Color {

psf Color white = new Color(255, 255, 255);

psf Color lightGray = new Color(192, 192, 192);

psf Color gray = new Color(128, 128, 128);

psf Color darkGray = new Color(64, 64, 64);

psf Color black = new Color(0, 0, 0);

psf Color red = new Color(255, 0, 0);

psf Color pink = new Color(255, 175, 175);

psf Color orange = new Color(255, 200, 0);

psf Color yellow = new Color(255, 255, 0);

psf Color green = new Color(0, 255, 0);

psf Color magenta = new Color(255, 0, 255);

psf Color cyan = new Color(0, 255, 255);

psf Color blue = new Color(0, 0, 255);

* int pData;

* int value;

p Color(int, int, int);

p Color(int);

p Color(float, float, float);

p int getRed();

p int getGreen();

p int getBlue();

p int getRGB();

*sf double FACTOR = 0.7;

p Color brighter();

p Color darker();

p int hashCode();

p boolean equals(Object);

p String toString();

ps Color getColor(String);

ps Color getColor(String, Color);

ps Color getColor(String, int);

ps int HSBtoRGB(float, float, float);

ps float[] RGBtoHSB(int, int, int, float []);

ps Color getHSBColor(float, float, float);

}

=== (Color)

========== Component

public abstract

class Component implements ImageObserver {

ComponentPeer peer;

Container parent;

int x;

int y;

int width;

int height;

Color foreground;

Color background;

Font font;

boolean visible = true;

boolean enabled = true;

boolean valid = false;

Component();

p Container getParent();

p ComponentPeer getPeer();

p Toolkit getToolkit();

p boolean isValid();

p boolean isVisible();

p boolean isShowing();

p boolean isEnabled();

p Point location();

p Dimension size();

p Rectangle bounds();

p! void enable();

p void enable(boolean);

p! void disable();

p! void show();

p void show(boolean);

p! void hide();

p Color getForeground();

p! void setForeground(Color);

p Color getBackground();

p! void setBackground(Color);

p Font getFont();

p! void setFont(Font);

p! ColorModel getColorModel();

p void move(int, int);

p void resize(int, int);

p void resize(Dimension);

p! void reshape(int, int, int, int);

p Dimension preferredSize();

p Dimension minimumSize();

p void layout();

p void validate();

p void invalidate();

p Graphics getGraphics();

p FontMetrics getFontMetrics(Font);

p void paint(Graphics);

p void update(Graphics);

p void paintAll(Graphics);

p void repaint();

p void repaint(long);

p void repaint(int, int, int, int);

p void repaint(long, int, int, int, int);

p void print(Graphics);

p void printAll(Graphics);

p boolean imageUpdate(Image, int, int, int, int, int);

p Image createImage(ImageProducer);

p Image createImage(int, int);

p boolean prepareImage(Image, ImageObserver);

p boolean prepareImage(Image, int, int, ImageObserver);

p int checkImage(Image, ImageObserver);

p int checkImage(Image, int, int, ImageObserver);

p! boolean inside(int, int);

p Component locate(int, int);

p void deliverEvent(Event);

p boolean postEvent(Event);

p boolean handleEvent(Event);

p boolean mouseDown(Event, int, int);

p boolean mouseDrag(Event, int, int);

p boolean mouseUp(Event, int, int);

p boolean mouseMove(Event, int, int);

p boolean mouseEnter(Event, int, int);

p boolean mouseExit(Event, int, int);

p boolean keyDown(Event, int);

p boolean keyUp(Event, int);

p boolean action(Event, Object);

p void addNotify();

p! void removeNotify();

p boolean gotFocus(Event, Object);

p boolean lostFocus(Event, Object);

p void requestFocus();

p void nextFocus();

# String paramString();

p String toString();

p void list();

p void list(PrintStream);

p void list(PrintStream, int);

boolean tabbable();

}

=== (Component)

========== Container

public abstract

class Container extends Component {

int ncomponents;

Component component[] = new Component[4];

LayoutManager layoutMgr;

Container();

p int countComponents();

p! Component getComponent(int);

p! Component[] getComponents();

p Insets insets();

p Component add(Component);

p! Component add(Component, int);

p! Component add(String, Component);

p! void remove(Component);

p! void removeAll();

p LayoutManager getLayout();

p void setLayout(LayoutManager);

p! void layout();

p! void validate();

p! Dimension preferredSize();

p! Dimension minimumSize();

p void paintComponents(Graphics);

p void printComponents(Graphics);

p void deliverEvent(Event);

p Component locate(int, int);

p! void addNotify();

p! void removeNotify();

# String paramString();

p void list(PrintStream, int);

void setFocusOwner(Component);

void nextFocus(Component);

}

=== (Container)

========== Dialog

public

class Dialog extends Window {

boolean resizable = true;

boolean modal;

String title;

p Dialog(Frame, boolean);

p Dialog(Frame, String, boolean);

p! void addNotify();

p boolean isModal();

p String getTitle();

p void setTitle(String);

p boolean isResizable();

p void setResizable(boolean);

# String paramString();

}

=== (Dialog)

========== Dimension

public

class Dimension {

p int width;

p int height;

p Dimension();

p Dimension(Dimension);

p Dimension(int, int);

p String toString();

}

=== (Dimension)

========== Event

public

class Event {

* int data;

psf int SHIFT_MASK = 1 << 0;

psf int CTRL_MASK = 1 << 1;

psf int META_MASK = 1 << 2;

psf int ALT_MASK = 1 << 3;

psf int HOME = 1000;

psf int END = 1001;

psf int PGUP = 1002;

psf int PGDN = 1003;

psf int UP = 1004;

psf int DOWN = 1005;

psf int LEFT = 1006;

psf int RIGHT = 1007;

psf int F1 = 1008;

psf int F2 = 1009;

psf int F3 = 1010;

psf int F4 = 1011;

psf int F5 = 1012;

psf int F6 = 1013;

psf int F7 = 1014;

psf int F8 = 1015;

psf int F9 = 1016;

psf int F10 = 1017;

psf int F11 = 1018;

psf int F12 = 1019;

*sf int WINDOW_EVENT = 200;

psf int WINDOW_DESTROY = 1 + WINDOW_EVENT;

psf int WINDOW_EXPOSE = 2 + WINDOW_EVENT;

psf int WINDOW_ICONIFY = 3 + WINDOW_EVENT;

psf int WINDOW_DEICONIFY = 4 + WINDOW_EVENT;

psf int WINDOW_MOVED = 5 + WINDOW_EVENT;

*sf int KEY_EVENT = 400;

psf int KEY_PRESS = 1 + KEY_EVENT;

psf int KEY_RELEASE = 2 + KEY_EVENT;

psf int KEY_ACTION = 3 + KEY_EVENT;

psf int KEY_ACTION_RELEASE = 4 + KEY_EVENT;

*sf int MOUSE_EVENT = 500;

psf int MOUSE_DOWN = 1 + MOUSE_EVENT;

psf int MOUSE_UP = 2 + MOUSE_EVENT;

psf int MOUSE_MOVE = 3 + MOUSE_EVENT;

psf int MOUSE_ENTER = 4 + MOUSE_EVENT;

psf int MOUSE_EXIT = 5 + MOUSE_EVENT;

psf int MOUSE_DRAG = 6 + MOUSE_EVENT;

*sf int SCROLL_EVENT = 600;

psf int SCROLL_LINE_UP = 1 + SCROLL_EVENT;

psf int SCROLL_LINE_DOWN = 2 + SCROLL_EVENT;

psf int SCROLL_PAGE_UP = 3 + SCROLL_EVENT;

psf int SCROLL_PAGE_DOWN = 4 + SCROLL_EVENT;

psf int SCROLL_ABSOLUTE = 5 + SCROLL_EVENT;

*sf int LIST_EVENT = 700;

psf int LIST_SELECT = 1 + LIST_EVENT;

psf int LIST_DESELECT = 2 + LIST_EVENT;

*sf int MISC_EVENT = 1000;

psf int ACTION_EVENT = 1 + MISC_EVENT;

psf int LOAD_FILE = 2 + MISC_EVENT;

psf int SAVE_FILE = 3 + MISC_EVENT;

psf int GOT_FOCUS = 4 + MISC_EVENT;

psf int LOST_FOCUS = 5 + MISC_EVENT;

p Object target;

p long when;

p int id;

p int x;

p int y;

p int key;

p int modifiers;

p int clickCount;

p Object arg;

p Event evt;

p Event(Object, long, int, int, int, int, int, Object);

p Event(Object, long, int, int, int, int, int);

p Event(Object, int, Object);

p void translate(int, int);

p boolean shiftDown();

p boolean controlDown();

p boolean metaDown();

# String paramString();

p String toString();

}

=== (Event)

========== FileDialog

public

class FileDialog extends Dialog {

psf int LOAD = 0;

psf int SAVE = 1;

int mode;

String dir;

String file;

FilenameFilter filter;

p FileDialog(Frame, String);

p FileDialog(Frame, String, int);

p! void addNotify();

p int getMode();

p String getDirectory();

p void setDirectory(String);

p String getFile();

p void setFile(String);

p FilenameFilter getFilenameFilter();

p void setFilenameFilter(FilenameFilter);

# String paramString();

}

=== (FileDialog)

========== FlowLayout

public

class FlowLayout implements LayoutManager {

psf int LEFT = 0;

psf int CENTER = 1;

psf int RIGHT = 2;

int align;

int hgap;

int vgap;

p FlowLayout();

p FlowLayout(int);

p FlowLayout(int, int, int);

p void addLayoutComponent(String, Component);

p void removeLayoutComponent(Component);

p Dimension preferredLayoutSize(Container);

p Dimension minimumLayoutSize(Container);

* void moveComponents(Container, int, int, int,

int, int, int);

p void layoutContainer(Container);

p String toString();

}

=== (FlowLayout)

========== FocusManager

class FocusManager {

Container focusRoot;

Component focusOwner;

FocusManager(Container);

! void setFocusOwner(Component);

boolean focusNext();

! boolean focusNext(Component);

boolean focusPrevious();

! boolean focusPrevious(Component);

boolean assignFocus(Component);

boolean focusForward(Container);

boolean focusBackward(Container);

}

=== (FocusManager)

========== Font

public

class Font {

psf int PLAIN = 0;

psf int BOLD = 1;

psf int ITALIC = 2;

* int pData;

* String family;

# String name;

# int style;

# int size;

p Font(String, int, int);

p String getFamily();

p String getName();

p int getStyle();

p int getSize();

p boolean isPlain();

p boolean isBold();

p boolean isItalic();

ps Font getFont(String);

ps Font getFont(String, Font);

p int hashCode();

p boolean equals(Object);

p String toString();

}

=== (Font)

========== FontMetrics

public abstract

class FontMetrics {

# Font font;

# FontMetrics(Font);

p Font getFont();

p int getLeading();

p int getAscent();

p int getDescent();

p int getHeight();

p int getMaxAscent();

p int getMaxDescent();

p int getMaxDecent();

p int getMaxAdvance();

p int charWidth(int);

p int charWidth(char);

p int stringWidth(String);

p int charsWidth(char [], int, int);

p int bytesWidth(byte [], int, int);

p int[] getWidths();

p String toString();

}

=== (FontMetrics)

========== Frame

public

class Frame extends Window implements MenuContainer {

psf int DEFAULT_CURSOR = 0;

psf int CROSSHAIR_CURSOR = 1;

psf int TEXT_CURSOR = 2;

psf int WAIT_CURSOR = 3;

psf int SW_RESIZE_CURSOR = 4;

psf int SE_RESIZE_CURSOR = 5;

psf int NW_RESIZE_CURSOR = 6;

psf int NE_RESIZE_CURSOR = 7;

psf int N_RESIZE_CURSOR = 8;

psf int S_RESIZE_CURSOR = 9;

psf int W_RESIZE_CURSOR = 10;

psf int E_RESIZE_CURSOR = 11;

psf int HAND_CURSOR = 12;

psf int MOVE_CURSOR = 13;

String title = "Untitled";

Image icon;

MenuBar menuBar;

boolean resizable = true;

Image cursorImage;

int cursorType = DEFAULT_CURSOR;

Color cursorFg;

Color cursorBg;

p Frame();

p Frame(String);

p! void addNotify();

p String getTitle();

p void setTitle(String);

p Image getIconImage();

p void setIconImage(Image);

p MenuBar getMenuBar();

p! void setMenuBar(MenuBar);

p! void remove(MenuComponent);

p! void dispose();

p boolean isResizable();

p void setResizable(boolean);

p void setCursor(int);

p int getCursorType();

# String paramString();

}

=== (Frame)

========== Graphics

public abstract

class Graphics {

# Graphics();

pa Graphics create();

p Graphics create(int, int, int, int);

pa void translate(int, int);

pa Color getColor();

pa void setColor(Color);

pa void setPaintMode();

pa void setXORMode(Color);

pa Font getFont();

pa void setFont(Font);

p FontMetrics getFontMetrics();

pa FontMetrics getFontMetrics(Font);

pa Rectangle getClipRect();

pa void clipRect(int, int, int, int);

pa void copyArea(int, int, int, int, int, int);

pa void drawLine(int, int, int, int);

pa void fillRect(int, int, int, int);

p void drawRect(int, int, int, int);

pa void clearRect(int, int, int, int);

pa void drawRoundRect(int, int, int, int, int, int);

pa void fillRoundRect(int, int, int, int, int, int);

p void draw3DRect(int, int, int, int, boolean);

p void fill3DRect(int, int, int, int, boolean);

pa void drawOval(int, int, int, int);

pa void fillOval(int, int, int, int);

pa void drawArc(int, int, int, int, int, int);

pa void fillArc(int, int, int, int, int, int);

pa void drawPolygon(int [], int [], int);

p void drawPolygon(Polygon);

pa void fillPolygon(int [], int [], int);

p void fillPolygon(Polygon);

pa void drawString(String, int, int);

p void drawChars(char [], int, int, int, int);

p void drawBytes(byte [], int, int, int, int);

pa boolean drawImage(Image, int, int, ImageObserver);

pa boolean drawImage(Image, int, int,

int, int, ImageObserver);

pa boolean drawImage(Image, int, int,

Color, ImageObserver);

pa boolean drawImage(Image, int, int, int, int,

Color, ImageObserver);

pa void dispose();

p void finalize();

p String toString();

}

=== (Graphics)

========== GridBagConstraints

public

class GridBagConstraints implements Cloneable {

psf int RELATIVE = -1;

psf int REMAINDER = 0;

psf int NONE = 0;

psf int BOTH = 1;

psf int HORIZONTAL = 2;

psf int VERTICAL = 3;

psf int CENTER = 10;

psf int NORTH = 11;

psf int NORTHEAST = 12;

psf int EAST = 13;

psf int SOUTHEAST = 14;

psf int SOUTH = 15;

psf int SOUTHWEST = 16;

psf int WEST = 17;

psf int NORTHWEST = 18;

p int gridx, gridy, gridwidth, gridheight;

p double weightx, weighty;

p int anchor, fill;

p Insets insets;

p int ipadx, ipady;

int tempX, tempY;

int tempWidth, tempHeight;

int minWidth, minHeight;

p GridBagConstraints();

p Object clone();

}

=== (GridBagConstraints)

========== GridBagLayoutInfo

class GridBagLayoutInfo {

int width, height;

int startx, starty;

int minWidth[];

int minHeight[];

double weightX[];

double weightY[];

GridBagLayoutInfo();

}

=== (GridBagLayoutInfo)

========== GridBagLayout

public

class GridBagLayout implements LayoutManager {

#sf int MAXGRIDSIZE = 128;

#sf int MINSIZE = 1;

#sf int PREFERREDSIZE = 2;

# Hashtable comptable;

# GridBagConstraints defaultConstraints;

# GridBagLayoutInfo layoutInfo;

p int columnWidths[];

p int rowHeights[];

p double columnWeights[];

p double rowWeights[];

p GridBagLayout();

p void setConstraints(Component, GridBagConstraints);

p GridBagConstraints getConstraints(Component);

# GridBagConstraints lookupConstraints(Component);

p Point getLayoutOrigin();

p int[][] getLayoutDimensions();

p double[][] getLayoutWeights();

p Point location(int, int);

p void addLayoutComponent(String, Component);

p void removeLayoutComponent(Component);

p Dimension preferredLayoutSize(Container);

p Dimension minimumLayoutSize(Container);

p void layoutContainer(Container);

p String toString();

# GridBagLayoutInfo GetLayoutInfo(Container, int);

# void AdjustForGravity(GridBagConstraints, Rectangle);

# Dimension GetMinSize(Container, GridBagLayoutInfo);

# void ArrangeGrid(Container);

}

=== (GridBagLayout)

========== GridLayout

public

class GridLayout implements LayoutManager {

int hgap;

int vgap;

int rows;

int cols;

p GridLayout(int, int);

p GridLayout(int, int, int, int);

p void addLayoutComponent(String, Component);

p void removeLayoutComponent(Component);

p Dimension preferredLayoutSize(Container);

p Dimension minimumLayoutSize(Container);

p void layoutContainer(Container);

p String toString();

}

=== (GridLayout)

========== Image

public abstract

class Image {

pa int getWidth(ImageObserver);

pa int getHeight(ImageObserver);

pa ImageProducer getSource();

pa Graphics getGraphics();

pa Object getProperty(String, ImageObserver);

psf Object UndefinedProperty = new Object();

pa void flush();

}

=== (Image)

========== Insets

public

class Insets implements Cloneable {

p int top;

p int left;

p int bottom;

p int right;

p Insets(int, int, int, int);

p String toString();

p Object clone();

}

=== (Insets)

========== Label

public

class Label extends Component {

psf int LEFT = 0;

psf int CENTER = 1;

psf int RIGHT = 2;

String label;

int alignment = LEFT;

p Label();

p Label(String);

p Label(String, int);

p! void addNotify();

p int getAlignment();

p void setAlignment(int);

p String getText();

p void setText(String);

# String paramString();

}

=== (Label)

========== LayoutManager

public

interface LayoutManager {

void addLayoutComponent(String, Component);

void removeLayoutComponent(Component);

Dimension preferredLayoutSize(Container);

Dimension minimumLayoutSize(Container);

void layoutContainer(Container);

}

=== (LayoutManager)

========== List

public

class List extends Component {

Vector items = new Vector();

int rows = 0;

boolean multipleSelections = false;

int selected[] = new int[0];

int visibleIndex = -1;

p List();

p List(int, boolean);

p! void addNotify();

p! void removeNotify();

p int countItems();

p String getItem(int);

p! void addItem(String);

p! void addItem(String, int);

p! void replaceItem(String, int);

p! void clear();

p! void delItem(int);

p! void delItems(int, int);

p! int getSelectedIndex();

p! int[] getSelectedIndexes();

p! String getSelectedItem();

p! String[] getSelectedItems();

p! void select(int);

p! void deselect(int);

p! boolean isSelected(int);

p int getRows();

p boolean allowsMultipleSelections();

p void setMultipleSelections(boolean);

p int getVisibleIndex();

p void makeVisible(int);

p Dimension preferredSize(int);

p Dimension preferredSize();

p Dimension minimumSize(int);

p Dimension minimumSize();

# String paramString();

boolean tabbable();

}

=== (List)

========== MediaTracker

public

class MediaTracker {

Component target;

MediaEntry head;

p MediaTracker(Component);

p void addImage(Image, int);

p! void addImage(Image, int, int, int);

psf int LOADING = 1;

psf int ABORTED = 2;

psf int ERRORED = 4;

psf int COMPLETE = 8;

sf int DONE = (ABORTED | ERRORED | COMPLETE);

p boolean checkAll();

p! boolean checkAll(boolean);

p! boolean isErrorAny();

p! Object[] getErrorsAny();

p void waitForAll() throws InterruptedException;

p! boolean waitForAll(long)throws InterruptedException;

p int statusAll(boolean);

p boolean checkID(int);

p! boolean checkID(int, boolean);

p! boolean isErrorID(int);

p! Object[] getErrorsID(int);

p void waitForID(int) throws InterruptedException;

p! boolean waitForID(int, long)

throws InterruptedException;

p int statusID(int, boolean);

! void setDone();

}

=== (MediaTracker)

========== MediaEntry

abstract

class MediaEntry {

MediaTracker tracker;

int ID;

MediaEntry next;

int status;

MediaEntry(MediaTracker, int);

a Object getMedia();

s MediaEntry insert(MediaEntry, MediaEntry);

int getID();

a void startLoad();

sf int LOADING = MediaTracker.LOADING;

sf int ABORTED = MediaTracker.ABORTED;

sf int ERRORED = MediaTracker.ERRORED;

sf int COMPLETE = MediaTracker.COMPLETE;

sf int LOADSTARTED = (LOADING | ERRORED | COMPLETE);

sf int DONE = (ABORTED | ERRORED | COMPLETE);

! int getStatus(boolean);

void setStatus(int);

}

=== (MediaEntry)

========== ImageMediaEntry

class ImageMediaEntry extends MediaEntry

implements ImageObserver {

Image image;

int width;

int height;

ImageMediaEntry(MediaTracker, Image, int, int, int);

Object getMedia();

void startLoad();

p boolean imageUpdate(Image, int, int, int, int, int);

}

=== (ImageMediaEntry)

========== Menu

public

class Menu extends MenuItem implements MenuContainer {

Vector items = new Vector();

boolean tearOff;

boolean isHelpMenu;

p Menu(String);

p Menu(String, boolean);

p! void addNotify();

p! void removeNotify();

p boolean isTearOff();

p int countItems();

p MenuItem getItem(int);

p! MenuItem add(MenuItem);

p void add(String);

p void addSeparator();

p! void remove(int);

p! void remove(MenuComponent);

}

=== (Menu)

========== MenuBar

public

class MenuBar extends MenuComponent

implements MenuContainer {

Vector menus = new Vector();

Menu helpMenu;

p MenuBar();

p! void addNotify();

p void removeNotify();

p Menu getHelpMenu();

p! void setHelpMenu(Menu);

p! Menu add(Menu);

p! void remove(int);

p! void remove(MenuComponent);

p int countMenus();

p Menu getMenu(int);

}

=== (MenuBar)

========== MenuComponent

public abstract

class MenuComponent {

MenuComponentPeer peer;

MenuContainer parent;

Font font;

p MenuContainer getParent();

p MenuComponentPeer getPeer();

p Font getFont();

p void setFont(Font);

p void removeNotify();

p boolean postEvent(Event);

# String paramString();

p String toString();

}

=== (MenuComponent)

========== MenuContainer

public

interface MenuContainer {

Font getFont();

boolean postEvent(Event);

void remove(MenuComponent);

}

=== (MenuContainer)

========== MenuItem

public

class MenuItem extends MenuComponent {

boolean enabled = true;

String label;

p MenuItem(String);

p! void addNotify();

p String getLabel();

p void setLabel(String);

p boolean isEnabled();

p void enable();

p void enable(boolean);

p void disable();

p String paramString();

}

=== (MenuItem)

========== Panel

public

class Panel extends Container {

sf LayoutManager panelLayout = new FlowLayout();

p Panel();

p! void addNotify();

}

=== (Panel)

========== Point

public

class Point {

p int x;

p int y;

p Point(int, int);

p void move(int, int);

p void translate(int, int);

p int hashCode();

p boolean equals(Object);

p String toString();

}

=== (Point)

========== Polygon

public

class Polygon {

p int npoints = 0;

p int xpoints[] = new int[4];

p int ypoints[] = new int[4];

Rectangle bounds = null;

p Polygon();

p Polygon(int [], int [], int);

void calculateBounds(int [], int [], int);

void updateBounds(int, int);

p void addPoint(int, int);

p Rectangle getBoundingBox();

p boolean inside(int, int);

}

=== (Polygon)

========== Rectangle

public

class Rectangle {

p int x;

p int y;

p int width;

p int height;

p Rectangle();

p Rectangle(int, int, int, int);

p Rectangle(int, int);

p Rectangle(Point, Dimension);

p Rectangle(Point);

p Rectangle(Dimension);

p void reshape(int, int, int, int);

p void move(int, int);

p void translate(int, int);

p void resize(int, int);

p boolean inside(int, int);

p boolean intersects(Rectangle);

p Rectangle intersection(Rectangle);

p Rectangle union(Rectangle);

p void add(int, int);

p void add(Point);

p void add(Rectangle);

p void grow(int, int);

p boolean isEmpty();

p int hashCode();

p boolean equals(Object);

p String toString();

}

=== (Rectangle)

========== Scrollbar

public

class Scrollbar extends Component {

psf int HORIZONTAL = 0;

psf int VERTICAL = 1;

int value;

int maximum;

int minimum;

int sVisible;

int orientation;

int lineIncrement = 1;

int pageIncrement = 10;

p Scrollbar();

p Scrollbar(int);

p Scrollbar(int, int, int, int, int);

p! void addNotify();

p int getOrientation();

p int getValue();

p void setValue(int);

p int getMinimum();

p int getMaximum();

p int getVisible();

p void setLineIncrement(int);

p int getLineIncrement();

p void setPageIncrement(int);

p int getPageIncrement();

p void setValues(int, int, int, int);

# String paramString();

}

=== (Scrollbar)

========== TextArea

public

class TextArea extends TextComponent {

int rows;

int cols;

p TextArea();

p TextArea(int, int);

p TextArea(String);

p TextArea(String, int, int);

p! void addNotify();

p void insertText(String, int);

p void appendText(String);

p void replaceText(String, int, int);

p int getRows();

p int getColumns();

p Dimension preferredSize(int, int);

p Dimension preferredSize();

p Dimension minimumSize(int, int);

p Dimension minimumSize();

# String paramString();

boolean tabbable();

}

=== (TextArea)

========== TextComponent

public

class TextComponent extends Component {

String text;

boolean editable = true;

int selStart;

int selEnd;

TextComponent(String);

p! void removeNotify();

p void setText(String);

p String getText();

p String getSelectedText();

p boolean isEditable();

p void setEditable(boolean);

p int getSelectionStart();

p int getSelectionEnd();

p void select(int, int);

p void selectAll();

# String paramString();

}

=== (TextComponent)

========== TextField

public

class TextField extends TextComponent {

int cols;

char echoChar;

p TextField();

p TextField(int);

p TextField(String);

p TextField(String, int);

p! void addNotify();

p char getEchoChar();

p boolean echoCharIsSet();

p int getColumns();

p void setEchoCharacter(char);

p Dimension preferredSize(int);

p Dimension preferredSize();

p Dimension minimumSize(int);

p Dimension minimumSize();

# String paramString();

boolean tabbable();

}

=== (TextField)

========== Toolkit

public abstract

class Toolkit {

#a ButtonPeer createButton(Button);

#a TextFieldPeer createTextField(TextField);

#a LabelPeer createLabel(Label);

#a ListPeer createList(List);

#a CheckboxPeer createCheckbox(Checkbox);

#a ScrollbarPeer createScrollbar(Scrollbar);

#a TextAreaPeer createTextArea(TextArea);

#a ChoicePeer createChoice(Choice);

#a FramePeer createFrame(Frame);

#a CanvasPeer createCanvas(Canvas);

#a PanelPeer createPanel(Panel);

#a WindowPeer createWindow(Window);

#a DialogPeer createDialog(Dialog);

#a MenuBarPeer createMenuBar(MenuBar);

#a MenuPeer createMenu(Menu);

#a MenuItemPeer createMenuItem(MenuItem);

#a FileDialogPeer createFileDialog(FileDialog);

#a CheckboxMenuItemPeer

createCheckboxMenuItem(CheckboxMenuItem);

pa Dimension getScreenSize();

pa int getScreenResolution();

pa ColorModel getColorModel();

pa String[] getFontList();

pa FontMetrics getFontMetrics(Font);

pa void sync();

*s Toolkit toolkit;

ps! Toolkit getDefaultToolkit();

pa Image getImage(String);

pa Image getImage(URL);

pa boolean prepareImage(Image, int, int, ImageObserver);

pa int checkImage(Image, int, int, ImageObserver);

pa Image createImage(ImageProducer);

}

=== (Toolkit)

========== Window

public

class Window extends Container {

String warningString;

* FocusManager focusMgr;

Window();

p Window(Frame);

p! void addNotify();

p! void pack();

p void show();

p! void dispose();

p void toFront();

p void toBack();

p Toolkit getToolkit();

pf String getWarningString();

boolean handleTabEvent(Event);

void setFocusOwner(Component);

void nextFocus(Component);

}

=== (Window)

Pakiet java.io

BufferedInputStream

BufferedOutputStream

ByteArrayInputStream

ByteArrayOutputStream

DataInput

DataInputStream

DataOutput

DataOutputStream

EOFException

File

FileDescriptor

FileInputStream

FileNotFoundException

FileOutputStream

FilenameFilter

FilterInputStream

FilterOutputStream

IOException

InputStream

InterruptedIOException

LineNumberInputStream

OutputStream

PipedInputStream

PipedOutputStream

PrintStream

PushbackInputStream

RandomAccessFile

SequenceInputStream

StreamTokenizer

StringBufferInputStream

UTFDataFormatException

========== BufferedInputStream

public

class BufferedInputStream extends FilterInputStream {

# byte buf[];

# int count;

# int pos;

# int markpos = -1;

# int marklimit;

p BufferedInputStream(InputStream);

p BufferedInputStream(InputStream, int);

* void fill() throws IOException;

p! int read() throws IOException;

p! int read(byte [], int, int) throws IOException;

p! long skip(long) throws IOException;

p! int available() throws IOException;

p! void mark(int);

p! void reset() throws IOException;

p boolean markSupported();

}

=== (BufferedInputStream)

========== BufferedOutputStream

public

class BufferedOutputStream extends FilterOutputStream {

# byte buf[];

# int count;

p BufferedOutputStream(OutputStream);

p BufferedOutputStream(OutputStream, int);

p! void write(int) throws IOException;

p! void write(byte [], int, int) throws IOException;

p! void flush() throws IOException;

}

=== (BufferedOutputStream)

========== ByteArrayInputStream

public

class ByteArrayInputStream extends InputStream {

# byte buf[];

# int pos;

# int count;

p ByteArrayInputStream(byte []);

p ByteArrayInputStream(byte [], int, int);

p! int read();

p! int read(byte [], int, int);

p! long skip(long);

p! int available();

p! void reset();

}

=== (ByteArrayInputStream)

========== ByteArrayOutputStream

public

class ByteArrayOutputStream extends OutputStream {

# byte buf[];

# int count;

p ByteArrayOutputStream();

p ByteArrayOutputStream(int);

p! void write(int);

p! void write(byte [], int, int);

p! void writeTo(OutputStream) throws IOException;

p! void reset();

p! byte toByteArray()[];

p int size();

p String toString();

p String toString(int);

}

=== (ByteArrayOutputStream)

========== DataInput

public

interface DataInput {

void readFully(byte []) throws IOException;

void readFully(byte [], int, int) throws IOException;

int skipBytes(int) throws IOException;

boolean readBoolean() throws IOException;

byte readByte() throws IOException;

int readUnsignedByte() throws IOException;

short readShort() throws IOException;

int readUnsignedShort() throws IOException;

char readChar() throws IOException;

int readInt() throws IOException;

long readLong() throws IOException;

float readFloat() throws IOException;

double readDouble() throws IOException;

String readLine() throws IOException;

String readUTF() throws IOException;

}

=== (DataInput)

========== DataInputStream

public

class DataInputStream extends FilterInputStream

implements DataInput {

p DataInputStream(InputStream);

pf int read(byte []) throws IOException;

pf int read(byte [], int, int) throws IOException;

pf void readFully(byte []) throws IOException;

pf void readFully(byte [], int, int) throws IOException;

pf int skipBytes(int) throws IOException;

pf boolean readBoolean() throws IOException;

pf byte readByte() throws IOException;

pf int readUnsignedByte() throws IOException;

pf short readShort() throws IOException;

pf int readUnsignedShort() throws IOException;

pf char readChar() throws IOException;

pf int readInt() throws IOException;

pf long readLong() throws IOException;

pf float readFloat() throws IOException;

pf double readDouble() throws IOException;

* char lineBuffer[];

pf String readLine() throws IOException;

pf String readUTF() throws IOException;

psf String readUTF(DataInput) throws IOException;

}

=== (DataInputStream)

========== DataOutput

public

interface DataOutput {

void write(int) throws IOException;

void write(byte []) throws IOException;

void write(byte [], int, int) throws IOException;

void writeBoolean(boolean) throws IOException;

void writeByte(int) throws IOException;

void writeShort(int) throws IOException;

void writeChar(int) throws IOException;

void writeInt(int) throws IOException;

void writeLong(long) throws IOException;

void writeFloat(float) throws IOException;

void writeDouble(double) throws IOException;

void writeBytes(String) throws IOException;

void writeChars(String) throws IOException;

void writeUTF(String) throws IOException;

}

=== (DataOutput)

========== DataOutputStream

public

class DataOutputStream extends FilterOutputStream

implements DataOutput {

# int written;

p DataOutputStream(OutputStream);

p! void write(int) throws IOException;

p! void write(byte [], int, int)throws IOException;

p void flush() throws IOException;

pf void writeBoolean(boolean) throws IOException;

pf void writeByte(int) throws IOException;

pf void writeShort(int) throws IOException;

pf void writeChar(int) throws IOException;

pf void writeInt(int) throws IOException;

pf void writeLong(long) throws IOException;

pf void writeFloat(float) throws IOException;

pf void writeDouble(double) throws IOException;

pf void writeBytes(String) throws IOException;

pf void writeChars(String) throws IOException;

pf void writeUTF(String) throws IOException;

pf int size();

}

=== (DataOutputStream)

========== EOFException

public

class EOFException extends IOException {

p EOFException();

p EOFException(String);

}

=== (EOFException)

========== File

public

class File {

* String path;

psf String separator =

System.getProperty("file.separator");

psf char separatorChar = separator.charAt(0);

psf String pathSeparator =

System.getProperty("path.separator");

psf char pathSeparatorChar = pathSeparator.charAt(0);

p File(String);

p File(String, String);

p File(File, String);

p String getName();

p String getPath();

p String getAbsolutePath();

p String getParent();

*n boolean exists0();

*n boolean canWrite0();

*n boolean canRead0();

*n boolean isFile0();

*n boolean isDirectory0();

*n long lastModified0();

*n long length0();

*n boolean mkdir0();

*n boolean renameTo0(File);

*n boolean delete0();

*n String[] list0();

p boolean exists();

p boolean canWrite();

p boolean canRead();

p boolean isFile();

p boolean isDirectory();

pn boolean isAbsolute();

p long lastModified();

p long length();

p boolean mkdir();

p boolean renameTo(File);

p boolean mkdirs();

p String[] list();

p String[] list(FilenameFilter);

p boolean delete();

p int hashCode();

p boolean equals(Object);

p String toString();

}

=== (File)

========== FileDescriptor

public final

class FileDescriptor {

* int fd;

psf FileDescriptor in =

initSystemFD(new FileDescriptor(),0);

psf FileDescriptor out =

initSystemFD(new FileDescriptor(),1);

psf FileDescriptor err =

initSystemFD(new FileDescriptor(),2);

pn boolean valid();

*sn FileDescriptor initSystemFD(FileDescriptor, int);

}

=== (FileDescriptor)

========== FileInputStream

public

class FileInputStream extends InputStream {

* FileDescriptor fd;

p FileInputStream(String) throws FileNotFoundException;

p FileInputStream(File) throws FileNotFoundException;

p FileInputStream(FileDescriptor);

*n void open(String) throws IOException;

pn int read() throws IOException;

*n int readBytes(byte [], int, int) throws IOException;

p int read(byte []) throws IOException;

p int read(byte [], int, int) throws IOException;

pn long skip(long) throws IOException;

pn int available() throws IOException;

pn void close() throws IOException;

pf FileDescriptor getFD() throws IOException;

# void finalize() throws IOException;

}

=== (FileInputStream)

========== FileNotFoundException

public

class FileNotFoundException extends IOException {

p FileNotFoundException();

p FileNotFoundException(String);

}

=== (FileNotFoundException)

========== FileOutputStream

public

class FileOutputStream extends OutputStream {

* FileDescriptor fd;

p FileOutputStream(String) throws IOException;

p FileOutputStream(File) throws IOException;

p FileOutputStream(FileDescriptor);

*n void open(String) throws IOException;

pn void write(int) throws IOException;

*n void writeBytes(byte [], int, int)

throws IOException;

p void write(byte []) throws IOException;

p void write(byte [], int, int) throws IOException;

pn void close() throws IOException;

pf FileDescriptor getFD() throws IOException;

# void finalize() throws IOException;

}

=== (FileOutputStream)

========== FilenameFilter

public

interface FilenameFilter {

boolean accept(File, String);

}

=== (FilenameFilter)

========== FilterInputStream

public

class FilterInputStream extends InputStream {

# InputStream in;

# FilterInputStream(InputStream);

p int read() throws IOException;

p int read(byte []) throws IOException;

p int read(byte [], int, int) throws IOException;

p long skip(long) throws IOException;

p int available() throws IOException;

p void close() throws IOException;

p! void mark(int);

p! void reset() throws IOException;

p boolean markSupported();

}

=== (FilterInputStream)

========== FilterOutputStream

public

class FilterOutputStream extends OutputStream {

# OutputStream out;

p FilterOutputStream(OutputStream);

p void write(int) throws IOException;

p void write(byte []) throws IOException;

p void write(byte [], int, int) throws IOException;

p void flush() throws IOException;

p void close() throws IOException;

}

=== (FilterOutputStream)

========== IOException

public

class IOException extends Exception {

p IOException();

p IOException(String);

}

=== (IOException)

========== InputStream

public abstract

class InputStream {

pa int read() throws IOException;

p int read(byte []) throws IOException;

p int read(byte [], int, int) throws IOException;

p long skip(long) throws IOException;

p int available() throws IOException;

p void close() throws IOException;

p! void mark(int);

p! void reset() throws IOException;

p boolean markSupported();

}

=== (InputStream)

========== InterruptedIOException

public

class InterruptedIOException extends IOException {

p InterruptedIOException();

p InterruptedIOException(String);

p int bytesTransferred = 0;

}

=== (InterruptedIOException)

========== LineNumberInputStream

public

class LineNumberInputStream extends FilterInputStream {

int pushBack = -1;

int lineNumber;

int markLineNumber;

p LineNumberInputStream(InputStream);

p int read() throws IOException;

p int read(byte [], int, int) throws IOException;

p void setLineNumber(int);

p int getLineNumber();

p long skip(long) throws IOException;

p int available() throws IOException;

p void mark(int);

p void reset() throws IOException;

}

=== (LineNumberInputStream)

========== OutputStream

public abstract

class OutputStream {

pa void write(int) throws IOException;

p void write(byte []) throws IOException;

p void write(byte [], int, int) throws IOException;

p void flush() throws IOException;

p void close() throws IOException;

}

=== (OutputStream)

========== PipedInputStream

public

class PipedInputStream extends InputStream {

boolean closed = true;

Thread readSide;

Thread writeSide;

* byte buffer[] = new byte[1024];

int in = -1;

int out = 0;

p PipedInputStream(PipedOutputStream)

throws IOException;

p PipedInputStream();

p void connect(PipedOutputStream) throws IOException;

! void receive(int) throws IOException;

! void receive(byte [], int, int) throws IOException;

! void receivedLast();

p! int read() throws IOException;

p! int read(byte [], int, int) throws IOException;

p! int available() throws IOException;

p void close() throws IOException;

}

=== (PipedInputStream)

========== PipedOutputStream

public

class PipedOutputStream extends OutputStream {

* PipedInputStream sink;

p PipedOutputStream(PipedInputStream)

throws IOException;

p PipedOutputStream();

p void connect(PipedInputStream) throws IOException;

p void write(int) throws IOException;

p void write(byte [], int, int) throws IOException;

p! void flush() throws IOException;

p void close() throws IOException;

}

=== (PipedOutputStream)

========== PrintStream

public

class PrintStream extends FilterOutputStream {

* boolean autoflush;

* boolean trouble;

p PrintStream(OutputStream);

p PrintStream(OutputStream, boolean);

p void write(int);

p void write(byte [], int, int);

p void flush();

p void close();

p boolean checkError();

p void print(Object);

p! void print(String);

p! void print(char []);

p void print(char);

p void print(int);

p void print(long);

p void print(float);

p void print(double);

p void print(boolean);

p void println();

p! void println(Object);

p! void println(String);

p! void println(char []);

p! void println(char);

p! void println(int);

p! void println(long);

p! void println(float);

p! void println(double);

p! void println(boolean);

}

=== (PrintStream)

========== PushbackInputStream

public

class PushbackInputStream extends FilterInputStream {

# int pushBack = -1;

p PushbackInputStream(InputStream);

p int read() throws IOException;

p int read(byte [], int, int) throws IOException;

p void unread(int) throws IOException;

p int available() throws IOException;

p boolean markSupported();

}

=== (PushbackInputStream)

========== RandomAccessFile

public

class RandomAccessFile implements DataOutput, DataInput {

* FileDescriptor fd;

p RandomAccessFile(String, String) throws IOException;

p RandomAccessFile(File, String) throws IOException;

pf FileDescriptor getFD() throws IOException;

*n void open(String, boolean) throws IOException;

pn int read() throws IOException;

*n int readBytes(byte [], int, int) throws IOException;

p int read(byte [], int, int) throws IOException;

p int read(byte []) throws IOException;

pf void readFully(byte []) throws IOException;

pf void readFully(byte [], int, int) throws IOException;

p int skipBytes(int) throws IOException;

pn void write(int) throws IOException;

*n void writeBytes(byte [], int, int)

throws IOException;

p void write(byte []) throws IOException;

p void write(byte [], int, int) throws IOException;

pn long getFilePointer() throws IOException;

pn void seek(long) throws IOException;

pn long length() throws IOException;

pn void close() throws IOException;

pf boolean readBoolean() throws IOException;

pf byte readByte() throws IOException;

pf int readUnsignedByte() throws IOException;

pf short readShort() throws IOException;

pf int readUnsignedShort() throws IOException;

pf char readChar() throws IOException;

pf int readInt() throws IOException;

pf long readLong() throws IOException;

pf float readFloat() throws IOException;

pf double readDouble() throws IOException;

pf String readLine() throws IOException;

pf String readUTF() throws IOException;

pf void writeBoolean(boolean) throws IOException;

pf void writeByte(int) throws IOException;

pf void writeShort(int) throws IOException;

pf void writeChar(int) throws IOException;

pf void writeInt(int) throws IOException;

pf void writeLong(long) throws IOException;

pf void writeFloat(float) throws IOException;

pf void writeDouble(double) throws IOException;

pf void writeBytes(String) throws IOException;

pf void writeChars(String) throws IOException;

pf void writeUTF(String) throws IOException;

}

=== (RandomAccessFile)

========== SequenceInputStream

public

class SequenceInputStream extends InputStream {

Enumeration e;

InputStream in;

p SequenceInputStream(Enumeration);

p SequenceInputStream(InputStream, InputStream);

f void nextStream() throws IOException;

p int read() throws IOException;

p int read(byte [], int, int) throws IOException;

p void close() throws IOException;

}

=== (SequenceInputStream)

========== StreamTokenizer

public

class StreamTokenizer {

* InputStream input;

* char buf[];

* int peekc = ' ';

* boolean pushedBack;

* boolean forceLower;

* int LINENO = 1;

* boolean eolIsSignificantP = false;

* boolean slashSlashCommentsP = false;

* boolean slashStarCommentsP = false;

* byte ctype[] = new byte[256];

*sf byte CT_WHITESPACE = 1;

*sf byte CT_DIGIT = 2;

*sf byte CT_ALPHA = 4;

*sf byte CT_QUOTE = 8;

*sf byte CT_COMMENT = 16;

p int ttype;

psf int TT_EOF = -1;

psf int TT_EOL = '\n';

psf int TT_NUMBER = -2;

psf int TT_WORD = -3;

p String sval;

p double nval;

p StreamTokenizer(InputStream);

p void resetSyntax();

p void wordChars(int, int);

p void whitespaceChars(int, int);

p void ordinaryChars(int, int);

p void ordinaryChar(int);

p void commentChar(int);

p void quoteChar(int);

p void parseNumbers();

p void eolIsSignificant(boolean);

p void slashStarComments(boolean);

p void slashSlashComments(boolean);

p void lowerCaseMode(boolean);

p int nextToken() throws IOException;

p void pushBack();

p int lineno();

p String toString();

}

=== (StreamTokenizer)

========== StringBufferInputStream

public

class StringBufferInputStream extends InputStream {

# String buffer;

# int pos;

# int count;

p StringBufferInputStream(String);

p! int read();

p! int read(byte [], int, int);

p! long skip(long);

p! int available();

p! void reset();

}

=== (StringBufferInputStream)

========== UTFDataFormatException

public

class UTFDataFormatException extends IOException {

p UTFDataFormatException();

p UTFDataFormatException(String);

}

=== (UTFDataFormatException)

Pakiet java.lang

AbstractMethodError

ArithmeticException

ArrayIndexOutOfBoundsException

ArrayStoreException

Boolean

Character

Class

ClassCastException

ClassCircularityError

ClassFormatError

ClassLoader

ClassNotFoundException

CloneNotSupportedException

Cloneable

Compiler

Double

Error

Exception

Float

IllegalAccessError

IllegalAccessException

IllegalArgumentException

IllegalMonitorStateException

IllegalThreadStateException

IncompatibleClassChangeError

IndexOutOfBoundsException

InstantiationError

InstantiationException

Integer

InternalError

InterruptedException

LinkageError

Long

Math

NegativeArraySizeException

NoClassDefFoundError

NoSuchFieldError

NoSuchMethodError

NoSuchMethodException

NullPointerException

Number

NumberFormatException

Object

OutOfMemoryError

Process

Runnable

Runtime

RuntimeException

SecurityException

SecurityManager

StackOverflowError

String

StringBuffer

StringIndexOutOfBoundsException

System

Thread

ThreadDeath

ThreadGroup

Throwable

UnknownError

UnsatisfiedLinkError

VerifyError

VirtualMachineError

========== AbstractMethodError

public

class AbstractMethodError

extends IncompatibleClassChangeError {

p AbstractMethodError();

p AbstractMethodError(String);

}

=== (AbstractMethodError)

========== ArithmeticException

public

class ArithmeticException extends RuntimeException {

p ArithmeticException();

p ArithmeticException(String);

}

=== (ArithmeticException)

========== ArrayIndexOutOfBoundsException

public

class ArrayIndexOutOfBoundsException

extends IndexOutOfBoundsException {

p ArrayIndexOutOfBoundsException();

p ArrayIndexOutOfBoundsException(int);

p ArrayIndexOutOfBoundsException(String);

}

=== (ArrayIndexOutOfBoundsException)

========== ArrayStoreException

public

class ArrayStoreException extends RuntimeException {

p ArrayStoreException();

p ArrayStoreException(String);

}

=== (ArrayStoreException)

========== Boolean

public final

class Boolean {

psf Boolean TRUE = new Boolean(true);

psf Boolean FALSE = new Boolean(false);

* boolean value;

p Boolean(boolean);

p Boolean(String);

p boolean booleanValue();

ps Boolean valueOf(String);

p String toString();

p int hashCode();

p boolean equals(Object);

ps boolean getBoolean(String);

*s boolean toBoolean(String);

}

=== (Boolean)

========== Character

public final

class Character extends Object {

psf int MIN_RADIX = 2;

psf int MAX_RADIX = 36;

psf char MIN_VALUE = '\u0000';

psf char MAX_VALUE = '\uffff';

*s long isLowerCaseTable[] = { ... };

ps boolean isLowerCase(char);

*s long isUpperCaseTable[] = { ... };

ps boolean isUpperCase(char);

ps boolean isTitleCase(char);

ps boolean isDigit(char);

*s // Kilka nieistotnych definicji pól

ps boolean isDefined(char);

*s // Kilka nieistotnych definicji pól

ps boolean isLetter(char);

*s // Kilka nieistotnych definicji pól

ps boolean isLetterOrDigit(char);

ps boolean isJavaLetter(char);

ps boolean isJavaLetterOrDigit(char);

*s long toLowerCaseTable[] = { ... };

ps char toLowerCase(char);

*s long toUpperCaseTable[] = { ... };

ps char toUpperCase(char);

ps char toTitleCase(char);

ps int digit(char, int);

ps boolean isSpace(char);

ps char forDigit(int, int);

* char value;

p Character(char);

p char charValue();

p int hashCode();

p boolean equals(Object);

p String toString();

}

=== (Character)

========== Class

public final

class Class {

* Class();

psn Class forName(String) throws ClassNotFoundException;

pn Object newInstance() throws InstantiationException,

IllegalAccessException;

pn String getName();

pn Class getSuperclass();

pn Class getInterfaces()[];

pn ClassLoader getClassLoader();

pn boolean isInterface();

p String toString();

}

=== (Class)

========== ClassCastException

public

class ClassCastException extends RuntimeException {

p ClassCastException();

p ClassCastException(String);

}

=== (ClassCastException)

========== ClassCircularityError

public

class ClassCircularityError extends LinkageError {

p ClassCircularityError();

p ClassCircularityError(String);

}

=== (ClassCircularityError)

========== ClassFormatError

public

class ClassFormatError extends LinkageError {

p ClassFormatError();

p ClassFormatError(String);

}

=== (ClassFormatError)

========== ClassLoader

public abstract

class ClassLoader {

* boolean initialized = false;

# ClassLoader();

#a Class loadClass(String, boolean)

throws ClassNotFoundException;

#f Class defineClass(byte [], int, int);

#f void resolveClass(Class);

#f Class findSystemClass(String)

throws ClassNotFoundException;

*n void init();

*n Class defineClass0(byte [], int, int);

*n void resolveClass0(Class);

*n Class findSystemClass0(String)

throws ClassNotFoundException;

* void check();

}

=== (ClassLoader)

========== ClassNotFoundException

public

class ClassNotFoundException extends Exception {

p ClassNotFoundException();

p ClassNotFoundException(String);

}

=== (ClassNotFoundException)

========== CloneNotSupportedException

public

class CloneNotSupportedException extends Exception {

p CloneNotSupportedException();

p CloneNotSupportedException(String);

}

=== (CloneNotSupportedException)

========== Cloneable

public

interface Cloneable {

}

=== (Cloneable)

========== Compiler

public final

class Compiler {

* Compiler();

*sn void initialize();

static { ... }

psn boolean compileClass(Class);

psn boolean compileClasses(String);

psn Object command(Object);

psn void enable();

psn void disable();

}

=== (Compiler)

========== Double

public final

class Double extends Number {

psf double POSITIVE_INFINITY = 1.0 / 0.0;

psf double NEGATIVE_INFINITY = -1.0 / 0.0;

psf double NaN = 0.0d / 0.0;

psf double MAX_VALUE = 1.79769313486231570e+308;

psf double MIN_VALUE = 2.2250738585072014E-308;

psn String toString(double);

psn Double valueOf(String) throws NumberFormatException;

ps boolean isNaN(double);

ps boolean isInfinite(double);

* double value;

p Double(double);

p Double(String) throws NumberFormatException;

p boolean isNaN();

p boolean isInfinite();

p String toString();

p int intValue();

p long longValue();

p float floatValue();

p double doubleValue();

p int hashCode();

p boolean equals(Object);

psn long doubleToLongBits(double);

psn double longBitsToDouble(long);

}

=== (Double)

========== Error

public

class Error extends Throwable {

p Error();

p Error(String);

}

=== (Error)

========== Exception

public

class Exception extends Throwable {

p Exception();

p Exception(String);

}

=== (Exception)

========== Float

public final

class Float extends Number {

psf float POSITIVE_INFINITY = 1.0f / 0.0f;

psf float NEGATIVE_INFINITY = -1.0f / 0.0f;

psf float NaN = 0.0f / 0.0f;

psf float MAX_VALUE = 3.40282346638528860e+38f;

psf float MIN_VALUE = 1.40129846432481707e-45f;

psn String toString(float);

psn Float valueOf(String) throws NumberFormatException;

ps boolean isNaN(float);

ps boolean isInfinite(float);

* float value;

p Float(float);

p Float(double);

p Float(String) throws NumberFormatException;

p boolean isNaN();

p boolean isInfinite();

p String toString();

p int intValue();

p long longValue();

p float floatValue();

p double doubleValue();

p int hashCode();

p boolean equals(Object);

psn int floatToIntBits(float);

psn float intBitsToFloat(int);

}

=== (Float)

========== IllegalAccessError

public

class IllegalAccessError

extends IncompatibleClassChangeError {

p IllegalAccessError();

p IllegalAccessError(String);

}

=== (IllegalAccessError)

========== IllegalAccessException

public

class IllegalAccessException extends Exception {

p IllegalAccessException();

p IllegalAccessException(String);

}

=== (IllegalAccessException)

========== IllegalArgumentException

public

class IllegalArgumentException extends RuntimeException {

p IllegalArgumentException();

p IllegalArgumentException(String);

}

=== (IllegalArgumentException)

========== IllegalMonitorStateException

public

class IllegalMonitorStateException

extends RuntimeException {

p IllegalMonitorStateException();

p IllegalMonitorStateException(String);

}

=== (IllegalMonitorStateException)

========== IllegalThreadStateException

public

class IllegalThreadStateException

extends IllegalArgumentException {

p IllegalThreadStateException();

p IllegalThreadStateException(String);

}

=== (IllegalThreadStateException)

========== IncompatibleClassChangeError

public

class IncompatibleClassChangeError extends LinkageError {

p IncompatibleClassChangeError();

p IncompatibleClassChangeError(String);

}

=== (IncompatibleClassChangeError)

========== IndexOutOfBoundsException

public

class IndexOutOfBoundsException extends RuntimeException {

p IndexOutOfBoundsException();

p IndexOutOfBoundsException(String);

}

=== (IndexOutOfBoundsException)

========== InstantiationError

public

class InstantiationError

extends IncompatibleClassChangeError {

p InstantiationError();

p InstantiationError(String);

}

=== (InstantiationError)

========== InstantiationException

public

class InstantiationException extends Exception {

p InstantiationException();

p InstantiationException(String);

}

=== (InstantiationException)

========== Integer

public final

class Integer extends Number {

psf int MIN_VALUE = 0x80000000;

psf int MAX_VALUE = 0x7fffffff;

ps String toString(int, int);

ps String toHexString(int);

ps String toOctalString(int);

ps String toBinaryString(int);

*s String toUnsignedString(int, int);

ps String toString(int);

ps int parseInt(String, int)

throws NumberFormatException;

ps int parseInt(String) throws NumberFormatException;

ps Integer valueOf(String, int)

throws NumberFormatException;

ps Integer valueOf(String) throws NumberFormatException;

* int value;

p Integer(int);

p Integer(String) throws NumberFormatException;

p int intValue();

p long longValue();

p float floatValue();

p double doubleValue();

p String toString();

p int hashCode();

p boolean equals(Object);

ps Integer getInteger(String);

ps Integer getInteger(String, int);

ps Integer getInteger(String, Integer);

*s Integer decode(String) throws NumberFormatException;

}

=== (Integer)

========== InternalError

public

class InternalError extends VirtualMachineError {

p InternalError();

p InternalError(String);

}

=== (InternalError)

========== InterruptedException

public

class InterruptedException extends Exception {

p InterruptedException();

p InterruptedException(String);

}

=== (InterruptedException)

========== LinkageError

public

class LinkageError extends Error {

p LinkageError();

p LinkageError(String);

}

=== (LinkageError)

========== Long

public final

class Long extends Number {

psf long MIN_VALUE = 0x8000000000000000L;

psf long MAX_VALUE = 0x7fffffffffffffffL;

ps String toString(long, int);

ps String toHexString(long);

ps String toOctalString(long);

ps String toBinaryString(long);

*s String toUnsignedString(long, int);

ps String toString(long);

ps long parseLong(String, int)

throws NumberFormatException;

ps long parseLong(String) throws NumberFormatException;

ps Long valueOf(String, int)

throws NumberFormatException;

ps Long valueOf(String) throws NumberFormatException;

* long value;

p Long(long);

p Long(String) throws NumberFormatException;

p int intValue();

p long longValue();

p float floatValue();

p double doubleValue();

p String toString();

p int hashCode();

p boolean equals(Object);

ps Long getLong(String);

ps Long getLong(String, long);

ps Long getLong(String, Long);

}

=== (Long)

========== Math

public final

class Math {

* Math();

psf double E = 2.7182818284590452354;

psf double PI = 3.14159265358979323846;

psn double sin(double);

psn double cos(double);

psn double tan(double);

psn double asin(double);

psn double acos(double);

psn double atan(double);

psn double exp(double);

psn double log(double);

psn double sqrt(double);

psn double IEEEremainder(double, double);

psn double ceil(double);

psn double floor(double);

psn double rint(double);

psn double atan2(double, double);

psn double pow(double, double);

ps int round(float);

ps long round(double);

*s Random randomNumberGenerator;

ps! double random();

ps int abs(int);

ps long abs(long);

ps float abs(float);

ps double abs(double);

ps int max(int, int);

ps long max(long, long);

ps float max(float, float);

ps double max(double, double);

ps int min(int, int);

ps long min(long, long);

ps float min(float, float);

ps double min(double, double);

}

=== (Math)

========== NegativeArraySizeException

public

class NegativeArraySizeException extends RuntimeException {

p NegativeArraySizeException();

p NegativeArraySizeException(String);

}

=== (NegativeArraySizeException)

========== NoClassDefFoundError

public

class NoClassDefFoundError extends LinkageError {

p NoClassDefFoundError();

p NoClassDefFoundError(String);

}

=== (NoClassDefFoundError)

========== NoSuchFieldError

public

class NoSuchFieldError

extends IncompatibleClassChangeError {

p NoSuchFieldError();

p NoSuchFieldError(String);

}

=== (NoSuchFieldError)

========== NoSuchMethodError

public

class NoSuchMethodError

extends IncompatibleClassChangeError {

p NoSuchMethodError();

p NoSuchMethodError(String);

}

=== (NoSuchMethodError)

========== NoSuchMethodException

public

class NoSuchMethodException extends Exception {

p NoSuchMethodException();

p NoSuchMethodException(String);

}

=== (NoSuchMethodException)

========== NullPointerException

public

class NullPointerException extends RuntimeException {

p NullPointerException();

p NullPointerException(String);

}

=== (NullPointerException)

========== Number

public abstract

class Number {

pa int intValue();

pa long longValue();

pa float floatValue();

pa double doubleValue();

}

=== (Number)

========== NumberFormatException

public

class NumberFormatException

extends IllegalArgumentException {

p NumberFormatException();

p NumberFormatException(String);

}

=== (NumberFormatException)

========== Object

public

class Object {

pnf Class getClass();

pn int hashCode();

p boolean equals(Object);

#n Object clone() throws CloneNotSupportedException;

p String toString();

pnf void notify();

pnf void notifyAll();

pnf void wait(long) throws InterruptedException;

pf void wait(long, int) throws InterruptedException;

pf void wait() throws InterruptedException;

# void finalize() throws Throwable;

}

=== (Object)

========== OutOfMemoryError

public

class OutOfMemoryError extends VirtualMachineError {

p OutOfMemoryError();

p OutOfMemoryError(String);

}

=== (OutOfMemoryError)

========== Process

public abstract

class Process {

pa OutputStream getOutputStream();

pa InputStream getInputStream();

pa InputStream getErrorStream();

pa int waitFor() throws InterruptedException;

pa int exitValue();

pa void destroy();

}

=== (Process)

========== Runnable

public

interface Runnable {

pa void run();

}

=== (Runnable)

========== Runtime

public

class Runtime {

*s Runtime currentRuntime = new Runtime();

ps Runtime getRuntime();

* Runtime();

*n void exitInternal(int);

p void exit(int);

*n Process execInternal(String [], String [])

throws IOException;

p Process exec(String) throws IOException;

p Process exec(String, String []) throws IOException;

p Process exec(String []) throws IOException;

p Process exec(String [], String [])

throws IOException;

pn long freeMemory();

pn long totalMemory();

pn void gc();

pn void runFinalization();

pn void traceInstructions(boolean);

pn void traceMethodCalls(boolean);

*n! String initializeLinkerInternal();

*n String buildLibName(String, String);

*n boolean loadFileInternal(String);

* String paths[];

* void initializeLinker();

p! void load(String);

p! void loadLibrary(String);

p InputStream getLocalizedInputStream(InputStream);

p OutputStream getLocalizedOutputStream(OutputStream);

}

=== (Runtime)

========== RuntimeException

public

class RuntimeException extends Exception {

p RuntimeException();

p RuntimeException(String);

}

=== (RuntimeException)

========== SecurityException

public

class SecurityException extends RuntimeException {

p SecurityException();

p SecurityException(String);

}

=== (SecurityException)

========== SecurityManager

public abstract

class SecurityManager {

# boolean inCheck;

p boolean getInCheck();

# SecurityManager();

#n Class[] getClassContext();

#n ClassLoader currentClassLoader();

#n int classDepth(String);

#n int classLoaderDepth();

# boolean inClass(String);

# boolean inClassLoader();

p Object getSecurityContext();

p void checkCreateClassLoader();

p void checkAccess(Thread);

p void checkAccess(ThreadGroup);

p void checkExit(int);

p void checkExec(String);

p void checkLink(String);

p void checkRead(FileDescriptor);

p void checkRead(String);

p void checkRead(String, Object);

p void checkWrite(FileDescriptor);

p void checkWrite(String);

p void checkDelete(String);

p void checkConnect(String, int);

p void checkConnect(String, int, Object);

p void checkListen(int);

p void checkAccept(String, int);

p void checkPropertiesAccess();

p void checkPropertyAccess(String);

p void checkPropertyAccess(String, String);

p boolean checkTopLevelWindow(Object);

p void checkPackageAccess(String);

p void checkPackageDefinition(String);

p void checkSetFactory();

}

=== (SecurityManager)

========== StackOverflowError

public

class StackOverflowError extends VirtualMachineError {

p StackOverflowError();

p StackOverflowError(String);

}

=== (StackOverflowError)

========== String

public final

class String {

* char value[];

* int offset;

* int count;

p String();

p String(String);

p String(char []);

p String(char [], int, int);

p String(byte [], int, int, int);

p String(byte [], int);

p String(StringBuffer);

* String(int, int, char []);

p int length();

p char charAt(int);

p void getChars(int, int, char [], int);

p void getBytes(int, int, byte [], int);

p boolean equals(Object);

p boolean equalsIgnoreCase(String);

p int compareTo(String);

p boolean regionMatches(int, String, int, int);

p boolean regionMatches(boolean, int,

String, int, int);

p boolean startsWith(String, int);

p boolean startsWith(String);

p boolean endsWith(String);

p int hashCode();

p int indexOf(int);

p int indexOf(int, int);

p int lastIndexOf(int);

p int lastIndexOf(int, int);

p int indexOf(String);

p int indexOf(String, int);

p int lastIndexOf(String);

p int lastIndexOf(String, int);

p String substring(int);

p String substring(int, int);

p String concat(String);

p String replace(char, char);

p String toLowerCase();

p String toUpperCase();

p String trim();

p String toString();

p char[] toCharArray();

ps String valueOf(Object);

ps String valueOf(char []);

ps String valueOf(char [], int, int);

ps String copyValueOf(char [], int, int);

ps String copyValueOf(char []);

ps String valueOf(boolean);

ps String valueOf(char);

ps String valueOf(int);

ps String valueOf(long);

ps String valueOf(float);

ps String valueOf(double);

*s Hashtable InternSet;

p String intern();

int utfLength();

}

=== (String)

========== StringBuffer

public final

class StringBuffer {

* char value[];

* int count;

* boolean shared;

p StringBuffer();

p StringBuffer(int);

p StringBuffer(String);

p int length();

p int capacity();

*f void copyWhenShared();

p! void ensureCapacity(int);

p! void setLength(int);

p! char charAt(int);

p! void getChars(int, int, char [], int);

p! void setCharAt(int, char);

p! StringBuffer append(Object);

p! StringBuffer append(String);

p! StringBuffer append(char []);

p! StringBuffer append(char [], int, int);

p StringBuffer append(boolean);

p! StringBuffer append(char);

p StringBuffer append(int);

p StringBuffer append(long);

p StringBuffer append(float);

p StringBuffer append(double);

p! StringBuffer insert(int, Object);

p! StringBuffer insert(int, String);

p! StringBuffer insert(int, char []);

p StringBuffer insert(int, boolean);

p! StringBuffer insert(int, char);

p StringBuffer insert(int, int);

p StringBuffer insert(int, long);

p StringBuffer insert(int, float);

p StringBuffer insert(int, double);

p! StringBuffer reverse();

p String toString();

f void setShared();

f char[] getValue();

}

=== (StringBuffer)

========== StringIndexOutOfBoundsException

public

class StringIndexOutOfBoundsException

extends IndexOutOfBoundsException {

p StringIndexOutOfBoundsException();

p StringIndexOutOfBoundsException(String);

p StringIndexOutOfBoundsException(int);

}

=== (StringIndexOutOfBoundsException)

========== System

public final

class System {

* System();

ps InputStream in;

ps PrintStream out;

ps PrintStream err;

static { ... }

*s SecurityManager security;

ps void setSecurityManager(SecurityManager);

ps SecurityManager getSecurityManager();

psn long currentTimeMillis();

psn void arraycopy(Object, int, Object, int, int);

*s Properties props;

*sn Properties initProperties(Properties);

ps Properties getProperties();

ps void setProperties(Properties);

ps String getProperty(String);

ps String getProperty(String, String);

ps String getenv(String);

ps void exit(int);

ps void gc();

ps void runFinalization();

ps void load(String);

ps void loadLibrary(String);

}

=== (System)

========== Thread

public

class Thread implements Runnable {

* char name[];

* int priority;

* Thread threadQ;

* int PrivateInfo;

* int eetop;

* boolean single_step;

* boolean daemon = false;

* boolean stillborn = false;

* Runnable target;

* boolean interruptRequested = false;

*s Thread activeThreadQ;

* ThreadGroup group;

*s int threadInitNumber;

*s! int nextThreadNum();

psf int MIN_PRIORITY = 1;

psf int NORM_PRIORITY = 5;

psf int MAX_PRIORITY = 10;

psn Thread currentThread();

psn void yield();

psn void sleep(long) throws InterruptedException;

ps void sleep(long, int) throws InterruptedException;

* void init(ThreadGroup, Runnable, String);

p Thread();

p Thread(Runnable);

p Thread(ThreadGroup, Runnable);

p Thread(String);

p Thread(ThreadGroup, String);

p Thread(Runnable, String);

p Thread(ThreadGroup, Runnable, String);

pn! void start();

p void run();

* void exit();

pf void stop();

pf! void stop(Throwable);

p void interrupt();

ps boolean interrupted();

p boolean isInterrupted();

p void destroy();

pnf boolean isAlive();

pf void suspend();

pf void resume();

pf void setPriority(int);

pf int getPriority();

pf void setName(String);

pf String getName();

pf ThreadGroup getThreadGroup();

ps int activeCount();

ps int enumerate(Thread []);

pn int countStackFrames();

pf! void join(long) throws InterruptedException;

pf! void join(long, int) throws InterruptedException;

pf void join() throws InterruptedException;

ps void dumpStack();

pf void setDaemon(boolean);

pf boolean isDaemon();

p void checkAccess();

p String toString();

*n void setPriority0(int);

*n void stop0(Object);

*n void suspend0();

*n void resume0();

}

=== (Thread)

========== ThreadDeath

public

class ThreadDeath extends Error {

}

=== (ThreadDeath)

========== ThreadGroup

public

class ThreadGroup {

ThreadGroup parent;

String name;

int maxPriority;

boolean destroyed;

boolean daemon;

int nthreads;

Thread threads[];

int ngroups;

ThreadGroup groups[];

* ThreadGroup();

p ThreadGroup(String);

p ThreadGroup(ThreadGroup, String);

pf String getName();

pf ThreadGroup getParent();

pf int getMaxPriority();

pf boolean isDaemon();

pf void setDaemon(boolean);

pf! void setMaxPriority(int);

pf boolean parentOf(ThreadGroup);

pf void checkAccess();

p! int activeCount();

p int enumerate(Thread []);

p int enumerate(Thread [], boolean);

*! int enumerate(Thread [], int, boolean);

p! int activeGroupCount();

p int enumerate(ThreadGroup []);

p int enumerate(ThreadGroup [], boolean);

*! int enumerate(ThreadGroup [], int, boolean);

pf! void stop();

pf! void suspend();

pf! void resume();

pf! void destroy();

*f! void add(ThreadGroup);

*! void remove(ThreadGroup);

! void add(Thread);

! void remove(Thread);

p! void list();

void list(PrintStream, int);

p void uncaughtException(Thread, Throwable);

p String toString();

}

=== (ThreadGroup)

========== Throwable

public

class Throwable {

* Object backtrace;

* String detailMessage;

p Throwable();

p Throwable(String);

p String getMessage();

p String toString();

p void printStackTrace();

p void printStackTrace(java.io.PrintStream);

*n void printStackTrace0(java.io.PrintStream);

pn Throwable fillInStackTrace();

}

=== (Throwable)

========== UnknownError

public

class UnknownError extends VirtualMachineError {

p UnknownError();

p UnknownError(String);

}

=== (UnknownError)

========== UnsatisfiedLinkError

public

class UnsatisfiedLinkError extends LinkageError {

p UnsatisfiedLinkError();

p UnsatisfiedLinkError(String);

}

=== (UnsatisfiedLinkError)

========== VerifyError

public

class VerifyError extends LinkageError {

p VerifyError();

p VerifyError(String);

}

=== (VerifyError)

========== VirtualMachineError

abstract public

class VirtualMachineError extends Error {

p VirtualMachineError();

p VirtualMachineError(String);

}

=== (VirtualMachineError)

Pakiet java.util

BitSet

Date

Dictionary

EmptyStackException

Enumeration

Hashtable

NoSuchElementException

Observable

Observer

Properties

Random

Stack

StringTokenizer

Vector

========== BitSet

public final

class BitSet implements Cloneable {

sf int BITS = 6;

sf int MASK = (1<<BITS)-1;

long bits[];

p BitSet();

p BitSet(int);

* void grow(int);

p void set(int);

p void clear(int);

p boolean get(int);

p void and(BitSet);

p void or(BitSet);

p void xor(BitSet);

p int hashCode();

p int size();

p boolean equals(Object);

p Object clone();

p String toString();

}

=== (BitSet)

========== Date

public

class Date {

* long value;

* boolean valueValid;

* boolean expanded;

* short tm_millis;

* byte tm_sec;

* byte tm_min;

* byte tm_hour;

* byte tm_mday;

* byte tm_mon;

* byte tm_wday;

* short tm_yday;

* int tm_year;

* int tm_isdst;

p Date();

p Date(long);

p Date(int, int, int);

p Date(int, int, int, int, int);

p Date(int, int, int, int, int, int);

p Date(String);

ps long UTC(int, int, int, int, int, int);

*s short monthOffset[] = { ... };

ps long parse(String);

*sf String wtb[] = { ... };

*sf int ttb[] = { ... };

p int getYear();

p void setYear(int);

p int getMonth();

p void setMonth(int);

p int getDate();

p void setDate(int);

p int getDay();

p int getHours();

p void setHours(int);

p int getMinutes();

p void setMinutes(int);

p int getSeconds();

p void setSeconds(int);

p long getTime();

p void setTime(long);

p boolean before(Date);

p boolean after(Date);

p boolean equals(Object);

p int hashCode();

pn String toString();

pn String toLocaleString();

pn String toGMTString();

p int getTimezoneOffset();

*n void expand();

*n void computeValue();

}

=== (Date)

========== Dictionary

public abstract

class Dictionary {

pa int size();

pa boolean isEmpty();

pa Enumeration keys();

pa Enumeration elements();

pa Object get(Object);

pa Object put(Object, Object);

pa Object remove(Object);

}

=== (Dictionary)

========== EmptyStackException

public

class EmptyStackException extends RuntimeException {

p EmptyStackException();

}

=== (EmptyStackException)

========== Enumeration

public

interface Enumeration {

boolean hasMoreElements();

Object nextElement();

}

=== (Enumeration)

========== HashtableEntry

class HashtableEntry {

int hash;

Object key;

Object value;

HashtableEntry next;

# Object clone();

}

=== (HashtableEntry)

========== Hashtable

public

class Hashtable extends Dictionary implements Cloneable {

* HashtableEntry table[];

* int count;

* int threshold;

* float loadFactor;

p Hashtable(int, float);

p Hashtable(int);

p Hashtable();

p int size();

p boolean isEmpty();

p! Enumeration keys();

p! Enumeration elements();

p! boolean contains(Object);

p! boolean containsKey(Object);

p! Object get(Object);

# void rehash();

p! Object put(Object, Object);

p! Object remove(Object);

p! void clear();

p! Object clone();

p! String toString();

}

=== (Hashtable)

========== HashtableEnumerator

class HashtableEnumerator implements Enumeration {

boolean keys;

int index;

HashtableEntry table[];

HashtableEntry entry;

HashtableEnumerator(HashtableEntry [], boolean);

p boolean hasMoreElements();

p Object nextElement();

}

=== (HashtableEnumerator)

========== NoSuchElementException

public

class NoSuchElementException extends RuntimeException {

p NoSuchElementException();

p NoSuchElementException(String);

}

=== (NoSuchElementException)

========== ObserverList

class ObserverList extends Vector {

p void notifyObservers(Observable, Object);

}

=== (ObserverList)

========== Observable

public

class Observable {

* boolean changed = false;

* Object obs;

p! void addObserver(Observer);

p! void deleteObserver(Observer);

p void notifyObservers();

p! void notifyObservers(Object);

p! void deleteObservers();

#! void setChanged();

#! void clearChanged();

p! boolean hasChanged();

p! int countObservers();

}

=== (Observable)

========== Observer

public

interface Observer {

void update(Observable, Object);

}

=== (Observer)

========== Properties

public

class Properties extends Hashtable {

# Properties defaults;

p Properties();

p Properties(Properties);

p! void load(InputStream) throws IOException;

p! void save(OutputStream, String);

p String getProperty(String);

p String getProperty(String, String);

p Enumeration propertyNames();

p void list(PrintStream);

*! void enumerate(Hashtable);

}

=== (Properties)

========== Random

public

class Random {

* long seed;

*sf long multiplier = 0x5DEECE66DL;

*sf long addend = 0xBL;

*sf long mask = (1L << 48) - 1;

p Random();

p Random(long);

p! void setSeed(long);

*! int next(int);

p int nextInt();

p long nextLong();

p float nextFloat();

p double nextDouble();

* double nextNextGaussian;

* boolean haveNextNextGaussian = false;

p! double nextGaussian();

}

=== (Random)

========== Stack

public

class Stack extends Vector {

p Object push(Object);

p Object pop();

p Object peek();

p boolean empty();

p int search(Object);

}

=== (Stack)

========== StringTokenizer

public

class StringTokenizer implements Enumeration {

* int currentPosition;

* int maxPosition;

* String str;

* String delimiters;

* boolean retTokens;

p StringTokenizer(String, String, boolean);

p StringTokenizer(String, String);

p StringTokenizer(String);

* void skipDelimiters();

p boolean hasMoreTokens();

p String nextToken();

p String nextToken(String);

p boolean hasMoreElements();

p Object nextElement();

p int countTokens();

}

=== (StringTokenizer)

========== Vector

public

class Vector implements Cloneable {

# Object elementData[];

# int elementCount;

# int capacityIncrement;

p Vector(int, int);

p Vector(int);

p Vector();

pf! void copyInto(Object []);

pf! void trimToSize();

pf! void ensureCapacity(int);

pf! void setSize(int);

pf int capacity();

pf int size();

pf boolean isEmpty();

pf! Enumeration elements();

pf boolean contains(Object);

pf int indexOf(Object);

pf! int indexOf(Object, int);

pf int lastIndexOf(Object);

pf! int lastIndexOf(Object, int);

pf! Object elementAt(int);

pf! Object firstElement();

pf! Object lastElement();

pf! void setElementAt(Object, int);

pf! void removeElementAt(int);

pf! void insertElementAt(Object, int);

pf! void addElement(Object);

pf! boolean removeElement(Object);

pf! void removeAllElements();

p! Object clone();

pf! String toString();

}

=== (Vector)

========== VectorEnumerator

final

class VectorEnumerator implements Enumeration {

Vector vector;

int count;

VectorEnumerator(Vector);

p boolean hasMoreElements();

p Object nextElement();

}

=== (VectorEnumerator)



Wyszukiwarka

Podobne podstrony:
KOCHAM CI%c4%98 w 200 j%c4%99zykach(1)
jŕzyk prawny i prawniczy, I ROK, Prawoznawstwo
regresje i zaleĹĽnosci statystyczne, Twierdzenia statystyczne dotycz˙ce zale˙no˙ci mi˙dzy zmienymi s
C & C++ Wyklady Politechnika Wroclawska 1 rok informatyki, W03 instrukcje iteracyjne, 2 Wyk?ad: J?zy
materialy do wykladow z jezykoznawstwa Jŕzykoznawstwo ogˇlne A glossematyka
materialy do wykladow z jezykoznawstwa Jŕzykoznawstwo ogˇlne A wstep
materialy do wykladow z jezykoznawstwa Jŕzykoznawstwo ogˇlne A szk praska
Jŕzyk i gard-o, weterynaria, I semestr, Anatomia i fizjologia
Zabawy logopedyczne i wierszyki │ami▒ce jŕzyki
Kultura Języka, CO TO JEST KULTURA J˙ZYKA
materialy do wykladow z jezykoznawstwa Jŕzykoznawstwo ogˇlne A deskryptywizm
Jŕzykoznawstwo ogˇlne A-semantyka sk│adnikowa
m opiccs, 2. Opis j˙zyka CCS.
Jŕzykoznawstwo ogˇlne A semantyka sk│adnikowa
Odmiany Ârodowiskowe i zawodowe jŕzyka polskiego
Jŕzyk a dyskryminacja prezentacja

więcej podobnych podstron