Package edu.pdx.cs410J.core


package edu.pdx.cs410J.core

This package contains classes that demonstrate Java's core API.

Some Core API resources:

  • Classes
    Class
    Description
    This class represents a box of cereal.
    Compares two boxes of ceral by their price
    This class demonstrates several of the collection classes.
    This class is a FileFilter that only accepts files that are directories.
    This classes demonstrates Maps in the collection classes.
    This program demonstrates File, FileFilter, and FilenameFilter by searching recursively through directories and printing out the names of Java source files.
    This class is a FilenameFilter that only accepts files that end in .java.
    This program demonstrates what happens when you modify a collection while iterating over it.
    This classes parses strings from the command line using a StringTokenizer.
    This class is a Comparator that compares Persons based on their shoe size.
    This class demonstrates object serialization by reading an instance of Date from a file.
    This program takes a file whose name is given on the command line and reads doubles from it.
    This program reads text from the console until the user enters -1 at which point it prints what the user has entered.
    This class demonstrates the Properties class and shows how to use the JVM's system properties.
    Demonstrates how wrapper objects can be used to store primitive values in a collection.
    This program reads doubles from the command line and writes them to a file.
    This program writes the arguments from the command line to a text file.
    This program does the same thing as WriteToFile but uses the new "try with resource" language feature of Java 7.
    This program writes the arguments from the command line to a text file.