# Search:

Type: Posts; User: R2B Boondocks

## Search: Search took 0.21 seconds.

by R2B Boondocks
Replies
10
Views
275

### Re: Operator Substituion

Alright thank you, I will try to work it out further.

by R2B Boondocks
Replies
10
Views
275

### Re: Operator Substituion

I switched to using replaceFirst() instead of replace(). This is rather presumptuous as you could very well have something like:

(x / y) / z; in source code.

Any thoughts on how to work out...

by R2B Boondocks
Replies
10
Views
275

### Re: Operator Substituion

Sure.

Input: String test = "z = x / y; // This line sets z to the result of x divided by y."
swapDivide(test);
Output: z = x * y; **This line sets z to the result of x divided by y.

The...

by R2B Boondocks
Replies
10
Views
275

### Re: Operator Substituion

That statement was a great help....it helped me realize my responsibility was to just create methods to handle the operator swaps! Here is what I have so far now but have a couple more issues if you...

by R2B Boondocks
Replies
10
Views
275

### Re: Operator Substituion

Easiest step first....what the output should be:

Say this is your original file:
z = x + y;
c = a + b;
h = j + k;

Output should save each change as a new file:
Mutation1.java
z = x - y;

by R2B Boondocks
Replies
10
Views
275

### Operator Substituion

Hi all,

I need some help asap please. I have been trying to get this working for over a week. My goals:

1) Have some source file be read in
2) Specify what arithmetic operators to swap (+, -,...
7. ## Thread: Need help finishing class methods

by R2B Boondocks
Replies
7
Views
398

### Re: Need help finishing class methods

Alright. A good place to start would be: Are there any algorithms out there that would help me complete the following two methods?:

/**
* Determines whether a given piece of glass would fit...
8. ## Thread: Need help finishing class methods

by R2B Boondocks
Replies
7
Views
398

Anyone?
9. ## Thread: Need help finishing class methods

by R2B Boondocks
Replies
7
Views
398

### Re: Need help finishing class methods

Apologies guys. Here is example output and directions. (Note: The "errors" I get is that every input.txt I give it, the program tells me it can't be done when I know it should be able to)
...
10. ## Thread: Need help finishing class methods

by R2B Boondocks
Replies
7
Views
398

### Re: Need help finishing class methods

Sorry! The question would be what is wrong with my methods in Hole.java? I wrote everything below the //your code here lines in each method.
11. ## Thread: Need help finishing class methods

by R2B Boondocks
Replies
7
Views
398

### Need help finishing class methods

Hey guys,

I am new to Java and am having trouble finishing the class methods in Hole.java. I was provided reconstructor and glass. I was also told that the methods in glass are similar to those...

by R2B Boondocks
Replies
2
Views
265

### [SOLVED] Re: Intro

Ok thank you I will try again!