SDSU CS 596 Client-Server Programming
Method Summary

[To Lecture Notes Index]
San Diego State University -- This page last updated February 15, 1996
----------

Contents of Method Summary Lecture

    1. API - Method Summary
      1. Integer, Long, Float, Double
      2. Vector Methods
      3. Enumeration Methods
      4. Stack Methods
      5. Hashtable Methods
      6. Random Methods
      7. StringTokenizer Methods
      8. PrintStream Methods
      9. File Methods
      10. FileInputStream Methods
      11. FileOutputStream Methods
      12. ASCIIInputStream Method
      13. Frame
      14. Graphics Methods

API - Method Summary


String Methods
charAt(int)indexOf(String)toLowerCase()
compareTo(String)lastIndexOf(String)toUpperCase()
concat(String)length()trim()
copyValueOf(char[])regionMatches(int,String,int,int)valueOf(int)
endsWith(String)replace(char,char)valueOf(long)
equals(Object)startsWith(String)valueOf(float)
equalsIgnoreCase(String)substring(int,int)valueOf(double)
getChars(int,int,char[],int)toCharArray()

Integer, Long, Float, Double

doubleValue()intValue()toString()
equals(Object)longValue()valueOf(String)
floatValue()

Vector Methods

addElement(Object) indexOf(Object) removeElement(Object)
capacity() insertElementAt(Object, int) removeElementAt(int)
clone() isEmpty() setElementAt(Object, int)
contains(Object) lastElement() setsize(int)
copyInto(Object[]) lastIndexOf(Object) size()
elementAt(int) lastIndexOf(Object, int) toString()
elements() removeAllElements() trimTosize()
firstElement()

Enumeration Methods

hasMoreElements() nextElement()

Stack Methods

empty() peek() pop() push(Object)search(Object)


Hashtable Methods

clear()get(Object)rehash()
clone()isEmpty()remove(Object)
contains(Object)keys()size()
containsKey(Object)put(Object, Object)toString()
elements()

Random Methods

nextDouble() nextInt()
nextFloat() nextLong()
nextGaussian() setSeed(long)

StringTokenizer Methods

countTokens() nextElement()
hasMoreElements() nextToken()
hasMoreTokens() nextToken(String)

PrintStream Methods

checkError()print(int) println(double)
close()print(long) println(float)
flush()print(Object) println(int)
print(boolean)print(String) println(long)
print(char)println() println(Object)
print(char[])println(boolean) println(String)
print(double)println(char) write(byte[], int, int)
print(float)println(char[]) write(int)

File Methods

canRead()getParent() length()
canWrite()getPath() list()
delete()hashCode() list(FilenameFilter)
equals(Object)isAbsolute() mkdir()
exists()isDirectory() mkdirs()
getAbsolutePath()isFile() renameTo(File)
getName()lastModified() toString()

FileInputStream Methods

available() read()
close() read(byte[])
finalize() read(byte[], int, int)
getFD() skip(long)

FileOutputStream Methods

close() write(byte[])
finalize() write(byte[], int, int)
getFD() write(int)

ASCIIInputStream Method

bad()readChar() readLong()
eof()readDouble() readShort()
flushLine()readFloat() readUnsignedByte()
read(byte[])readFully(byte[]) readUnsignedShort()
read(byte[], int, int)readFully(byte[], int, int) readUTF()
readBoolean()readInt() readWord()
readByte()readLine() skipBytes(int)

Frame

Frame Public Variables
CROSSHAIR_CURSOR NW_RESIZE_CURSOR
DEFAULT_CURSOR S_RESIZE_CURSOR
E_RESIZE_CURSOR SE_RESIZE_CURSOR
HAND_CURSOR SW_RESIZE_CURSOR
MOVE_CURSOR TEXT_CURSOR
N_RESIZE_CURSOR W_RESIZE_CURSOR
NE_RESIZE_CURSOR WAIT_CURSOR
Frame Methods
addNotify() paramString()
dispose() remove(MenuComponent)
getCursorType() setCursor(int)
getIconImage() setIconImage(Image)
getMenuBar() setMenuBar(MenuBar)
getTitle() setResizable(boolean)
isResizable() setTitle(String)

Graphics Methods

clearRect(int, int, int, int) drawString(String, int, int)
clipRect(int, int, int, int) fill3DRect(int, int, int, int, boolean)
copyArea(int, int, int, int, int, int) fillArc(int, int, int, int, int, int)
create() fillOval(int, int, int, int)
create(int, int, int, int) fillPolygon(int[], int[], int)
dispose() fillPolygon(Polygon)
draw3DRect(int, int, int, int, boolean) fillRect(int, int, int, int)
drawArc(int, int, int, int, int, int) fillRoundRect(int, int, int, int, int, int)
drawBytes(byte[], int, int, int, int) finalize()
drawChars(char[], int, int, int, int) getClipRect()
drawImage(Image, int, int, Color, ImageObserver) getColor()
drawImage(Image, int, int, ImageObserver) getFont()
drawImage(Image, int, int, int, int, Color, ImageObserver) getFontMetrics()
drawImage(Image, int, int, int, int, ImageObserver) getFontMetrics(Font)
drawLine(int, int, int, int) setColor(Color)
drawOval(int, int, int, int) setFont(Font)
drawPolygon(int[], int[], int) setPaintMode()
drawPolygon(Polygon) setXORMode(Color)
drawRect(int, int, int, int) toString()
drawRoundRect(int, int, int, int, int, int) translate(int, int)


----------