Skip to content

Instantly share code, notes, and snippets.

View KevinTyrrell's full-sized avatar
🎯
Focusing

Kevin Tyrrell KevinTyrrell

🎯
Focusing
  • San Jose, California
View GitHub Profile
# Analysis: I had a lot of fun re-designing assignment 7 in this assignment. I created a Rectangle2D class and made it so that the back-end communicated with the front end. When the back-end was updated, so was the front-end. The only problem at that point was making sure I only used the back-end variables are didn't touch the front end.
# Design: Made a Rectangle2D class. Allowed the front end variables to be setup inside that class. Finally, added the ability for the text input fields to directly have access to the last clicked rectangle.
# Coding: Please indent and format your code properly
from tkinter import *
class Rectangle2D:
/*
Make program which asks for student's names,
then when the user types "done",
prints them all out in the console window.
*/
import java.util.LinkedList;
import java.util.Scanner;
import java.util.Collections;
import java.util.LinkedList;
import java.util.Random;
import java.util.Stack;
class Toast
{
public static void main(String[] args)
{
final long SIMULATION_ATTEMPTS = 10000000L;
import java.util.Collections;
import java.util.LinkedList;
import java.util.Random;
import java.util.Stack;
class Toast
{
public static void main(String[] args)
{
final long SIMULATION_ATTEMPTS = 100000000L;
#include <stdlib.h>
#include <stdio.h>
#include "LinkedList.h"
static struct Node
{
void *data;
struct Node *next, *prev;
};
public interface Listener
{
public void fire();
}
List[] aidsArray = new Collection[10];
for (List i : aidsArray)
{
ListIterator iter = i.ListIterator();
while (iter.hasNext())
{
// operation here
}