alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

/*
 *                  Sun Public License Notice
 *   
 *  The contents of this file are subject to the Sun Public License
 *  Version 1.0 (the "License"). You may not use this file except in
 *  compliance with the License. A copy of the License is available at
 *  http://www.sun.com/
 *    
 *  The Original Code is NetBeans. The Initial Developer of the Original
 *  Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun
 *  Microsystems, Inc. All Rights Reserved.
 *  
 */

package org.netbeans.jmi.javamodel;

/**
 * Array class proxy interface.
 * Represents Java arrays. It is a typed element, where type means type of 
 * individual elements of the array. So the type of int[][] is int[] and its 
 * type is int.
 *  
 * 

Note: This type should not be subclassed or implemented by * clients. It is generated from a MOF metamodel and automatically implemented * by MDR (see mdr.netbeans.org) */ public interface ArrayClass extends javax.jmi.reflect.RefClass { /** * The default factory operation used to create an instance object. * @return The created instance object. */ public Array createArray(); /** * Creates an instance object having attributes initialized by the passed * values. * @param name Name of this element. * @param contents List of features defined in the class represented by this * object. * @param superClassName * @param interfaceNames * @return The created instance object. */ public Array createArray(java.lang.String name, java.util.List contents, org.netbeans.jmi.javamodel.MultipartId superClassName, java.util.List interfaceNames); /** * Resolves a type by its name taking the current classpath into account when * resolving classes. * @param name Name of the type to be resolved. * @return Resolves a type by its name taking the current classpath into account * when resolving classes. */ public org.netbeans.jmi.javamodel.Type resolve(java.lang.String name); /** * Returns (and creates if necessary) an array of a given type. * @param type * @return Returns (and creates if necessary) an array of a given type. */ public org.netbeans.jmi.javamodel.Array resolveArray(org.netbeans.jmi.javamodel.Type type); }

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.