代码搜索:singleton
找到约 4,696 项符合「singleton」的源代码
代码结果 4,696
www.eeworm.com/read/113165/6140681
h oasissingleton.h
/******************************************************************************
* This source file is part of Bad Camel Gaming
* Copyright (C) 2003 Zephie Greyvenstein
* See Readme.html for
www.eeworm.com/read/113165/6140857
h ogrecollisionmanager.h
#ifndef __OGRECOLLISIONMANAGER_H__
#define __OGRECOLLISIONMANAGER_H__
#include
#include "OgreCollider.h"
namespace Ogre {
class CollisionManager : public Singleton
www.eeworm.com/read/112742/6144022
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/109011/6178760
jj elparser.jj
/*****************************************
* OPTIONS *
*****************************************/
options {
JAVA_UNICODE_ESCAPE = false;
UNICODE_INPUT = true;
STATIC = false;
}
/**
www.eeworm.com/read/108165/6185587
properties testbeans.properties
# this must only be used for ApplicationContexts, some classes are only appropriate for application contexts
rod.class=org.springframework.beans.TestBean
rod.name=Rod
rod.age=31
roderick.paren
www.eeworm.com/read/108102/6186806
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/108102/6186808
java regsingletonchild.java
package com.javapatterns.singleton.demos;
/** This class is a subclass of RegSingleton */
public class RegSingletonChild extends RegSingleton
{
public RegSingletonChild() { }
publ
www.eeworm.com/read/105889/6197171
java commonfactory.java
/**************************************************************************************************
**
** $Id: CommonFactory.java,v 1.4.2.1 2004/05/17 22:02:59 desruisseaux Exp $
**
** $Source: /c
www.eeworm.com/read/104260/6205091
java ptimerimpl.java
/*
* PTimerImpl.java
*
* PersonalJava API 1.1
* This class interfaces the PersonalJava timers to the Kaffe timer system.
*
* Copyright (c) 1998
* Transvirtual Technologies, Inc. All rights
www.eeworm.com/read/104260/6205277
java imagedict.java
/**
* Copyright (c) 1998
* Transvirtual Technologies, Inc. All rights reserved.
*
* See the file "license.terms" for information on usage and redistribution
* of this file.
*
* @author J.Meh