代码搜索:Create
找到约 10,000 项符合「Create」的源代码
代码结果 10,000
www.eeworm.com/read/229494/14334134
cpp testdll2.cpp
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1998 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement
www.eeworm.com/read/127767/14335888
txt e519. emitting a doctype declaration when writing an xml file from a dom document.txt
By default, the DOCTYPE is not written when using a transformer to dump a DOM document to an XML file. This example demonstrates how to write a DOCTYPE with a public and system id. Unfortunately, it i
www.eeworm.com/read/127767/14336153
txt e517. the quintessential program to parse an xml file using sax.txt
import java.io.*;
import javax.xml.parsers.*;
import org.xml.sax.*;
import org.xml.sax.helpers.*;
public class BasicSax {
public static void main(String[] args) {
www.eeworm.com/read/127767/14336373
txt e377. determining a person's age.txt
This example uses the Calendar class to compute a person's age.
// Create a calendar object with the date of birth
Calendar dateOfBirth = new GregorianCalendar(1972, Calendar.JANUARY, 27);
www.eeworm.com/read/127767/14336568
txt e187. starting the rmi registry.txt
Starting up the RMI registry allows you to create and export remote objects.
> rmiregistry
www.eeworm.com/read/127767/14336608
txt e216. controlling access to an object.txt
This example demonstrates how to protect access to an object using a permission. Only threads with the required permission can access the object.
// Create the object that requires protection
www.eeworm.com/read/127767/14336670
txt e450. decompressing a byte array.txt
This example decompresses a byte array that was compressed using the Deflater class (see e449 Compressing a Byte Array).
// Create the decompressor and give it the data to compress
Inflater
www.eeworm.com/read/127767/14336707
txt e523. generating sax parsing events by traversing a dom document.txt
If you have developed a set of handlers for SAX events, it is possible to use these handlers on a source other than a file. This example demonstrates how to use the handlers on a DOM document.
/
www.eeworm.com/read/127767/14336829
txt e339. shuffling the elements of a list or array.txt
Use Collections.shuffle() to randomly reorder the elements in a list.
// Create a list
List list = new ArrayList();
// Add elements to list
// Shuffle the elements in