Skip navigation links
A C D E F G H I L M N Q R S T W 

A

avg(int, int) - Static method in class eecs2030.lab1.Lab1
Compute the average of two values.

C

charFromEnd(String, int) - Static method in class eecs2030.lab1.Lab1
Returns the character n positions from the end of the string s.
compareTo(Range, Range) - Static method in class eecs2030.lab1.Lab1
Compares two Range instances by their widths.
contains(double, Range) - Static method in class eecs2030.lab1.Lab1
Determine if a value x is strictly inside the given Range.
COURSE_NAME - Static variable in class eecs2030.lab1.Lab1
The course name for EECS2030.

D

DEGREES_IN_CIRCLE - Static variable in class eecs2030.lab1.Lab1
The number of degrees in a circle.

E

eecs2030.lab1 - package eecs2030.lab1
 
equals(Object) - Method in class eecs2030.lab1.Range
Compares this Range to the specified Object.

F

frequency(List<String>, String) - Static method in class eecs2030.lab1.Lab1
Returns the number of strings in the list t that are equal to the target string.

G

getCourseName() - Static method in class eecs2030.lab1.Lab1
Returns the course name as the string.
getMaximum() - Method in class eecs2030.lab1.Range
Returns the maximum value of the range
getMinimum() - Method in class eecs2030.lab1.Range
Returns the minimum value of the range

H

hashCode() - Method in class eecs2030.lab1.Range
Returns a hash code for this range.

I

isEven(int) - Static method in class eecs2030.lab1.Lab1
Determine if an integer x is even.
isGradeA(double) - Static method in class eecs2030.lab1.Lab1
Returns true if the given grade in percent is equal to a letter grade of A, and false otherwise.
isGradeOutOfRange(double) - Static method in class eecs2030.lab1.Lab1
Returns true if the given grade in percent is outside the range of normal grades (less than 0 or greater than 100), and false otherwise.
isInsideUnitCircle(double, double) - Static method in class eecs2030.lab1.Lab1
Determine if the point (x, y) is inside the perimeter of a circle with center (0, 0) and having radius equal to 1.
isLeapYear(int) - Static method in class eecs2030.lab1.Lab1
Returns true if year is a leap year and false otherwise.
isPythagTriple(int, int, int) - Static method in class eecs2030.lab1.Lab1
Given three integers: a, b, and c; return true only if they can form a Pythagorean triple.

L

Lab1 - Class in eecs2030.lab1
Short methods reviewing fundamental Java concepts covered in EECS1021, EECS1022, and EECS1720

M

maxInt() - Static method in class eecs2030.lab1.Lab1
Returns the maximum (most positive) value that an int can represent.
minDouble() - Static method in class eecs2030.lab1.Lab1
Returns the minimum positive value greater than zero that a double can represent.

N

normal(double) - Static method in class eecs2030.lab1.Lab1
Computes the standard normal distribution probability density function (see the lab document for the actual formula).
numQuarters(int) - Static method in class eecs2030.lab1.Lab1
Returns the largest number of Canadian quarters (each worth 25 cents) whose total value does not exceed the given number of cents.

Q

QUARTER_VALUE - Static variable in class eecs2030.lab1.Lab1
The number of cents equal to a Canadian quarter coin.

R

Range - Class in eecs2030.lab1
A class that represents a range of values on the real number line.
Range() - Constructor for class eecs2030.lab1.Range
Create a range with minimum value 0 and a maximum value 100.
Range(double, double) - Constructor for class eecs2030.lab1.Range
Create a range with the specified minimum and maximum values.
repair(List<Integer>) - Static method in class eecs2030.lab1.Lab1
Sorts the elements of the list t so that the elements are in ascending order.

S

sort2(List<Integer>) - Static method in class eecs2030.lab1.Lab1
Sorts a list of two integers so that the elements are in descending order (largest to smallest).

T

toString(Range) - Static method in class eecs2030.lab1.Lab1
Returns a string representation of a Range that is different than the one returned by Range.toString.
toString() - Method in class eecs2030.lab1.Range
Returns the string representation of a range.

W

wrapAngle(int) - Static method in class eecs2030.lab1.Lab1
Wraps an angle given in degrees so that it lies in the range of -359 degrees to 359 degrees.
A C D E F G H I L M N Q R S T W 
Skip navigation links