代码搜索:instance
找到约 10,000 项符合「instance」的源代码
代码结果 10,000
www.eeworm.com/read/191729/5163300
java elvis.java
// Singleton with static factory
public class Elvis {
private static final Elvis INSTANCE = new Elvis();
private Elvis() {
// ...
}
public static Elvis getInstance()
www.eeworm.com/read/191030/5169035
java jrireportdefaultscriptlet.java
package it.businesslogic.ireport;
import net.sf.jasperreports.engine.*;
public class JRIreportDefaultScriptlet extends JRAbstractScriptlet {
/** Creates a new instance of JRIreportDefaultScript
www.eeworm.com/read/190056/5189168
tex dataviewrenderer.tex
\section{\class{wxDataViewRenderer}}\label{wxdataviewrenderer}
This class is used by \helpref{wxDataViewCtrl}{wxdataviewctrl} to
render the individual cells. One instance of a renderer class is
own
www.eeworm.com/read/189308/5201451
jas exprcomp.jas
;;; Simple arithmetic expression compiler for jas in jas.
;;;
;;; The compiler is defined in the function
;;; compile-expression
;;;
;;; use as (for instance)
;;; (compile-expression (quote (+ (
www.eeworm.com/read/179693/5302493
java elvis.java
// Singleton with final field - page 10
public class Elvis {
public static final Elvis INSTANCE = new Elvis();
private Elvis() {
// ...
}
// ... // Remainder omitted
www.eeworm.com/read/179693/5302495
java elvis.java
// Singleton with static factory
public class Elvis {
private static final Elvis INSTANCE = new Elvis();
private Elvis() {
// ...
}
public static Elvis getInstance()
www.eeworm.com/read/179213/5309029
java dog.java
public class Dog extends Exception {
public static final Dog INSTANCE = new Dog();
private Dog() { }
public String toString() {
return "Woof";
}
}
www.eeworm.com/read/178473/5316332
js taconite-client.js
/**
@fileoverview
This JavaScript file represents the core browser-side functionality
supplied by Taconite. In general, the tools in this file wrap an instance
of XMLHttpRequest object
www.eeworm.com/read/174527/5361320
js taconite-client.js
/**
@fileoverview
This JavaScript file represents the core browser-side functionality
supplied by Taconite. In general, the tools in this file wrap an instance
of XMLHttpRequest object
www.eeworm.com/read/168239/5447522
java clubdemo.java
/**
* Provide a demonstration of the Club and Membership
* classes.
*
* @author (your name)
* @version (a version number or a date)
*/
public class ClubDemo
{
// instance variables - repl