Java Doc for SimpleEnvironment.java in  » Scripting » Kawa » gnu » mapping » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Scripting » Kawa » gnu.mapping 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   gnu.mapping.PropertySet
      gnu.mapping.Environment
         gnu.mapping.SimpleEnvironment

All known Subclasses:   gnu.mapping.InheritingEnvironment,
SimpleEnvironment
public class SimpleEnvironment extends Environment (Code)
Concrete implementation of Environment. (Should consider merging this code with Table2D.)


Field Summary
 intcurrentTimestamp
    
 intlog2Size
    
 intnum_bindings
     Doesn't count inherited bindings.
 NamedLocationsharedTail
     A special "end-of-list" value added for the sake of getEnvironment.
 NamedLocation[]table
    

Constructor Summary
public  SimpleEnvironment()
    
public  SimpleEnvironment(String name)
    
public  SimpleEnvironment(int capacity)
    

Method Summary
public  NamedLocationaddLocation(Symbol name, Object property, Location loc)
    
 NamedLocationaddLocation(Symbol name, Object property, int hash, Location loc)
    
protected  NamedLocationaddUnboundLocation(Symbol name, Object property, int hash)
    
public  NamedLocationdefine(Symbol sym, Object property, int hash, Object newValue)
    
public  voiddefine(Symbol sym, Object property, Object newValue)
    
public  java.util.SetentrySet()
    
public  LocationEnumerationenumerateAllLocations()
     Does enumerate inherited Locations.
public  LocationEnumerationenumerateLocations()
     Does not enumerate inherited Locations.
public static  LocationgetCurrentLocation(String name)
    
public synchronized  NamedLocationgetLocation(Symbol name, Object property, int hash, boolean create)
    
protected  booleanhasMoreElements(LocationEnumeration it)
    
public  NamedLocationlookup(Symbol name, Object property, int hash)
    
public  NamedLocationlookupDirect(Symbol name, Object property, int hash)
    
public static  Objectlookup_global(Symbol name)
    
 NamedLocationnewEntry(Symbol name, Object property, int index)
    
 NamedLocationnewLocation(Symbol name, Object property)
    
public  voidput(Symbol key, Object property, Object newValue)
    
public  voidreadExternal(ObjectInput in)
    
public  ObjectreadResolve()
    
protected  voidredefineError(Symbol name, Object property, Location loc)
    
 voidrehash()
    
public  intsize()
     Size does not include inherited Locations.
protected  voidtoStringBase(StringBuffer sbuf)
    
public  StringtoStringVerbose()
    
public  Locationunlink(Symbol symbol, Object property, int hash)
    
public  voidwriteExternal(ObjectOutput out)
    

Field Detail
currentTimestamp
int currentTimestamp(Code)



log2Size
int log2Size(Code)



num_bindings
int num_bindings(Code)
Doesn't count inherited bindings.



sharedTail
NamedLocation sharedTail(Code)
A special "end-of-list" value added for the sake of getEnvironment.



table
NamedLocation[] table(Code)




Constructor Detail
SimpleEnvironment
public SimpleEnvironment()(Code)



SimpleEnvironment
public SimpleEnvironment(String name)(Code)



SimpleEnvironment
public SimpleEnvironment(int capacity)(Code)




Method Detail
addLocation
public NamedLocation addLocation(Symbol name, Object property, Location loc)(Code)



addLocation
NamedLocation addLocation(Symbol name, Object property, int hash, Location loc)(Code)



addUnboundLocation
protected NamedLocation addUnboundLocation(Symbol name, Object property, int hash)(Code)



define
public NamedLocation define(Symbol sym, Object property, int hash, Object newValue)(Code)



define
public void define(Symbol sym, Object property, Object newValue)(Code)



entrySet
public java.util.Set entrySet()(Code)



enumerateAllLocations
public LocationEnumeration enumerateAllLocations()(Code)
Does enumerate inherited Locations.



enumerateLocations
public LocationEnumeration enumerateLocations()(Code)
Does not enumerate inherited Locations.



getCurrentLocation
public static Location getCurrentLocation(String name)(Code)



getLocation
public synchronized NamedLocation getLocation(Symbol name, Object property, int hash, boolean create)(Code)



hasMoreElements
protected boolean hasMoreElements(LocationEnumeration it)(Code)



lookup
public NamedLocation lookup(Symbol name, Object property, int hash)(Code)



lookupDirect
public NamedLocation lookupDirect(Symbol name, Object property, int hash)(Code)



lookup_global
public static Object lookup_global(Symbol name) throws UnboundLocationException(Code)



newEntry
NamedLocation newEntry(Symbol name, Object property, int index)(Code)



newLocation
NamedLocation newLocation(Symbol name, Object property)(Code)



put
public void put(Symbol key, Object property, Object newValue)(Code)



readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException(Code)



readResolve
public Object readResolve() throws ObjectStreamException(Code)



redefineError
protected void redefineError(Symbol name, Object property, Location loc)(Code)



rehash
void rehash()(Code)



size
public int size()(Code)
Size does not include inherited Locations.



toStringBase
protected void toStringBase(StringBuffer sbuf)(Code)



toStringVerbose
public String toStringVerbose()(Code)



unlink
public Location unlink(Symbol symbol, Object property, int hash)(Code)



writeExternal
public void writeExternal(ObjectOutput out) throws IOException(Code)



Fields inherited from gnu.mapping.Environment
final static int CAN_DEFINE(Code)(Java Doc)
final static int CAN_IMPLICITLY_DEFINE(Code)(Java Doc)
final static int CAN_REDEFINE(Code)(Java Doc)
final static int DIRECT_INHERITED_ON_SET(Code)(Java Doc)
final public static int INDIRECT_DEFINES(Code)(Java Doc)
final static int THREAD_SAFE(Code)(Java Doc)
final static Hashtable envTable(Code)(Java Doc)
int flags(Code)(Java Doc)
static Environment global(Code)(Java Doc)

Methods inherited from gnu.mapping.Environment
final public void addLocation(NamedLocation loc)(Code)(Java Doc)
abstract public NamedLocation addLocation(Symbol name, Object prop, Location loc)(Code)(Java Doc)
final public void addLocation(EnvironmentKey key, Location loc)(Code)(Java Doc)
final public boolean containsKey(Object key)(Code)(Java Doc)
public static Environment current()(Code)(Java Doc)
public Namespace defaultNamespace()(Code)(Java Doc)
abstract public void define(Symbol key, Object property, Object newValue)(Code)(Java Doc)
abstract public LocationEnumeration enumerateAllLocations()(Code)(Java Doc)
abstract public LocationEnumeration enumerateLocations()(Code)(Java Doc)
public Object get(Symbol key, Object property, Object defaultValue)(Code)(Java Doc)
final public Object get(EnvironmentKey key, Object defaultValue)(Code)(Java Doc)
final public Object get(String key, Object defaultValue)(Code)(Java Doc)
public Object get(Symbol sym)(Code)(Java Doc)
final public Object get(Object key)(Code)(Java Doc)
public boolean getCanDefine()(Code)(Java Doc)
public boolean getCanRedefine()(Code)(Java Doc)
final public Object getChecked(String name)(Code)(Java Doc)
public static Environment getCurrent()(Code)(Java Doc)
public int getFlags()(Code)(Java Doc)
final public Object getFunction(Symbol key, Object defaultValue)(Code)(Java Doc)
final public Object getFunction(Symbol sym)(Code)(Java Doc)
public static Environment getGlobal()(Code)(Java Doc)
public static Environment getInstance(String name)(Code)(Java Doc)
final public Location getLocation(Symbol key, Object property)(Code)(Java Doc)
final public Location getLocation(Symbol key)(Code)(Java Doc)
abstract public NamedLocation getLocation(Symbol key, Object property, int hash, boolean create)(Code)(Java Doc)
final public NamedLocation getLocation(Symbol name, Object property, boolean create)(Code)(Java Doc)
final public Location getLocation(Object key, boolean create)(Code)(Java Doc)
public Symbol getSymbol(String name)(Code)(Java Doc)
abstract protected boolean hasMoreElements(LocationEnumeration it)(Code)(Java Doc)
public boolean isBound(Symbol key, Object property)(Code)(Java Doc)
final public boolean isBound(Symbol key)(Code)(Java Doc)
final public boolean isLocked()(Code)(Java Doc)
final public Location lookup(Symbol key, Object property)(Code)(Java Doc)
abstract public NamedLocation lookup(Symbol name, Object property, int hash)(Code)(Java Doc)
final public Location lookup(Symbol key)(Code)(Java Doc)
public static SimpleEnvironment make()(Code)(Java Doc)
public static SimpleEnvironment make(String name)(Code)(Java Doc)
public static InheritingEnvironment make(String name, Environment parent)(Code)(Java Doc)
public void put(Symbol key, Object property, Object newValue)(Code)(Java Doc)
final public void put(Symbol key, Object newValue)(Code)(Java Doc)
final public Object put(Object key, Object newValue)(Code)(Java Doc)
final public Object put(String key, Object value)(Code)(Java Doc)
final public void putFunction(Symbol key, Object newValue)(Code)(Java Doc)
public Object remove(Symbol key, Object property, int hash)(Code)(Java Doc)
final public Object remove(EnvironmentKey key)(Code)(Java Doc)
final public Object remove(Symbol symbol, Object property)(Code)(Java Doc)
final public void remove(Symbol sym)(Code)(Java Doc)
final public Object remove(Object key)(Code)(Java Doc)
final public void removeFunction(Symbol sym)(Code)(Java Doc)
public void setCanDefine(boolean canDefine)(Code)(Java Doc)
public void setCanRedefine(boolean canRedefine)(Code)(Java Doc)
public static void setCurrent(Environment env)(Code)(Java Doc)
public void setFlag(boolean setting, int flag)(Code)(Java Doc)
public static void setGlobal(Environment env)(Code)(Java Doc)
final public void setIndirectDefines()(Code)(Java Doc)
public void setLocked()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public String toStringVerbose()(Code)(Java Doc)
public Location unlink(Symbol key, Object property, int hash)(Code)(Java Doc)
public static Environment user()(Code)(Java Doc)

Methods inherited from gnu.mapping.PropertySet
public String getName()(Code)(Java Doc)
public Object getProperty(Object key, Object defaultValue)(Code)(Java Doc)
public Object getSymbol()(Code)(Java Doc)
public Object removeProperty(Object key)(Code)(Java Doc)
final public void setName(String name)(Code)(Java Doc)
public synchronized void setProperty(Object key, Object value)(Code)(Java Doc)
public static Object[] setProperty(Object[] properties, Object key, Object value)(Code)(Java Doc)
final public void setSymbol(Object name)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.