代码搜索:singleton
找到约 4,696 项符合「singleton」的源代码
代码结果 4,696
www.eeworm.com/read/364489/2903558
hpp originpoint.hpp
// OriginPoint.hpp
//
// Singleton origin point. Operations involving the origin point use this
// origin point. Herefore we can use origin point that are not (0,0)
//
// (C) Datasim Education BV
www.eeworm.com/read/364489/2903612
hpp originpoint.hpp
// OriginPoint.hpp
//
// Singleton origin point. Operations involving the origin point use this
// origin point. Herefore we can use origin point that are not (0,0)
//
// (C) Datasim Education BV
www.eeworm.com/read/364489/2903628
hpp originpoint.hpp
// OriginPoint.hpp
//
// Singleton origin point. Operations involving the origin point use this
// origin point. Herefore we can use origin point that are not (0,0)
//
// (C) Datasim Education BV
www.eeworm.com/read/364489/2903662
hpp originpoint.hpp
// OriginPoint.hpp
//
// Singleton origin point. Operations involving the origin point use this
// origin point. Herefore we can use origin point that are not (0,0)
//
// (C) Datasim Education BV
www.eeworm.com/read/364489/2903699
hpp originpoint.hpp
// OriginPoint.hpp
//
// Singleton origin point. Operations involving the origin point use this
// origin point. Herefore we can use origin point that are not (0,0)
//
// (C) Datasim Education BV
www.eeworm.com/read/364489/2903720
hpp originpoint.hpp
// OriginPoint.hpp
//
// Singleton origin point. Operations involving the origin point use this
// origin point. Herefore we can use origin point that are not (0,0)
//
// (C) Datasim Education BV
www.eeworm.com/read/359991/2971077
java randomnum.java
package structure;
import java.util.Random;
/**
* 产生随机数的singleton模式
* */
public class RandomNum {
private double up,down;
static RandomNum instance;
Random ran;
private Random
www.eeworm.com/read/353454/3085501
java testsingle.java
package demo.chapter09;
public class TestSingle {
/**
* @param args
*/
public static void main(String[] args) {
Singletone o1 = Singletone.getInstance();
Singletone o2 = Singleton
www.eeworm.com/read/153151/5653210
java configmanager.java
package com.javapatterns.singleton.demos;
import java.util.Properties;
import java.io.FileInputStream;
import java.io.File;
/**
* Only once instance of the class may be created during the