代码搜索:singleton

找到约 4,696 项符合「singleton」的源代码

代码结果 4,696
www.eeworm.com/read/240529/4573130

java regsingletontest.java

package com.javapatterns.singleton.demos; public class RegSingletonTest { public static void main(String[] args) { //(1) Test eager //System.out.println( EagerSinglet
www.eeworm.com/read/240529/4573131

java lazysingleton.java

package com.javapatterns.singleton.demos; /** * Only once instance of the class may be created during the * execution of any given program. Instances of this class should * be aquired through
www.eeworm.com/read/219872/4844846

java chocolatecontroller.java

package headfirst.singleton.chocolate; public class ChocolateController { public static void main(String args[]) { ChocolateBoiler boiler = ChocolateBoiler.getInstance(); boiler.fill(); boile
www.eeworm.com/read/213767/4912689

rb presumed_ham.rb

module ContentState class PresumedHam < Base include Singleton def enter_hook(content) super content[:published] = true content[:status_confirmed] = false end def
www.eeworm.com/read/213767/4912692

rb presumed_spam.rb

module ContentState class PresumedSpam < Base include Singleton def enter_hook(content) super content[:published] = false content[:status_confirmed] = false end d
www.eeworm.com/read/213767/4912696

rb unclassified.rb

module ContentState class Unclassified < Base include Singleton def enter_hook(content) super content[:published] = false content[:status_confirmed] = false end d
www.eeworm.com/read/181243/5277719

java chocolatecontroller.java

package headfirst.singleton.chocolate; public class ChocolateController { public static void main(String args[]) { ChocolateBoiler boiler = ChocolateBoiler.getInstance(); boiler.fill(); boile
www.eeworm.com/read/176165/5338986

sgml reaper.sgml

VteReaper A singleton object which catches %SIGCHLD signals and converts them into GObject-style "child-exited&q
www.eeworm.com/read/175689/5343603

m about.m

function varargout = about(varargin) % ABOUT M-file for about.fig % ABOUT, by itself, creates a new ABOUT or raises the existing % singleton*. % % H = ABOUT returns the handle to a
www.eeworm.com/read/340425/3285981

java globalcapturedeviceplugger.java

package net.sf.fmj.media.cdp; /** * Global singleton CaptureDevicePlugger. Calls all specific CaptureDevicePluggers. * Dynamically adds CaptureDeviceInfo to the CaptureDeviceManager. Does not com