Searched defs:instance (Results 26 - 50 of 197) sorted by relevance

12345678

/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DSoftProcess.java36 public double[] get(int instance, String name); argument
/openjdk7/jdk/src/share/classes/java/awt/
H A DGraphicsCallback.java35 private static PaintCallback instance = new PaintCallback(); field in class:GraphicsCallback.PaintCallback
42 return instance;
46 private static PrintCallback instance = new PrintCallback(); field in class:GraphicsCallback.PrintCallback
53 return instance;
57 private static PaintAllCallback instance = new PaintAllCallback(); field in class:GraphicsCallback.PaintAllCallback
64 return instance;
68 private static PrintAllCallback instance = new PrintAllCallback(); field in class:GraphicsCallback.PrintAllCallback
75 return instance;
79 private static PeerPaintCallback instance = new PeerPaintCallback(); field in class:GraphicsCallback.PeerPaintCallback
91 return instance;
95 private static PeerPrintCallback instance = new PeerPrintCallback(); field in class:GraphicsCallback.PeerPrintCallback
113 private static PaintHeavyweightComponentsCallback instance = field in class:GraphicsCallback.PaintHeavyweightComponentsCallback
131 private static PrintHeavyweightComponentsCallback instance = field in class:GraphicsCallback.PrintHeavyweightComponentsCallback
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaButtonCheckBoxUI.java37 protected static final RecyclableSingleton<AquaButtonCheckBoxUI> instance = new RecyclableSingletonFromDefaultConstructor<AquaButtonCheckBoxUI>(AquaButtonCheckBoxUI.class); field in class:AquaButtonCheckBoxUI
45 return instance.get();
H A DAquaButtonRadioUI.java37 protected static final RecyclableSingleton<AquaButtonRadioUI> instance = new RecyclableSingletonFromDefaultConstructor<AquaButtonRadioUI>(AquaButtonRadioUI.class); field in class:AquaButtonRadioUI
45 return instance.get();
H A DAquaPopupMenuSeparatorUI.java37 protected static RecyclableSingletonFromDefaultConstructor<AquaPopupMenuSeparatorUI> instance = new RecyclableSingletonFromDefaultConstructor<AquaPopupMenuSeparatorUI>(AquaPopupMenuSeparatorUI.class); field in class:AquaPopupMenuSeparatorUI
40 return instance.get();
H A DAquaScrollRegionBorder.java43 static final RecyclableSingletonFromDefaultConstructor<AquaScrollRegionBorder> instance = new RecyclableSingletonFromDefaultConstructor<AquaScrollRegionBorder>(AquaScrollRegionBorder.class); field in class:AquaScrollRegionBorder
46 return instance.get();
H A DAquaToolBarSeparatorUI.java37 protected static RecyclableSingleton<AquaToolBarSeparatorUI> instance = new RecyclableSingletonFromDefaultConstructor<AquaToolBarSeparatorUI>(AquaToolBarSeparatorUI.class); field in class:AquaToolBarSeparatorUI
40 return instance.get();
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/utils/
H A DObjectInspector.java40 private static void inspectForClass(Object instance, Class clazz, StringWriter sw){ argument
52 Object o = f.get(instance);
65 inspectForClass(instance, clazz.getSuperclass(), sw);
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/bmp/
H A DBMPMetadataFormat.java35 private static IIOMetadataFormat instance = null; field in class:BMPMetadataFormat
203 if (instance == null) {
204 instance = new BMPMetadataFormat();
206 return instance;
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/
H A DGIFImageMetadataFormat.java35 private static IIOMetadataFormat instance = null; field in class:GIFImageMetadataFormat
166 if (instance == null) {
167 instance = new GIFImageMetadataFormat();
169 return instance;
H A DGIFStreamMetadataFormat.java35 private static IIOMetadataFormat instance = null; field in class:GIFStreamMetadataFormat
101 if (instance == null) {
102 instance = new GIFStreamMetadataFormat();
104 return instance;
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/wbmp/
H A DWBMPMetadataFormat.java35 private static IIOMetadataFormat instance = null; field in class:WBMPMetadataFormat
65 if (instance == null) {
66 instance = new WBMPMetadataFormat();
68 return instance;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/
H A DAccessorFactoryImpl.java37 private static AccessorFactoryImpl instance = new AccessorFactoryImpl(); field in class:AccessorFactoryImpl
41 return instance;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/
H A DCommonResourceBundle.java38 private static CommonResourceBundle instance = null; field in class:CommonResourceBundle
53 if (instance == null) {
55 instance = new CommonResourceBundle();
64 return instance;
68 if (instance == null) {
70 instance = new CommonResourceBundle(locale);
75 instance = new CommonResourceBundle(locale);
79 return instance;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/stax/events/
H A DEmptyIterator.java35 public static final EmptyIterator instance = new EmptyIterator(); field in class:EmptyIterator
36 /** Creates a new instance of EmptyIterator */
40 return instance;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/
H A DResourceInjector.java40 * If {@link Container#getSPI(Class)} returns a valid instance of {@link ResourceInjector},
42 * instance that it manages.
56 * {@link WebServiceContext} implementation to be injected into the instance.
57 * @param instance
63 public abstract void inject(@NotNull WSWebServiceContext context, @NotNull Object instance); argument
/openjdk7/jdk/test/java/awt/Multiscreen/WPanelPeerPerf/
H A DWPanelPeerPerf.java52 private static Counter instance = null; field in class:WPanelPeerPerf
54 if (instance == null) {
55 instance = new Counter();
57 return instance;
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/apt/
H A DMessagerImpl.java48 public static MessagerImpl instance(Context context) { method in class:MessagerImpl
49 MessagerImpl instance = context.get(messagerKey);
50 if (instance == null) {
51 instance = new MessagerImpl(context);
53 return instance;
58 bark = Bark.instance(context);
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/util/
H A DDeclarationsImpl.java54 public static Declarations instance(Context context) { method in class:DeclarationsImpl
55 Declarations instance = context.get(declarationsKey);
56 if (instance == null) {
57 instance = new DeclarationsImpl(context);
59 return instance;
64 env = AptEnv.instance(context);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/
H A DFSInfo.java27 /** Get the FSInfo instance for this context.
29 * @return the Paths instance for this context
31 public static FSInfo instance(Context context) { method in class:FSInfo
32 FSInfo instance = context.get(FSInfo.class);
33 if (instance == null)
34 instance = new FSInfo();
35 return instance;
/openjdk7/jdk/src/share/instrument/
H A DUtilities.c76 * Returns whether the passed exception is an instance of the given classname
81 jobject instance,
89 /* get an instance of unchecked exception for instanceof comparison */
95 isInstanceof = (*jnienv)->IsInstanceOf(jnienv, instance, classHandle);
80 isInstanceofClassName( JNIEnv * jnienv, jobject instance, const char * className) argument
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DCertPathHelper.java51 protected static CertPathHelper instance; field in class:CertPathHelper
64 instance.implSetPathToNames(sel, names);
68 instance.implSetDateAndTime(sel, date, skew);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftLowFrequencyOscillator/
H A DTestProcessControlLogic.java39 private static void testLFO(boolean shared, int instance, float freq, float delay, argument
44 double[] lfo_freq = lfo.get(instance, "freq");
45 double[] lfo_delay = lfo.get(instance, "delay");
46 double[] lfo_delay2 = lfo.get(instance, "delay2");
47 double[] lfo_output = lfo.get(instance, null);
91 for (int instance = 0; instance < 3; instance++)
95 testLFO(true, instance,
99 testLFO(false, instance,
[all...]
/openjdk7/jdk/src/share/classes/sun/misc/
H A DHashing.java230 * unspecified but will be consistent within a VM instance.
240 * Return a non-zero 32-bit pseudo random value. The {@code instance} object
243 * @param instance an object to use if desired in choosing value.
246 public static int randomHashSeed(Object instance) { argument
255 System.identityHashCode(instance),
/openjdk7/jdk/src/share/classes/sun/rmi/runtime/
H A DRuntimeUtil.java41 * There is a single instance of this class, which can be obtained
42 * with a GetInstanceAction. Getting the instance requires
60 /** permission required to get instance */
64 /** the singleton instance of this class */
65 private static final RuntimeUtil instance = new RuntimeUtil(); field in class:RuntimeUtil
98 * A PrivilegedAction for getting the RuntimeUtil instance.
104 * Creates an action that returns the RuntimeUtil instance.
119 return instance;

Completed in 54 milliseconds

12345678