代码搜索:singleton
找到约 4,696 项符合「singleton」的源代码
代码结果 4,696
www.eeworm.com/read/213767/4912693
rb published.rb
module ContentState
class Published < Base
include Singleton
def published?(content)
true
end
def enter_hook(content)
super
content[:published] = true
conte
www.eeworm.com/read/213767/4912698
rb just_marked_as_ham.rb
module ContentState
class JustMarkedAsHam < JustPresumedHam
include Singleton
def enter_hook(content)
super
content[:status_confirmed] = true
end
def memento
'Con
www.eeworm.com/read/213593/4914610
java singletona.java
/**
* A Singleton , we can only create one instance
*/
public class SingletonA {
public static boolean instanceFlag = false; //true if 1 instance
//private SingletonA instance;
p
www.eeworm.com/read/207779/5001052
java singletona.java
/**
* A Singleton , we can only create one instance
*/
public class SingletonA {
public static boolean instanceFlag = false; //true if 1 instance
//private SingletonA instance;
p
www.eeworm.com/read/197457/5095407
js tooltip.js
// Singleton class TooltipWindow
// This class works with special className. The tooltip content could be in your HTML page as an hidden element or
// can be retreive by an AJAX call.
//
// To wor
www.eeworm.com/read/177161/5332569
java singletona.java
/**
* A Singleton , we can only create one instance
*/
public class SingletonA {
public static boolean instanceFlag = false; //true if 1 instance
//private SingletonA instance;
p
www.eeworm.com/read/175689/5343321
m dtreegui.m
function varargout = DtreeGUI(varargin)
% DTREEGUI M-file for DtreeGUI.fig
% DTREEGUI, by itself, creates a new DTREEGUI or raises the existing
% singleton*.
%
% H = DTREEGUI retur
www.eeworm.com/read/345572/3198897
java singletona.java
/**
* A Singleton , we can only create one instance
*/
public class SingletonA {
public static boolean instanceFlag = false; //true if 1 instance
//private SingletonA instance;
p