How Software Gets Done  


Login

Software Buyers
Request bids
Search coders
My Buyer Account
Buyer help
Buyer articles
Buyer FAQ
Latest news
 
Software Coders
Newest open work
Browse all work
Search all work
My Coder Account
Coder help
Coder articles
Coder FAQ
Latest news
 
Affiliates
My Affiliate Account
Affiliate help
Affiliate FAQ
Latest news
 
Newest Bid Requests.
Read a Usenet Group on a web page
By corbing on Jul 10
Max Bid: Open to fair suggestions


Windows Service - Loads background Web page
By ironcladsecure on Jul 10
Max Bid: Open to fair suggestions


Cobol conversion
By 2good2 on Jul 10
Max Bid: Open to fair suggestions


Non-Profit web site backend DB
By stnwall on Jul 10
Max Bid: Open to fair suggestions


Professional Realty WebSite (<a href=" cool flash design needed FAST!(repost)
By adrianbye on Jul 10
Max Bid: Open to fair suggestions


Click here to put this ticker on your own site and/or get live RSS newsfeeds

Open Work Categories.
Database 
(138 open)
   Access 
(52 open)
   MySQL 
(83 open)
   Oracle 
(9 open)
   SQL Server 
(49 open)
   Other DB 
(17 open)
Documentation / Tech Writing 
(14 open)
Data Entry 
(21 open)
Game Development 
(24 open)
Graphics / Art / Music 
(46 open)
   Graphics 
(52 open)
     Adobe AfterEffects 
(1 open)
     Adobe Photoshop 
(15 open)
     Adobe Premiere 
(3 open)
     3d Animation 
(12 open)
   Art (Misc.) 
(19 open)
   Music 
(11 open)
   3d Modeling 
(13 open)
Language Specific 
(91 open)
   ASP 
(55 open)
   ASP .NET 
(35 open)
   C# 
(39 open)
   C++ / C 
(103 open)
   Carbon (Mac OS) 
(2 open)
   Cocoa / Obj-C 
(2 open)
   Cold Fusion 
(11 open)
   Delphi 
(26 open)
   Java 
(56 open)
   JSP 
(7 open)
   Perl 
(39 open)
   PHP 
(85 open)
   XML/XSL 
(29 open)
   Visual Basic 
(132 open)
   Visual Basic .Net 
(52 open)
   Other 
(53 open)
Misc 
(29 open)
   CAD 
(3 open)
MultiMedia 
(36 open)
   Video Editing 
(4 open)
Network 
(43 open)
   Network Design 
(11 open)
   Network Implementation 
(13 open)
Platforms 
(75 open)
   Windows 
(159 open)
     MS Exchange 
(6 open)
     MS Office 
(12 open)
     Other 
(15 open)
   Darwin 
(1 open)
   Internet Browser 
(40 open)
   Linux 
(60 open)
   UNIX 
(27 open)
   Hand Held/PDA Programming 
(8 open)
Requirements 
(13 open)
Security 
(27 open)
Testing / Quality Assurance 
(16 open)
Web 
(145 open)
   Page Design 
(77 open)
   Flash 
(36 open)
   Web Services 
(70 open)
   Web (Other) 
(73 open)
Training 
(12 open)
   Computer Based 
(11 open)
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

infix to postfix converter help
Bid Request Id: 11388
Bookmark in my 'To Do' list
Posted by: College_Student (5 ratings)
(Software buyer rating 10)
Non-action Ratio: Very Good - 16.67%
Buyer Security Verifications: Unverified
Approved on: Mar 20, 2002
10:40:55 PM EDT
Bidding Closes: Apr 3, 2002
10:57:03 PM EDT
Viewed (by coders): 235 times
Deadline: 3/22/2002
TIME EXPIRED
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: Java, Internet Browser
Enter chat room for this bid request
(1 active users at Jul 10, 2003 8:11:46 PM EDT)

Description:
Given the following modules of java code:

InfixToPostfixClient.java
InfixToPostfixConverter.java
Symbol.java
LinkedStackPT.java
StackPt.java


With the exception of InfixToPostfixConverter.java, all modules are complete and will compile. InfixToPostfixConverter.java is partially complete. Your assignment is to complete the methods, processOperator and popRest using Object Oriented Programming techniques.

The program must compile and work properly when finished.

Deliverables:
import java.util.StringTokenizer;

public class InfixToPostfixConverter {

private StackPT opStack; // operator stack for conversion
private StringTokenizer str; // the character stream
private String postfixExpression; // postfix string to be built and returned.

public InfixToPostfixConverter( String s )
{
str = new StringTokenizer( s ," "); // Instantiate a StringTokenizer Object.
postfixExpression = ""; // Initialize the postfix string.
opStack = new LinkedStackPT( ); // Instantiate the Stack.
opStack.push( new Symbol('_')); // Initialize the Stack.
}

public String getValue( )
{
Symbol currentSym;

while (str.hasMoreTokens())
{
char inputCh = str.nextToken().charAt(0); //Get the next char of input.
currentSym = new Symbol(inputCh); //Encapsulate it in a Symbol Object.
if (currentSym.isOperator())
processOperator(currentSym); //Process the operator.
else
postfixExpression += currentSym.getChar(); //Append to the output String.
}
popRest(); //Process remaining operators on the stack.

return postfixExpression;
}// end getValue

private void processOperator(Symbol inputSymbol )
{
Symbol stackToken;

if (inputCh = ")")

// if the input symbol is a closed parenthesis, pop & append until '('
{
// pop a Symbol from the stack. A cast must be used before storing into a Symbol type.
// As long as the symbol just popped is not an open parenthesis
{
// extract the encapsulated char from the Symbol
// append the char to the postfix String.
// pop the next Symbol from the Stack as above.
}
}
else // pop & append all operators on stack of greater precedence than input operator.
{
// Get the input precedence of the input Symbol
// Get the top of stack precedence of the top-of-stack Symbol
//As long as the input precedence is less than or equal to the top of stack precedence
{
// pop a Symbol from the stack. (casting is necessary as above.)
// extract the char encapsulated in the Symbol
// append to the postfix String.
// Get the input precedence of the input Symbol
// Get the top of stack precedence of the input Symbol
}
// push the input Symbol onto the stack.
}
}// end processOperator method


private void popRest() {

// pop a symbol from the stack.
// as long as the symbol is not the end-of-input symbol
{
//extract the char value encapsulated in the symbol.
// append it to the postfix Sring
// pop the next symbol from the stack
}
}
}//end class


Platform:
It needs to be able to run in DOS for Windows 95+

Must be 100% finished and received by buyer on:
Mar 22, 2002 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.

Additional Files:
This bid request includes IMPORTANT additional attached files. Please download and read fully before bidding.



Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
This bid was accepted by the buyer!
fishconsulting
(17 ratings)
in Brighton, Massachusetts
United States
Bid id: 128,196
 
$15 (USD) Mar 21, 2002
1:17:15 AM EDT
 8.35
(Very Good)
   
Easy, made by your dEADLINE
 




Quick Bid Request Search
 Advanced Search
Newest Open Work
Latest News  
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 
Top Coders.

Anuj Gakhar
Rated a 9.98 on 100 jobs 
Securenext
Rated a 9.96 on 109 jobs 
Buddies
Rated a 9.82 on 80 jobs 
Andrei Remenchuk
Rated a 10 on 13 jobs 
Codman
Rated a 9.97 on 149 jobs 
Michael Sharp
Rated a 9.97 on 181 jobs 
D-N-S
Rated a 9.93 on 37 jobs 
markesh
Rated a 10 on 22 jobs 
teleCODERS
Rated a 9.93 on 67 jobs 
Tometa Software, Inc.
Rated a 10 on 10 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers

 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 

Affiliate Sites
Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.