Package java.util

Examples of java.util.ArrayList.clear()


                            float yellow = new Float((String)stack.get(stack.size() - 2)).floatValue();
                            float black = new Float((String)stack.get(stack.size() - 1)).floatValue();
                            ret[DA_COLOR] = new CMYKColor(cyan, magenta, yellow, black);
                        }
                    }
                    stack.clear();
                }
                else
                    stack.add(tk.getStringValue());
            }
            return ret;
View Full Code Here


            // check for potential overlap in geographic range
            SeismicInfo seis = m_seismicInfos[i];
            if (seis.isRangeOverlap(minlat, maxlat, minlng, maxlng)) {
               
                // clear matches for this seismic area
                matches.clear();
                for (int j = 0; j < rgnhits.length; j++) {
                    rgnhits[j] = false;
                }
                int rgncnt = 0;
               
View Full Code Here

   */
  private void clearBufferPools() {
    Iterator it = buffersMap.values().iterator();
    while (it.hasNext()) {
        ArrayList bufferPool = (ArrayList)it.next();
        bufferPool.clear();
    }
  }
 
 
  /**
 
View Full Code Here

            CodeItem ci = (CodeItem) i.next();
            newOps.add(ci);
            if (ci instanceof IfView)
            {
                orConditions.add(new Condition((IfView) ci, this, new ArrayList(newOps)));
                newOps.clear();
            }
        }

        andConditions.add(orConditions);
    }
View Full Code Here

                    s_logger.info(text);
                }
                System.out.println(text);
            }
        }
        probs.clear();
        return error;
    }
   
    /**
     * Add the schemas specified by customizations to the set to be loaded.
View Full Code Here

      while (item != null) {
        pathItems.add(0, item);
        item = (TreeItem) item.getParent();
      }
      paths[i] = new TreePath(pathItems.toArray());
      pathItems.clear();
    }
    tree.setSelectionPaths(paths);
  }

  private void reload() throws GUIException {
View Full Code Here

    }

    // Sort the list of BundleWriterHandlers so the processing occurs in a better defined order
    sortBundleWriterHandlers(masterWriter);

    masterWriterList.clear();
    final Iterator subKeys = configuration.findPropertyKeys(SUBREPORT_HANDLER_PREFIX);
    while (subKeys.hasNext())
    {
      final String key = (String) subKeys.next();
      final String className = configuration.getConfigProperty(key);
View Full Code Here

                        break;
                       
                }
            }
        }
        probs.clear();
        return error;
    }
   
    //
    // ISkipElements implementation
View Full Code Here

            } else {
                if (clasname != null) {
                    StringPair[] valuepairs = (StringPair[])values.toArray(new StringPair[values.size()]);
                    clasdetails.add(new StringObjectPair(clasname, valuepairs));
                }
                values.clear();
                clasname = line;
            }
        }
        return (StringObjectPair[])clasdetails.toArray(new StringObjectPair[clasdetails.size()]);
    }
View Full Code Here

        List al = new ArrayList();
        al.add("application/vnd.ogc.wms_xml");
        setFormats(FMT_GETCAPS, al);

        al.clear();
        al.add(HttpConnection.CONTENT_PLAIN);
        al.add(HttpConnection.CONTENT_HTML);
        // TODO: support other formats like application/vnd.ogc.gml and text/xml?
        // TODO: configurable or perhaps gettable from the FeatureInfoResponse
        setFormats(FMT_GETFEATUREINFO, al);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.