[Fb-contrib-commit] SF.net SVN: fb-contrib: [899] trunk/fb-contrib/samples/MRC_Sample.java
Brought to you by:
dbrosius
From: <dbr...@us...> - 2007-09-15 04:30:53
|
Revision: 899 http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=899&view=rev Author: dbrosius Date: 2007-09-14 21:30:57 -0700 (Fri, 14 Sep 2007) Log Message: ----------- initial checkin - MRC detector test Added Paths: ----------- trunk/fb-contrib/samples/MRC_Sample.java Added: trunk/fb-contrib/samples/MRC_Sample.java =================================================================== --- trunk/fb-contrib/samples/MRC_Sample.java (rev 0) +++ trunk/fb-contrib/samples/MRC_Sample.java 2007-09-15 04:30:57 UTC (rev 899) @@ -0,0 +1,39 @@ + +public class MRC_Sample +{ + private int getValue() { + return 1; + } + + private String getStringValue() { + return "Hello"; + } + + public float getFP() + { + return 0.0f; + } + + private double getTwoValuesFP(boolean b) + { + if (b) + return 1.0; + else + return 0.0; + } + + private String getTwoDupsBySwitch(int i) + { + switch (i) + { + case 1: + return "Hello"; + + case 2: + return "Hello"; + + default: + return "Hello"; + } + } +} Property changes on: trunk/fb-contrib/samples/MRC_Sample.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |