• skip to content

TheFreyers.net

User Tools

  • Login

Site Tools

  • Recent changes
  • Media Manager
  • Sitemap
You are here: Welcome » public

public

Search

You can find the results of your search below. If you didn't find what you were looking for, you can create or edit the page named after your query with the appropriate tool.

Results

Thread Example: 12 Hits
teFormat; import java.util.*; class threads { public static String[] names = { "Alice", "Bob", "Chris... "Valerie", "Willy", "Yeta", "Ziggy" }; public static void main(String[] args) { //create 10 t... (); } } } class T1 extends Thread { public int threadID = 0; public SimpleDateFormat sdf = null; public String name = null; public Random rndm = null; public static String[] da
DateTools: 11 Hits
mport java.util.Date; import java.util.Calendar; public class DateTools { public static String days[... "Friday", "Saturday" }; public static String months[] = { "J... "November", "December" }; public static int daysPerMonth[] = { 31, 28, 31,... * @param userYear int * @param userMonth int */ public static int CalcEndOfMonth(int userYear, int userM
Visual Calendar Servlet: 11 Hits
java.io.*; import java.util.*; import DateTools; public class CFWebCalendar extends javax.servlet.http.Ht... at encapsulates the response from the servlet */ public void doGet(javax.servlet.http.HttpServletRequest ... at encapsulates the response from the servlet */ public void doPost(javax.servlet.http.HttpServletRequest... ); } /** * Returns the servlet info string. */ public String getServletInfo() { return super.getServl
XML Schema Validator: 5 Hits
ErrorHandler { private boolean ERROR = false; public static void main(String[] args) { if (args.leng... v.validate(args[0]); System.exit(status); } public int validate(String filename) { try { // set... s -- --------------------------------------*/ public void error(SAXParseException spe) {displayInfo("Error", spe);} public void fatalError(SAXParseException spe) {displayInfo("Fatal Error", spe);} pub
Experiment #3: 5 Hits
va 1> /*..package and import statements here..*/ public class Artist { private transient Nodeid neoid... e*/ } /*..package and import statements here..*/ public class Album { private transient Nodeid neoid;... e*/ } /*..package and import statements here..*/ public class Song { private transient Nodeid neoid; ... import org.neo4j.kernel.EmbeddedGraphDatabase; public class Jo4NeoPerformanceExercise { private st
Using Strings in Switch Statements: 3 Hits
example.  Here is an enum declaration.  It can be public, protected, or private, depending on your needs a... Walk, Run, Sit, Drive, Sleep, Eat, novalue; public static Action getEnum(String str) { ... dy that can make use of the above method: <code> public static void main(String[] args) { //a
Experiment #2: 3 Hits
; import org.neo4j.kernel.EmbeddedGraphDatabase; public class Neo4JPerformanceExercise { //static co... Type { USERS_REFERENCE, USER, } public static void main(final String[] args) { l... (new Thread() { @Override public void run() { shutdown();
Java Class Loaders: 3 Hits
rt java.net.URL; import java.net.URLClassLoader; public class DoNothingClassLoader extends ClassLoader { public DoNothingClassLoader() { super(); } public DoNothingClassLoader(ClassLoader parent) {
Namespace Security: 3 Hits
tailor their use of the wiki. For example, the ''public'' ACL can be granted read-only permission to the ''public'' namespace. Any member of this role will not be able to edit, nor will they see any conte... self-registration is enabled, the wiki becomes a public site for collaboration by anyone who cares to par
Handling Compiler Warnings: 2 Hits
ty function: <code java> class ForNameTest { public static void main(String[] args) { try{ ... an example: <code java> class ForNameTest { public static void main(String[] args) { try{
Easter Date Calculations: 2 Hits
java.text.SimpleDateFormat; class EasterDate { public static void main(String[] args) { SimpleDateF... ); System.out.println(sdf.format(d)); } } public static Date getEasterDate(int year) { int C, G
Assert example: 2 Hits
n example: <code java> package com.freyer.test; public class AssertionTest { /** * @param args * No args for this example */ public static void main(String[] args) { String s = null; // test
Reading the Body of an Email: 2 Hits
tructor...force use of 1-arg constructor public EmailProcessor(Object obj) { ... * * @return */ public String getText() { if (_plain
JavaOne 2008: 1 Hits
for those with alternative lifestyles to meet in public. It was like Halloween in May. | |{{technology:
Spreadsheet Reader: 1 Hits
CPU Speed Script: 1 Hits
Formatting Syntax: 1 Hits
DokuWiki: 1 Hits
My Music Library: 1 Hits
Experiment #1: 1 Hits
Adding FCKW to Dokuwiki: 1 Hits
Finding Too-New Code: 1 Hits

Page Tools

  • Show pagesource
  • Old revisions
  • Backlinks
  • Back to top
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki