Package nexj.core.util

Examples of nexj.core.util.IdentityHashTab


   protected void exportData() throws Exception
   {
      String sDataURL = getRequiredProperty("data.url");
      File file = (URLUtil.isURL(sDataURL)) ? new File(new URI(sDataURL)) : new File(sDataURL);
      List resultList = new ArrayList();
      Lookup identityMap = new IdentityHashTab();
      boolean bDeleteFile = false;
      Writer writer = null;
     
      try
      {
View Full Code Here


   {
      GlobalEnvironment env = machine.getGlobalEnvironment();
      Parser parser = new SchemeParser(env);
      Compiler compiler = new Compiler();
      Lookup posMapSaved = env.getTextPositionMap();
      Lookup posMap = new IdentityHashTab();

      if (!reader.markSupported())
      {
         reader = new BufferedReader(reader);
      }
View Full Code Here

    * @param writer The character stream writer.
    */
   public void serialize(Object obj, Writer writer) throws IOException, MarshallerException
   {
      m_writer = (writer instanceof JSONWriter) ? (JSONWriter)writer : new JSONWriter(writer);
      m_objectMap = new IdentityHashTab();

      marshal(obj);

      // clear memory
      m_objectMap = null;
View Full Code Here

    */
   public void addChange(InstanceList list)
   {
      if (m_collectionMap == null)
      {
         m_collectionMap = new IdentityHashTab();
      }

      if (!m_collectionMap.contains(list))
      {
         m_collectionMap.put(list, null);
View Full Code Here

            oldList = (InstanceList)list.clone();
            oldList.complete(null, false, false);

            if (m_collectionMap == null)
            {
               m_collectionMap = new IdentityHashTab();
            }

            m_collectionMap.put(list, oldList);
         }
View Full Code Here

            preList = (InstanceList)list.clone();
            preList.complete(null, false, true);

            if (m_collectionMap == null)
            {
               m_collectionMap = new IdentityHashTab();
            }

            if (!m_collectionMap.contains(list))
            {
               m_collectionMap.put(list, null);
            }

            if (m_preCollectionMap == null)
            {
               m_preCollectionMap = new IdentityHashTab();
            }

            m_preCollectionMap.put(list, preList);
         }
View Full Code Here

         {
            return m_obj;
         }

         return RPCUtil.instantiateDirect(m_obj,
            new IdentityHashTab((m_obj instanceof Collection) ? ((Collection)m_obj).size() : 2),
            context);
      }
View Full Code Here

    */
   public void serialize(Object obj, Writer writer) throws IOException, MarshallerException
   {
      m_writer = writer;
      m_mshMap = getMarshallerMap();
      m_objectMap = new IdentityHashTab();
      m_buffer.setLength(0);

      writePrefix(m_nVersion, Text.VERSION);
      marshal(obj);
   }
View Full Code Here

            s_logger.dump(request);
         }

         if (m_context.isProtected())
         {
            RPCUtil.validate(request, new IdentityHashTab(), m_context);
         }

         if (request.getLocale() != null)
         {
            m_context.setLocale(request.getLocale());
View Full Code Here

    * @param classElement The DOM element containing the class.
    * @param metaclass The metaclass object.
    */
   protected void loadMetaclass(final Element classElement, final Metaclass metaclass)
   {
      Lookup posMap = new IdentityHashTab(32);

      XMLMetadataHelper.validateName(metaclass.getName());
      metaclass.setResourceName(m_helper.getCurResourceName());
      metaclass.setForward(false);
      loadDocumentation(classElement, metaclass);
View Full Code Here

TOP

Related Classes of nexj.core.util.IdentityHashTab

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.