bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public double[] acf(int maxlag) { if (autocorrelation.length < maxlag+1) { double[] tmp = new double[maxlag+1]; System.arraycopy(autocorrelation, 0, tmp, 0, autocorrelation.length); double normalizer = binarySumDevSqr(0, getLength(), mean()); for (int i... | public double[] acf(int maxlag) { if (autocorrelation.length < maxlag+1) { double[] tmp = new double[maxlag+1]; System.arraycopy(autocorrelation, 0, tmp, 0, autocorrelation.length); double normalizer = binarySumDevSqr(0, getLength(), mean()); for (int i... | 1,117,547 |
public double[] acf(int maxlag) { if (autocorrelation.length < maxlag+1) { double[] tmp = new double[maxlag+1]; System.arraycopy(autocorrelation, 0, tmp, 0, autocorrelation.length); double normalizer = binarySumDevSqr(0, getLength(), mean()); for (int i... | public double[] acf(int maxlag) { if (autocorrelation.length < maxlag+1) { double[] tmp = new double[maxlag+1]; System.arraycopy(autocorrelation, 0, tmp, 0, autocorrelation.length); double normalizer = binarySumDevSqr(0, getLength(), mean()); for (int i... | 1,117,548 |
public double[] pacf(int maxlag) { if (partialautocorr.length < maxlag) { double[] tmp = new double[maxlag]; System.arraycopy(partialautocorr, 0, tmp, 0, partialautocorr.length); double[] myacf = acf(maxlag); double[][] pacfMatrix = new double[maxlag+1]... | public double[] pacf(int maxlag) { if (partialautocorr.length < maxlag) { double[] tmp = new double[maxlag]; System.arraycopy(partialautocorr, 0, tmp, 0, partialautocorr.length); double[] myacf = acf(maxlag); double[][] pacfMatrix = new double[maxlag+1]... | 1,117,549 |
public double[] pacf(int maxlag) { if (partialautocorr.length < maxlag) { double[] tmp = new double[maxlag]; System.arraycopy(partialautocorr, 0, tmp, 0, partialautocorr.length); double[] myacf = acf(maxlag); double[][] pacfMatrix = new double[maxlag+1]... | public double[] pacf(int maxlag) { if (partialautocorr.length < maxlag) { double[] tmp = new double[maxlag]; System.arraycopy(partialautocorr, 0, tmp, 0, partialautocorr.length); double[] myacf = acf(maxlag); double[][] pacfMatrix = new double[maxlag+1]... | 1,117,550 |
public double[] pacf(int maxlag) { if (partialautocorr.length < maxlag) { double[] tmp = new double[maxlag]; System.arraycopy(partialautocorr, 0, tmp, 0, partialautocorr.length); double[] myacf = acf(maxlag); double[][] pacfMatrix = new double[maxlag+1]... | public double[] pacf(int maxlag) { if (partialautocorr.length < maxlag) { double[] tmp = new double[maxlag]; System.arraycopy(partialautocorr, 0, tmp, 0, partialautocorr.length); double[] myacf = acf(maxlag); double[][] pacfMatrix = new double[maxlag+1]... | 1,117,551 |
public int getLength() { if (iSeries != null) { return iSeries.length; } if (sSeries != null) { return sSeries.length; } if (fSeries != null) { return fSeries.length; } if (dSeries != null) { return dSeries.length; } return 0; } | public int getLength() { if (iSeries != null) { return iSeries.length; } if (sSeries != null) { return sSeries.length; } if (fSeries != null) { return fSeries.length; } if (dSeries != null) { return dSeries.length; } return 0; } | 1,117,552 |
public int getLength() { if (iSeries != null) { return iSeries.length; } if (sSeries != null) { return sSeries.length; } if (fSeries != null) { return fSeries.length; } if (dSeries != null) { return dSeries.length; } return 0; } | public int getLength() { if (iSeries != null) { return iSeries.length; } if (sSeries != null) { return sSeries.length; } if (fSeries != null) { return fSeries.length; } if (dSeries != null) { return dSeries.length; } return 0; } | 1,117,553 |
public double binaryIndexSum(int start, int finish) { if (iSeries != null) { return iBinaryIndexSum(start, finish); } // end of if (iSeries != null) if (sSeries != null) { return sBinaryIndexSum(start, finish); } // end of if (sSeries != null) if (fSeries != null) { return fBinar... | public double binaryIndexSum(int start, int finish) { if (iSeries != null) { return iBinaryIndexSum(start, finish); } // end of if (iSeries != null) if (sSeries != null) { return sBinaryIndexSum(start, finish); } // end of if (sSeries != null) if (fSeries != null) { return fBinar... | 1,117,554 |
private String executeQueries(SQLQuery sqlQuery, int numberOfRows, QueryToSQLBridge sqlBridge, List executedSQLStatements, IWResourceBundle resourceBundle, IWContext iwc) throws RemoteException { QueryResult queryResult = sqlBridge.executeQueries(sqlQuery, numberOfRows, executedSQLStatements); // check if everything... | private String executeQueries(SQLQuery sqlQuery, int numberOfRows, QueryToSQLBridge sqlBridge, List executedSQLStatements, IWResourceBundle resourceBundle, IWContext iwc) throws RemoteException { QueryResult queryResult = sqlBridge.executeQueries(sqlQuery, numberOfRows, executedSQLStatements); // check if everything... | 1,117,555 |
public DataCenter getSeismogramDC(String dns, String objectname) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName { DataCenter datacenter = DataCenterHelper.narrow(getSeismogramDCObject(dns, objectname)... | public DataCenter getSeismogramDC(String dns, String objectname) throws org.omg.CosNaming.NamingContextPackage.NotFound, org.omg.CosNaming.NamingContextPackage.CannotProceed, org.omg.CosNaming.NamingContextPackage.InvalidName { logger.debug("before get SeismogramDC Object"); org.omg.CORBA.Object obj = getSeismogr... | 1,117,557 |
protected void setUp() throws Exception { // JUnitDoclet begin method testcase.setUp super.setUp(); stat = createInstance(); // JUnitDoclet end method testcase.setUp } | protected void setUp() throws Exception { // JUnitDoclet begin method testcase.setUp super.setUp(); stat = createInstanceArray(); // JUnitDoclet end method testcase.setUp } | 1,117,558 |
protected Context getTrainingContext() throws Exception { if (trainingContext == null) { try { ApplicationService caCoreService = getCaCoreAPIService(); Context context = new Context(); UMLBrowserParams params = UMLBrowserParams.getInstance(); context.setNam... | protected Context getTrainingContext() throws Exception { if (trainingContext == null) { try { ApplicationService caCoreService = getCaCoreAPIService(); Context context = new Context(); UMLBrowserParams params = UMLBrowserParams.getInstance(); context.setNam... | 1,117,559 |
public String getFileIds(ChannelId channel_id, MicroSecondDate beginDate, MicroSecondDate endDate) throws SQLException { rfGetFileIdStmt.setString(1, ChannelIdUtil.toString(channel_id)); rfGetFileIdStmt.setTimestamp(2, beginDate.getTimestamp());... | public String getFileIds(ChannelId channel_id, MicroSecondDate beginDate, MicroSecondDate endDate) throws SQLException { rfGetFileIdStmt.setString(1, ChannelIdUtil.toString(channel_id)); rfGetFileIdStmt.setTimestamp(2, beginDate.getTimestamp());... | 1,117,560 |
public String getFileIds(ChannelId channel_id, MicroSecondDate beginDate, MicroSecondDate endDate) throws SQLException { rfGetFileIdStmt.setString(1, ChannelIdUtil.toString(channel_id)); rfGetFileIdStmt.setTimestamp(2, beginDate.getTimestamp());... | public String getFileIds(ChannelId channel_id, MicroSecondDate beginDate, MicroSecondDate endDate) throws SQLException { rfGetFileIdStmt.setString(1, ChannelIdUtil.toString(channel_id)); rfGetFileIdStmt.setTimestamp(2, beginDate.getTimestamp());... | 1,117,561 |
public String getFileIds(ChannelId channel_id, MicroSecondDate beginDate, MicroSecondDate endDate) throws SQLException { rfGetFileIdStmt.setString(1, ChannelIdUtil.toString(channel_id)); rfGetFileIdStmt.setTimestamp(2, beginDate.getTimestamp());... | public String getFileIds(ChannelId channel_id, MicroSecondDate beginDate, MicroSecondDate endDate) throws SQLException { rfGetFileIdStmt.setString(1, ChannelIdUtil.toString(channel_id)); rfGetFileIdStmt.setTimestamp(2, beginDate.getTimestamp());... | 1,117,562 |
public void addItem(com.idega.block.basket.data.BasketItem p0) throws java.rmi.RemoteException; | public void addItem(com.idega.block.basket.data.BasketItem p0,int p1) throws java.rmi.RemoteException; | 1,117,564 |
public static Map<String, List<String>> parseParameters(HttpServletRequest request, String query) throws UnsupportedEncodingException { // get the request encoding String encoding = request.getCharacterEncoding(); // not found, fallback to UTF-8 if (encoding == null) encoding = "UTF-8"; Map<String, List<String>... | public static Map<String, List<String>> parseParameters(HttpServletRequest request, String query) throws UnsupportedEncodingException { // get the request encoding String encoding = request.getCharacterEncoding(); // not found, fallback to UTF-8 if (encoding == null) encoding = "UTF-8"; Map<String, List<String>... | 1,117,565 |
public static Map<String, List<String>> parseParameters(HttpServletRequest request, String query) throws UnsupportedEncodingException { // get the request encoding String encoding = request.getCharacterEncoding(); // not found, fallback to UTF-8 if (encoding == null) encoding = "UTF-8"; Map<String, List<String>... | public static Map<String, List<String>> parseParameters(HttpServletRequest request, String query) throws UnsupportedEncodingException { // get the request encoding String encoding = request.getCharacterEncoding(); // not found, fallback to UTF-8 if (encoding == null) encoding = "UTF-8"; Map<String, List<String>... | 1,117,566 |
public Map getUserAttributes(final Map seed) { // Checks to make sure the argument & state is valid if (seed == null) throw new IllegalArgumentException("The query seed Map cannot be null."); if (this.ldapContext == null) throw new IllegalStateException("LDAP context is null"); if (this.query == null) throw ... | public Map getUserAttributes(final Map seed) { // Checks to make sure the argument & state is valid if (seed == null) throw new IllegalArgumentException("The query seed Map cannot be null."); if (this.ldapContext == null) throw new IllegalStateException("LDAP context is null"); if (this.query == null) throw ... | 1,117,567 |
static void addResult(final Map results, final Object key, final Object value) { if (results == null) { throw new IllegalArgumentException("Cannot add a result to a null map."); } if (key == null) { throw new IllegalArgumentException("Cannot add a result wi... | public static void addResult(final Map results, final Object key, final Object value) { if (results == null) { throw new IllegalArgumentException("Cannot add a result to a null map."); } if (key == null) { throw new IllegalArgumentException("Cannot add a re... | 1,117,568 |
static Map parseAttributeToAttributeMapping(final Map mapping) { //null is assumed to be an empty map if (mapping == null) { return Collections.EMPTY_MAP; } //do a defenisve copy of the map final Map mappedAttributesBuilder = new HashMap(); for (final It... | public static Map parseAttributeToAttributeMapping(final Map mapping) { //null is assumed to be an empty map if (mapping == null) { return Collections.EMPTY_MAP; } //do a defenisve copy of the map final Map mappedAttributesBuilder = new HashMap(); for (fi... | 1,117,569 |
static Collection flattenCollection(final Collection source) { if (source == null) { throw new IllegalArgumentException("Cannot flatten a null collection."); } final Collection result = new LinkedList(); for (final Iterator setItr = source.iterator(); s... | public static Collection flattenCollection(final Collection source) { if (source == null) { throw new IllegalArgumentException("Cannot flatten a null collection."); } final Collection result = new LinkedList(); for (final Iterator setItr = source.iterat... | 1,117,570 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object source = e.getSource(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { curren... | 1,117,571 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( source == MenuBar.fileClose ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,572 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( source == MenuBar.fileTrace ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,573 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( source == MenuBar.filterAllMessages ) { c... | 1,117,574 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,575 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,576 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,577 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,578 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,579 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,580 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,581 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,582 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,583 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,584 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,585 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,586 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,587 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,588 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,589 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,590 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,591 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,592 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,593 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,594 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,595 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,596 |
public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | public void actionPerformed(final ActionEvent e) { Object command = e.getActionCommand(); if( command == MenuBar.FILE_CLOSE ) { closeFile(); } else if( command == MenuBar.FILE_TRACE ) { if( tracer.isRunning() ) tracer.stop(); else tracer.start(); } else if( command == MenuBar.FILTER_ALL_MESSAGES ) { ... | 1,117,597 |
public void run() { Object command = e.getActionCommand(); if( command == MenuBar.FILE_OPEN ) { openFile(); } else if( command == MenuBar.VIEW_AUTOSIZE_COLUMNS ) { currentTable.autoSizeColumns( progressBar, 100 ); } else if( command == MenuBar.VIEW_AUTOSIZE_AND_HIDE_COLUMNS ) { ... | public void run() { Object source = e.getSource(); if( command == MenuBar.FILE_OPEN ) { openFile(); } else if( command == MenuBar.VIEW_AUTOSIZE_COLUMNS ) { currentTable.autoSizeColumns( progressBar, 100 ); } else if( command == MenuBar.VIEW_AUTOSIZE_AND_HIDE_COLUMNS ) { currentT... | 1,117,598 |
public void run() { Object command = e.getActionCommand(); if( command == MenuBar.FILE_OPEN ) { openFile(); } else if( command == MenuBar.VIEW_AUTOSIZE_COLUMNS ) { currentTable.autoSizeColumns( progressBar, 100 ); } else if( command == MenuBar.VIEW_AUTOSIZE_AND_HIDE_COLUMNS ) { ... | public void run() { Object command = e.getActionCommand(); if( source == MenuBar.fileOpen ) { openFile(); } else if( command == MenuBar.VIEW_AUTOSIZE_COLUMNS ) { currentTable.autoSizeColumns( progressBar, 100 ); } else if( command == MenuBar.VIEW_AUTOSIZE_AND_HIDE_COLUMNS ) { cu... | 1,117,599 |
public void run() { Object command = e.getActionCommand(); if( command == MenuBar.FILE_OPEN ) { openFile(); } else if( command == MenuBar.VIEW_AUTOSIZE_COLUMNS ) { currentTable.autoSizeColumns( progressBar, 100 ); } else if( command == MenuBar.VIEW_AUTOSIZE_AND_HIDE_COLUMNS ) { ... | public void run() { Object command = e.getActionCommand(); if( command == MenuBar.FILE_OPEN ) { openFile(); } else if( source == MenuBar.fileExportFIX ) { exportFile( source ); } else if( source == MenuBar.fileExportXML ) { exportFile( source ); } else if( source == MenuBar.fileExportCSV ) { ... | 1,117,600 |
public void run() { Object command = e.getActionCommand(); if( command == MenuBar.FILE_OPEN ) { openFile(); } else if( command == MenuBar.VIEW_AUTOSIZE_COLUMNS ) { currentTable.autoSizeColumns( progressBar, 100 ); } else if( command == MenuBar.VIEW_AUTOSIZE_AND_HIDE_COLUMNS ) { ... | public void run() { Object command = e.getActionCommand(); if( command == MenuBar.FILE_OPEN ) { openFile(); } else if( command == MenuBar.VIEW_AUTOSIZE_COLUMNS ) { currentTable.autoSizeColumns( progressBar, 100 ); } else if( source == MenuBar.viewAutosizeAndHideColumns ) { curre... | 1,117,601 |
private void openFile() { FileOpenDialog dialog = new FileOpenDialog( frame, dataDictionary ); dialog.setVisible( true ); final File file = dialog.getFile(); final Date startTime = dialog.getStartTime(); final Date endTime = dialog.getEndTime(); dialog.dispose(); boolean traceRunning = tracer.isRunning(); if( ... | private void openFile() { FileOpenDialog dialog = new FileOpenDialog( frame ); dialog.setVisible( true ); final File file = dialog.getFile(); final Date startTime = dialog.getStartTime(); final Date endTime = dialog.getEndTime(); dialog.dispose(); boolean traceRunning = tracer.isRunning(); if( traceRunning ) t... | 1,117,602 |
public FileOpenDialog(JFrame owner, DataDictionary dataDictionary) throws HeadlessException { super(owner, "File Open"); setResizable(false); getContentPane().setLayout( new GridBagLayout() ); GridBagConstraints constraints = new GridBagConstraints(); constraints.fill = GridBagConstraints.BOTH; constraints.... | public FileOpenDialog(JFrame owner) throws HeadlessException { super(owner, "File Open"); setResizable(false); getContentPane().setLayout( new GridBagLayout() ); GridBagConstraints constraints = new GridBagConstraints(); constraints.fill = GridBagConstraints.BOTH; constraints.weightx = 1.0; constraints.wei... | 1,117,604 |
public LogFile( File file, DataDictionary aDataDictionary ) throws FileNotFoundException { logFile = file; dataDictionary = aDataDictionary; initialize(); } | public LogFile( File file, DataDictionary aDataDictionary ) throws FileNotFoundException { logFile = file; dataDictionary = aDataDictionary; initialize(); } | 1,117,605 |
public ArrayList parseMessages( ProgressBarPanel progressBar, Date startTime, Date endTime ) throws IOException, CancelException { int startingPosition = findPositionByTime( progressBar, startTime, 0, true ); int endingPosition = (int)logFile.length(); if( endTime != null ) endingPosition = findPositionByTime( pr... | public ArrayList parseMessages( ProgressBarPanel progressBar, Date startTime, Date endTime ) throws IOException, CancelException { int startingPosition = findPositionByTime( progressBar, startTime, 0, true ); int endingPosition = (int)logFile.length(); if( endTime != null ) endingPosition = findPositionByTime( pr... | 1,117,606 |
public ArrayList parseMessages( ProgressBarPanel progressBar, Date startTime, Date endTime ) throws IOException, CancelException { int startingPosition = findPositionByTime( progressBar, startTime, 0, true ); int endingPosition = (int)logFile.length(); if( endTime != null ) endingPosition = findPositionByTime( pr... | public ArrayList parseMessages( ProgressBarPanel progressBar, Date startTime, Date endTime ) throws IOException, CancelException { int startingPosition = findPositionByTime( progressBar, startTime, 0, true ); int endingPosition = (int)logFile.length(); if( endTime != null ) endingPosition = findPositionByTime( pr... | 1,117,607 |
public MessagesTableModel( DataDictionary aDataDictionary, LogFile aLogFile ) { dataDictionary = aDataDictionary; logFile = aLogFile; messages = allMessages; } | public MessagesTableModel( DataDictionary aDataDictionary ) { dataDictionary = aDataDictionary; logFile = aLogFile; messages = allMessages; } | 1,117,608 |
public MessagesTableModel( DataDictionary aDataDictionary, LogFile aLogFile ) { dataDictionary = aDataDictionary; logFile = aLogFile; messages = allMessages; } | public MessagesTableModel( DataDictionary aDataDictionary, LogFile aLogFile ) { dataDictionary = aDataDictionary; messages = allMessages; } | 1,117,609 |
AboutDialog(JFrame owner) { super(owner, "About"); setResizable( false ); setSize( 320, 100 ); setLayout( new GridBagLayout() ); constraints.fill = GridBagConstraints.CENTER; constraints.weightx = 1; constraints.gridx = 1; constraints.weighty = 1; constraints.gridy = 0; addLabel( "QuickFIX Log Viewer v1.... | AboutDialog(JFrame owner) { super(owner, "About"); setResizable( false ); setSize( 320, 100 ); setLayout( new GridBagLayout() ); constraints.fill = GridBagConstraints.CENTER; constraints.weightx = 1; constraints.gridx = 1; constraints.weighty = 1; constraints.gridy = 0; addLabel( "QuickFIX Log Viewer v1.... | 1,117,610 |
private static final void bindArguments(String funnam, ATObject scope, ATTable parameters, ATTable arguments, BindClosure binder) throws NATException { if (parameters == NATTable.EMPTY) { if (arguments == NATTable.EMPTY) return; // no need to bind any arguments else throw new XArityMismatch(funnam, 0, argum... | private static final void bindArguments(String funnam, ATObject scope, ATTable parameters, ATTable arguments, BindClosure binder) throws NATException { if (parameters == NATTable.EMPTY) { if (arguments == NATTable.EMPTY) return; // no need to bind any arguments else throw new XArityMismatch(funnam, 0, argum... | 1,117,611 |
public static final NATTable evaluateArguments(NATTable args, ATContext ctx) throws NATException { if (args == NATTable.EMPTY) return NATTable.EMPTY; ATObject[] els = args.elements_; LinkedList result = new LinkedList(); int siz = els.length; for (int i = 0; i < els.length; i++) { if (els[i].isSplice()) { ... | public static final NATTable evaluateArguments(NATTable args, ATContext ctx) throws NATException { if (args == NATTable.EMPTY) return NATTable.EMPTY; ATObject[] els = args.elements_; LinkedList result = new LinkedList(); int siz = els.length; for (int i = 0; i < els.length; i++) { if (els[i].isSplice()) { ... | 1,117,612 |
public static String getSeismogramName(ChannelId channelId, DataSet dataset, TimeRange timeRange) { Channel channel = ((XMLDataSet)dataset).getChannel(channelId); SeismogramAttr[] attrs = ((XMLDataSet)dataset).getSeismogramAttrs(); MicroSecondDate startDate = new MicroSecondDate(timeRange.start... | public static String getSeismogramName(ChannelId channelId, DataSet dataset, TimeRange timeRange) { SeismogramAttr[] attrs = ((XMLDataSet)dataset).getSeismogramAttrs(); MicroSecondDate startDate = new MicroSecondDate(timeRange.start_time); MicroSecondDate endDate = new MicroSecondDate(t... | 1,117,613 |
public static String[] getSeismogramNames(ChannelId channelId, DataSet dataset, TimeRange timeRange) { Channel channel = ((XMLDataSet)dataset).getChannel(channelId); SeismogramAttr[] attrs = ((XMLDataSet)dataset).getSeismogramAttrs(); MicroSecondDate startDate = new MicroSecondDate(timeRange.st... | public static String[] getSeismogramNames(ChannelId channelId, DataSet dataset, TimeRange timeRange) { SeismogramAttr[] attrs = ((XMLDataSet)dataset).getSeismogramAttrs(); MicroSecondDate startDate = new MicroSecondDate(timeRange.start_time); MicroSecondDate endDate = new MicroSecondDat... | 1,117,614 |
public IdeaView getViewAt(Point2D p) { if (hits(p)) { return this; } else { for (IdeaView subView: subViews) { IdeaView hit = subView.getViewAt(p); if (hit != null) { return hit; } } } return... | public IdeaView getViewAt(Point2D p) { if (hits(p)) { return this; } else { for (IdeaView subView: subViews) { IdeaView hit = subView.getViewAt(p); if (hit != null) { return hit; } } } return... | 1,117,615 |
public IdeaView getViewAt(Point2D p) { if (hits(p)) { return this; } else { for (IdeaView subView: subViews) { IdeaView hit = subView.getViewAt(p); if (hit != null) { return hit; } } } return... | public IdeaView getViewAt(Point2D p) { if (hits(p)) { return this; } else { for (IdeaView subView: subViews) { IdeaView hit = subView.getViewAt(p); if (hit != null) { return hit; } } } return... | 1,117,616 |
private boolean hits(Point2D p) { if ((fromPoint == null) || (toPoint == null)) { return false; } double vx0 = fromPoint.getX(); double vy0 = fromPoint.getY(); double vx1 = toPoint.getX(); double vy1 = toPoint.getY(); double vx2 = p.getX(); double v... | private boolean hits(Point2D p) { if ((fromPoint == null) || (toPoint == null)) { return false; } double vx0 = fromPoint.getX(); double vy0 = fromPoint.getY(); double vx1 = toPoint.getX(); double vy1 = toPoint.getY(); double vx2 = p.getX(); double v... | 1,117,617 |
public void removeTabAt(int index) { if (index < 0 || index >= getTabCount()) { return; } Component c = getComponentAt(index); Object owner = table.remove(c); if (owner != null && owner instanceof IModule) { ModuleFactory.disposeInstance((IModule)owner); // real removing done by listener (disposed()) } ... | public void removeTabAt(int index) { if (index < 0 || index >= getTabCount()) { return; } Component c = getComponentAt(index); Object owner = table.remove(c); if (owner != null && owner instanceof IModule) { ModuleFactory.disposeInstance((IModule)owner); // real removing done by listener (disposed()) } ... | 1,117,618 |
public static void show(String msg, Throwable exc) { new ExceptionDialog(msg, exc); } | public static void show(String msg, Throwable exc) { new ExceptionDialog(msg, exc); } | 1,117,619 |
public void testUpSelector() throws InterpreterException { assertEquals("foo_", Reflection.upSelector(AGSymbol.alloc("foo:"))); assertEquals("foo_bar_", Reflection.upSelector(AGSymbol.alloc("foo:bar:"))); assertEquals("_oppls_", Reflection.upSelector(AGSymbol.alloc("+"))); assertEquals("set_opnot_", Reflection.upS... | public void testUpSelector() throws InterpreterException { assertEquals("foo_", Reflection.upSelector(AGSymbol.alloc("foo:"))); assertEquals("foo_bar_", Reflection.upSelector(AGSymbol.alloc("foo:bar:"))); assertEquals("_oppls_", Reflection.upSelector(AGSymbol.alloc("+"))); assertEquals("set_opnot_", Reflection.upS... | 1,117,620 |
public DynamicReportDesign(String name) { initializeDocument(name); createTitle(); createPageHeader(); createColumnHeader(); createDetail(); createColumnFooter(); createPageFooter(); createSummary(); } | public DynamicReportDesign(String name) { initializeDocument(name); createTitle(); createPageHeader(); createColumnHeader(); createDetail(); createColumnFooter(); createPageFooter(); createSummary(); } | 1,117,622 |
public String doRefund(String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, Object parentDataPK, String captureProperties) throws CreditCardAuthorizationException { IWTimestamp stamp = IWTimestamp.RightNow(); strCCNumber = cardnumber; strCCExpire = yearE... | public String doRefund(String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, Object parentDataPK, String captureProperties) throws CreditCardAuthorizationException { IWTimestamp stamp = IWTimestamp.RightNow(); strCCNumber = cardnumber; strCCExpire = yearE... | 1,117,623 |
public String doRefund(String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, Object parentDataPK, String captureProperties) throws CreditCardAuthorizationException { IWTimestamp stamp = IWTimestamp.RightNow(); strCCNumber = cardnumber; strCCExpire = yearE... | public String doRefund(String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, Object parentDataPK, String captureProperties) throws CreditCardAuthorizationException { IWTimestamp stamp = IWTimestamp.RightNow(); strCCNumber = cardnumber; strCCExpire = yearE... | 1,117,624 |
public String doSale(String nameOnCard, String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, String referenceNumber) throws CreditCardAuthorizationException { try { IWTimestamp stamp = IWTimestamp.RightNow(); strName = nameOnCard; strCCNumber = cardn... | public String doSale(String nameOnCard, String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, String referenceNumber) throws CreditCardAuthorizationException { try { IWTimestamp stamp = IWTimestamp.RightNow(); strName = nameOnCard; strCCNumber = cardn... | 1,117,625 |
public String doSale(String nameOnCard, String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, String referenceNumber) throws CreditCardAuthorizationException { try { IWTimestamp stamp = IWTimestamp.RightNow(); strName = nameOnCard; strCCNumber = cardn... | public String doSale(String nameOnCard, String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, String referenceNumber) throws CreditCardAuthorizationException { try { IWTimestamp stamp = IWTimestamp.RightNow(); strName = nameOnCard; strCCNumber = cardn... | 1,117,626 |
public void finishTransaction(String properties) throws KortathjonustanAuthorizationException { finishTransaction(parseResponse(properties)); } | public void finishTransaction(String properties) throws KortathjonustanAuthorizationException { Hashtable returnedCaptureProperties = finishTransaction(parseResponse(properties)); try { this.storeAuthorizationEntry(null, null, returnedCaptureProperties, KortathjonustanAuthorisationEntries.AUTHORIZATION_TYPE_DELAYED_... | 1,117,627 |
public DataSetSeismogram[] retrieve_seismograms() { LocalSeismogramImpl seis = dataSetSeismogram[0].getSeismogram(); ChannelId[] channelIds = ((edu.sc.seis.fissuresUtil.xml.XMLDataSet)dataSetSeismogram[0].getDataSet()).getChannelIds(); ChannelGrouperImpl channelProxy = new ChannelGrouperImpl(); logger.debug("the or... | public DataSetSeismogram[] retrieve_seismograms() { LocalSeismogramImpl seis = dataSetSeismogram[0].getSeismogram(); ChannelId[] channelIds = ((edu.sc.seis.fissuresUtil.xml.XMLDataSet)dataSetSeismogram[0].getDataSet()).getChannelIds(); ChannelGrouperImpl channelProxy = new ChannelGrouperImpl(); logger.debug("the or... | 1,117,629 |
public synchronized void drawAzimuth(ParticleMotion particleMotion, Graphics2D graphics2D) { logger.debug("IN DRAW AZIMUTH"); if(!particleMotion.isHorizontalPlane()) return; Shape sector = getSectorShape(); graphics2D.setColor(Color.blue); graphics2D.fill(sector); graphics2D.draw(sector); graphics2D.se... | public synchronized void drawAzimuth(ParticleMotion particleMotion, Graphics2D graphics2D) { logger.debug("IN DRAW AZIMUTH"); if(!particleMotion.isHorizontalPlane()) return; Shape sector = getSectorShape(); graphics2D.setColor(new Color(100, 160, 140)); graphics2D.fill(sector); graphics2D.draw(sector); ... | 1,117,630 |
public Icon getGUIIcon() { return null; }; | public Icon getGUIIcon() { return null; } | 1,117,631 |
public Cursor getModeCursor() { return null; } | public Cursor getModeCursor() { return modeCursor; } | 1,117,632 |
public void mouseMoved(MouseEvent e) {} | public void mouseMoved(MouseEvent e) { if (!isPressed && currentCursor != modeCursor){ setCursor(modeCursor, e); } } | 1,117,633 |
public void mousePressed(MouseEvent e) {} | public void mousePressed(MouseEvent e) { isPressed = true; if (currentCursor != pressedCursor){ setCursor(pressedCursor, e); } } | 1,117,634 |
public void mouseReleased(MouseEvent e) {} | public void mouseReleased(MouseEvent e) { isPressed = false; if (currentCursor != modeCursor){ setCursor(modeCursor, e); } } | 1,117,635 |
public int sort(DataSetSeismogram seismo, String name){ names.add(name); return seismos.size(); } | public int sort(DataSetSeismogram seismo, String name){ names.add(name); int rtnValue = seismos.size(); seismos.put(name, seismo); return rtnValue; } | 1,117,636 |
public void update_region(edu.iris.Fissures.FlinnEngdahlRegion region, edu.iris.Fissures.AuditInfo[] audit_info) { try { jdbcEventAccess.updateFlinnEngdahlRegion(eventid, region); } catch(SQLException sqle) { logger.error("Problem with SQL ", sqle); ... | public void update_region(edu.iris.Fissures.FlinnEngdahlRegion region, edu.iris.Fissures.AuditInfo[] audit_info) { try { jdbcEventAccess.updateFlinnEngdahlRegion(eventid, region); } catch(SQLException sqle) { logger.error("Problem with SQL ", sqle); ... | 1,117,637 |
public NATMirage(ATObject dynamicParent, ATObject lexicalParent, NATIntercessiveMirror mirror, boolean parentType) { super(dynamicParent, lexicalParent, parentType); mirror_ = mirror; } | public NATMirage(ATObject dynamicParent, ATObject lexicalParent, NATIntercessiveMirror mirror, boolean parentType) { super(dynamicParent, lexicalParent, parentType); mirror_ = mirror; } | 1,117,638 |
public TablePanel() { super(new GridLayout(1, 0)); final JTable table = new JTable(model); table.getColumnModel().getColumn(0).setPreferredWidth(150); table.getColumnModel().getColumn(1).setPreferredWidth(150); table.getColumnModel().getColumn(2).setPreferredWidth(10); table.getColumnModel().getColumn(3).... | public TablePanel() { super(new GridLayout(1, 0)); final JTable table = new JTable(model); table.getColumnModel().getColumn(0).setPreferredWidth(150); table.getColumnModel().getColumn(1).setPreferredWidth(150); table.getColumnModel().getColumn(2).setPreferredWidth(10); table.getColumnModel().getColumn(3).... | 1,117,639 |
public void actionPerformed(ActionEvent e) { int[] selected = table.getSelectedRows(); for (int i = 0; i < selected.length; i++) { Object source = table.getModel().getValueAt(selected[i], 0); String id = (String)table.getModel().getValueAt(selected[i], 1); ModuleConfiguration.remove(source); ... | public void actionPerformed(ActionEvent e) { int[] selected = table.getSelectedRows(); for (int i = selected.length - 1; i >= 0; i--) { Object source = table.getModel().getValueAt(selected[i], 0); String id = (String)table.getModel().getValueAt(selected[i], 1); ModuleConfiguration.remove(sour... | 1,117,640 |
public static void addRightClickMenu(JTextComponent tc) { RightClickMenu menu = new RightClickMenu(tc); menu.addRightClickListener(); tc.add(menu); } | public static void addRightClickMenu(JTextComponent tc) { RightClickMenu menu = new RightClickMenu(tc); menu.addRightClickListener(); tc.add(menu); } | 1,117,641 |
public static ModuleContainer load(String moduleClassName) throws ModuleLoaderException { try { float version = 0.0f; Requirement[] requirements = new Requirement[0]; Class cls = Class.forName(moduleClassName); ModuleContainer module = new ModuleContainer(cls, version); module.setRequirements(requiremen... | public static ModuleContainer load(String moduleClassName) throws ModuleLoaderException { try { float version = 0.0f; Requirement[] requirements = new Requirement[0]; Class cls = Class.forName(moduleClassName); ModuleContainer module = new ModuleContainer(cls, version); module.setRequirements(requiremen... | 1,117,642 |
public static ModuleContainer load(String moduleClassName) throws ModuleLoaderException { try { float version = 0.0f; Requirement[] requirements = new Requirement[0]; Class cls = Class.forName(moduleClassName); ModuleContainer module = new ModuleContainer(cls, version); module.setRequirements(requiremen... | public static ModuleContainer load(String moduleClassName) throws ModuleLoaderException { try { float version = 0.0f; Requirement[] requirements = new Requirement[0]; Class cls = Class.forName(moduleClassName); ModuleContainer module = new ModuleContainer(cls, version); module.setRequirements(requiremen... | 1,117,643 |
public static int[] fill(MicroSecondTimeRange fullRange, int[] y, PlottableChunk chunk) { MicroSecondDate rowBeginTime = chunk.getBeginTime(); int offsetIntoRequestSamples = SimplePlotUtil.getPixel(y.length, ... | public static int[] fill(MicroSecondTimeRange fullRange, int[] y, PlottableChunk chunk) { MicroSecondDate rowBeginTime = chunk.getBeginTime(); int offsetIntoRequestSamples = SimplePlotUtil.getPixel(y.length / 2, ... | 1,117,644 |
public static int[] fill(MicroSecondTimeRange fullRange, int[] y, PlottableChunk chunk) { MicroSecondDate rowBeginTime = chunk.getBeginTime(); int offsetIntoRequestSamples = SimplePlotUtil.getPixel(y.length, ... | public static int[] fill(MicroSecondTimeRange fullRange, int[] y, PlottableChunk chunk) { MicroSecondDate rowBeginTime = chunk.getBeginTime(); int offsetIntoRequestSamples = SimplePlotUtil.getPixel(y.length, ... | 1,117,645 |
public PlottableChunk[] get(MicroSecondTimeRange requestRange, ChannelId id, int pixelsPerDay) throws SQLException, IOException { int chanDbId; try { chanDbId = chanTable.getDBId(id); } catch(NotFound e) { ... | public PlottableChunk[] get(MicroSecondTimeRange requestRange, ChannelId id, int pixelsPerDay) throws SQLException, IOException { int chanDbId; try { chanDbId = chanTable.getDBId(id); } catch(NotFound e) { ... | 1,117,646 |
public PlottableChunk[] get(MicroSecondTimeRange requestRange, ChannelId id, int pixelsPerDay) throws SQLException, IOException { int chanDbId; try { chanDbId = chanTable.getDBId(id); } catch(NotFound e) { ... | public PlottableChunk[] get(MicroSecondTimeRange requestRange, ChannelId id, int pixelsPerDay) throws SQLException, IOException { int chanDbId; try { chanDbId = chanTable.getDBId(id); } catch(NotFound e) { ... | 1,117,647 |
public PlottableChunk[] get(MicroSecondTimeRange requestRange, ChannelId id, int pixelsPerDay) throws SQLException, IOException { int chanDbId; try { chanDbId = chanTable.getDBId(id); } catch(NotFound e) { ... | public PlottableChunk[] get(MicroSecondTimeRange requestRange, ChannelId id, int pixelsPerDay) throws SQLException, IOException { int chanDbId; try { chanDbId = chanTable.getDBId(id); } catch(NotFound e) { ... | 1,117,648 |
public PlottableChunk[] get(MicroSecondTimeRange requestRange, ChannelId id, int pixelsPerDay) throws SQLException, IOException { int chanDbId; try { chanDbId = chanTable.getDBId(id); } catch(NotFound e) { ... | public PlottableChunk[] get(MicroSecondTimeRange requestRange, ChannelId id, int pixelsPerDay) throws SQLException, IOException { int chanDbId; try { chanDbId = chanTable.getDBId(id); } catch(NotFound e) { ... | 1,117,649 |
public PlottableChunk[] get(MicroSecondTimeRange requestRange, ChannelId id, int pixelsPerDay) throws SQLException, IOException { int chanDbId; try { chanDbId = chanTable.getDBId(id); } catch(NotFound e) { ... | public PlottableChunk[] get(MicroSecondTimeRange requestRange, ChannelId id, int pixelsPerDay) throws SQLException, IOException { int chanDbId; try { chanDbId = chanTable.getDBId(id); } catch(NotFound e) { ... | 1,117,650 |
public PlottableChunk[] get(MicroSecondTimeRange requestRange, ChannelId id, int pixelsPerDay) throws SQLException, IOException { int chanDbId; try { chanDbId = chanTable.getDBId(id); } catch(NotFound e) { ... | public PlottableChunk[] get(MicroSecondTimeRange requestRange, ChannelId id, int pixelsPerDay) throws SQLException, IOException { int chanDbId; try { chanDbId = chanTable.getDBId(id); } catch(NotFound e) { ... | 1,117,651 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.