bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
protected void translateAllComponents(int xdist, int ydist) { Rectangle visibleArea = parent.getVisibleRect(); Point p = new Point(); for (int i = 0, n = parent.getComponentCount(); i < n; i++) { JComponent c = (JComponent) parent.getComponent(i); p = c.getLocation(p); p.x += xdist; p.y += ydist; ... | protected void translateAllComponents(int xdist, int ydist) { Rectangle visibleArea = parent.getVisibleRect(); Point p = new Point(); for (int i = 0, n = parent.getComponentCount(); i < n; i++) { JComponent c = (JComponent) parent.getComponent(i); p = c.getLocation(p); p.x += xdist; p.y += ydist; ... | 1,109,808 |
protected void translateAllComponents(int xdist, int ydist) { Rectangle visibleArea = parent.getVisibleRect(); Point p = new Point(); for (int i = 0, n = parent.getComponentCount(); i < n; i++) { JComponent c = (JComponent) parent.getComponent(i); p = c.getLocation(p); p.x += xdist; p.y += ydist; ... | protected void translateAllComponents(int xdist, int ydist) { Rectangle visibleArea = parent.getVisibleRect(); Point p = new Point(); for (int i = 0, n = parent.getComponentCount(); i < n; i++) { JComponent c = (JComponent) parent.getComponent(i); p = c.getLocation(p); p.x += xdist; p.y += ydist; ... | 1,109,809 |
public PlayPen() { super(); setLayout(new PlayPenLayout(this)); setName("Play Pen"); setMinimumSize(new Dimension(200,200)); setOpaque(true); dt = new DropTarget(this, new PlayPenDropListener()); } | public PlayPen(SQLDatabase db) { super(); setLayout(new PlayPenLayout(this)); setName("Play Pen"); setMinimumSize(new Dimension(200,200)); setOpaque(true); dt = new DropTarget(this, new PlayPenDropListener()); } | 1,109,810 |
public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | 1,109,812 |
public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | 1,109,813 |
public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); if (command == "Open"){ int returnVal = fc.showOpenDialog(this); if (returnVal == JFileChooser.APPROVE_OPTION) { try{ theData = new HaploData(fc.getSelectedFile()); infileName = fc.getSelectedFile().getName(); ... | public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); if (command == "Open"){ int returnVal = fc.showOpenDialog(this); if (returnVal == JFileChooser.APPROVE_OPTION) { try{ theData = new HaploData(fc.getSelectedFile()); infileName = fc.getSelectedFile().getName(); ... | 1,109,814 |
void doExportDPrime(){ int returnVal = fc.showSaveDialog(this); if (returnVal == JFileChooser.APPROVE_OPTION){ try { int scaleSize = theData.dPrimeTable.length*30; DrawingMethods dm = new DrawingMethods(); BufferedImage image = new BufferedImage(scaleSize, scaleSize, BufferedImage.TYPE_3BYTE_BGR); dm.dPrime... | void doExportDPrime(){ int returnVal = fc.showSaveDialog(this); if (returnVal == JFileChooser.APPROVE_OPTION){ try { int scaleSize = theData.dPrimeTable.length*30; DrawingMethods dm = new DrawingMethods(); BufferedImage image = new BufferedImage(scaleSize, scaleSize, BufferedImage.TYPE_3BYTE_BGR); dm.dPrime... | 1,109,815 |
void drawPicture(HaploData theData){ contents = getContentPane(); contents.removeAll(); //first, draw the D' picture contents.setLayout(new BoxLayout(contents, BoxLayout.Y_AXIS)); theDPrime = new DPrimePanel(theData.dPrimeTable); JPanel holderPanel = new JPanel(); holderPanel.add(theDPrime); holderPanel.setBackgrou... | void drawPicture(HaploData theData){ contents = getContentPane(); contents.removeAll(); //first, draw the D' picture contents.setLayout(new BoxLayout(contents, BoxLayout.Y_AXIS)); theDPrime = new DPrimePanel(theData.dPrimeTable, infoKnown, theData.markerInfo); JPanel holderPanel = new JPanel(); holderPanel.add(theD... | 1,109,816 |
public String draw(DashboardContext context) { StringBuffer output = new StringBuffer(component.draw(context)); String appId = context.getWebContext().getApplicationConfig().getApplicationId(); output.append("\n<script>"); output.append("self.setTimeout(\"refreshDBComponent("); ou... | public String draw(DashboardContext context) { StringBuffer output = new StringBuffer(); output.append("<div id=\"" + getId() + "\">"); output.append(component.draw(context)); output.append("</div>"); String appId = context.getWebContext().getApplicationConfig().getApplicationId(); output.appe... | 1,109,817 |
private void search(String searchText) { rowMapping = null; fireTableDataChanged(); List<Integer> newRowMap = new ArrayList<Integer>(); CharSequence searchSubSequence = searchText == null ? null : searchText.toLowerCase().subSequence(0,searchText.length()); for ( int row =... | private void search(String searchText) { rowMapping = null; fireTableDataChanged(); List<Integer> newRowMap = new ArrayList<Integer>(); CharSequence searchSubSequence = searchText == null ? null : searchText.toLowerCase().subSequence(0,searchText.length()); for ( int row =... | 1,109,818 |
public void testIndexing() { int n; ExternalVolume v = new ExternalVolume( "extVol", extVolDir.getAbsolutePath() ); ExtVolIndexer indexer = new ExtVolIndexer( v ); indexer.setTopFolder( topFolder ); TestListener l = new TestListener(); indexer.addIndexerListener( l ); ... | public void testIndexing() { int n; ExternalVolume v = new ExternalVolume( "extVol", extVolDir.getAbsolutePath() ); ExtVolIndexer indexer = new ExtVolIndexer( v ); indexer.setTopFolder( topFolder ); TestListener l = new TestListener(); indexer.addIndexerListener( l ); ... | 1,109,821 |
public boolean doConsistencyCheck() { boolean isConsistent = true; boolean needsHashCheck = false; ODMGXAWrapper txw = new ODMGXAWrapper(); txw.lock( this, Transaction.WRITE ); File f = this.getImageFile(); if ( f.exists() ) { long size = f.length(); if ( size != th... | public boolean doConsistencyCheck() { boolean isConsistent = true; boolean needsHashCheck = false; ODMGXAWrapper txw = new ODMGXAWrapper(); txw.lock( this, Transaction.WRITE ); File f = this.getImageFile(); if ( f.exists() ) { long size = f.length(); if ( size != th... | 1,109,823 |
private boolean isProperJoin(StorableProperty<?> property) throws SupportException, RepositoryException { if (!property.isJoin() || property.isQuery()) { return false; } // Make up a filter over the join's internal properties and then search // for an index that filt... | private boolean isProperJoin(StorableProperty<?> property) throws SupportException, RepositoryException { if (!property.isJoin() || property.isQuery()) { return false; } // Make up a filter over the join's internal properties and then search // for an index that filt... | 1,109,824 |
private boolean isProperJoin(StorableProperty<?> property) throws SupportException, RepositoryException { if (!property.isJoin() || property.isQuery()) { return false; } // Make up a filter over the join's internal properties and then search // for an index that filt... | private boolean isProperJoin(StorableProperty<?> property) throws SupportException, RepositoryException { if (!property.isJoin() || property.isQuery()) { return false; } // Make up a filter over the join's internal properties and then search // for an index that filt... | 1,109,825 |
public void testRotationChange() { ThumbnailView view = new ThumbnailView(); view.setPhoto( photo ); pane.add( view ); showFrame(); Iterator writers = ImageIO.getImageWritersByFormatName("png"); ImageWriter writer = (ImageWriter)writers.next(); tester.waitForIdle(); // TODO: FIX for build errors // BufferedImag... | public void testRotationChange() { ThumbnailView view = new ThumbnailView(); view.setPhoto( photo ); pane.add( view ); showFrame(); Iterator writers = ImageIO.getImageWritersByFormatName("png"); ImageWriter writer = (ImageWriter)writers.next(); tester.waitForIdle(); // TODO: FIX for build errors // BufferedImag... | 1,109,826 |
public void testThumbnailShow() { ThumbnailView view = new ThumbnailView(); view.setPhoto( photo ); pane.add( view ); showFrame(); view.repaint(); tester.waitForIdle();// Iterator writers = ImageIO.getImageWritersByFormatName("png");// ImageWriter writer = (ImageWriter)writers.next();// BufferedImage bi = abbot.t... | public void testThumbnailShow() { ThumbnailView view = new ThumbnailView(); view.setPhoto( photo ); pane.add( view ); showFrame(); view.repaint(); tester.waitForIdle();// Iterator writers = ImageIO.getImageWritersByFormatName("png");// ImageWriter writer = (ImageWriter)writers.next();// BufferedImage bi = abbot.t... | 1,109,828 |
public void stateChanged(ChangeEvent e) { if (tabs.getSelectedIndex() != -1){ window.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); String title = tabs.getTitleAt(tabs.getSelectedIndex()); if (title.equals(VIEW_DPRIME) || title.equals(VIEW_HAPL... | public void stateChanged(ChangeEvent e) { if (tabs.getSelectedIndex() != -1){ window.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); String title = tabs.getTitleAt(tabs.getSelectedIndex()); if (title.equals(VIEW_DPRIME) || title.equals(VIEW_HAPL... | 1,109,830 |
public Object convert(Class type, Object value) { if ( value != null ) { String text = value.toString(); StringTokenizer enum = new StringTokenizer( text, "," ); int width = 0; int height = 0; if ( enum.hasMoreTokens() ) { width = parseNum... | public Object convert(Class type, Object value) { if ( value != null ) { String text = value.toString(); StringTokenizer dimensionEnum = new StringTokenizer( text, "," ); int width = 0; int height = 0; if ( enum.hasMoreTokens() ) { width =... | 1,109,831 |
public Object convert(Class type, Object value) { if ( value != null ) { String text = value.toString(); StringTokenizer enum = new StringTokenizer( text, "," ); int width = 0; int height = 0; if ( enum.hasMoreTokens() ) { width = parseNum... | public Object convert(Class type, Object value) { if ( value != null ) { String text = value.toString(); StringTokenizer enum = new StringTokenizer( text, "," ); int width = 0; int height = 0; if ( enum.hasMoreTokens() ) { width = parseNum... | 1,109,832 |
public Object convert(Class type, Object value) { if ( value != null ) { String text = value.toString(); StringTokenizer enum = new StringTokenizer( text, "," ); int width = 0; int height = 0; if ( enum.hasMoreTokens() ) { width = parseNum... | public Object convert(Class type, Object value) { if ( value != null ) { String text = value.toString(); StringTokenizer enum = new StringTokenizer( text, "," ); int width = 0; int height = 0; if ( enum.hasMoreTokens() ) { width = parseNum... | 1,109,833 |
static Vector do4Gamete(PairwiseLinkage[][] dPrime){ Vector blocks = new Vector(); Vector strongPairs = new Vector(); //first make a list of marker pairs with < 4 gametes, sorted by distance apart for (int x = 0; x < dPrime.length-1; x++){ for (int y = x+1; y < dPrime.length; ... | static Vector do4Gamete(PairwiseLinkage[][] dPrime){ Vector blocks = new Vector(); Vector strongPairs = new Vector(); //first make a list of marker pairs with < 4 gametes, sorted by distance apart for (int x = 0; x < dPrime.length-1; x++){ for (int y = x+1; y < dPrime.length; ... | 1,109,835 |
protected void processBean(String var, Object bean) throws Exception { if (var != null) { context.setVariable(var, bean); } // now lets try set the parent property via calling the adder or the setter method if (bean != null) { Object parentObject = getParent... | protected void processBean(String var, Object bean) throws Exception { if (var != null) { context.setVariable(var, bean); } // now lets try set the parent property via calling the adder or the setter method if (bean != null) { Object parentObject = getParent... | 1,109,836 |
private static void createAndShowGUI() { contentFrame = new JFrame("Haploview Error Log"); contentFrame.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE); JComponent newContentPane = new JPanel(); newContentPane.setOpaque(true); //content panes must be opaque errorTextArea = new JTex... | private static void createAndShowGUI() { contentFrame = new JFrame("Haploview Error Log"); contentFrame.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE); JComponent newContentPane = new JPanel(); newContentPane.setOpaque(true); //content panes must be opaque errorTextArea = new JTex... | 1,109,837 |
public String getURL(String action) { return doc.getURL(action, context); } | public String getURL(String action) { return doc.getURL(action, context); } | 1,109,838 |
public void actionPerformed(ActionEvent e) { TreePath p = getSelectionPath(); if (p == null) { return; } SQLObject so = (SQLObject) p.getLastPathComponent(); if (so instanceof SQLDatabase) { DBConnectionSpec dbcs = ((SQLDatabase) so).getConnectionSpec(); logger.debug("Setting existing DBCS on panel... | public void actionPerformed(ActionEvent e) { TreePath p = getSelectionPath(); if (p == null) { return; } SQLObject so = (SQLObject) p.getLastPathComponent(); if (so instanceof SQLDatabase) { DBConnectionSpec dbcs = ((SQLDatabase) so).getConnectionSpec(); logger.debug("Setting existing DBCS on panel... | 1,109,839 |
public void actionPerformed(ActionEvent e) { TreePath p = getSelectionPath(); if (p == null) { return; } SQLObject so = (SQLObject) p.getLastPathComponent(); if (so instanceof SQLDatabase) { DBConnectionSpec dbcs = ((SQLDatabase) so).getConnectionSpec(); logger.debug("Setting existing DBCS on panel... | public void actionPerformed(ActionEvent e) { TreePath p = getSelectionPath(); if (p == null) { return; } SQLObject so = (SQLObject) p.getLastPathComponent(); if (so instanceof SQLDatabase) { DBConnectionSpec dbcs = ((SQLDatabase) so).getConnectionSpec(); logger.debug("Setting existing DBCS on panel... | 1,109,840 |
public void actionPerformed(ActionEvent e) { TreePath p = getSelectionPath(); if (p == null) { return; } SQLObject so = (SQLObject) p.getLastPathComponent(); if (so instanceof SQLDatabase) { DBConnectionSpec dbcs = ((SQLDatabase) so).getConnectionSpec(); logger.debug("Setting existing DBCS on panel... | public void actionPerformed(ActionEvent e) { TreePath p = getSelectionPath(); if (p == null) { return; } SQLObject so = (SQLObject) p.getLastPathComponent(); if (so instanceof SQLDatabase) { DBConnectionSpec dbcs = ((SQLDatabase) so).getConnectionSpec(); logger.debug("Setting existing DBCS on panel... | 1,109,841 |
public void cleanup() throws ArchitectException { setCleanupExceptionMessage("Could not populate catalog dropdown!"); catalogComboBox.removeAllItems(); catalogComboBox.setEnabled(false); schemaComboBox.removeAllItems(); schemaComboBox.setEnabled(false); try { if (database.isCatalogContainer()) { for (SQLOb... | public void cleanup() throws ArchitectException { setCleanupExceptionMessage("Could not populate catalog dropdown!"); catalogComboBox.removeAllItems(); catalogComboBox.setEnabled(false); schemaComboBox.removeAllItems(); schemaComboBox.setEnabled(false); try { if (database.isCatalogContainer()) { for (SQLOb... | 1,109,842 |
public void testPhotoAddition() { String testImgDir = "c:\\java\\photovault\\testfiles"; String fname = "test1.jpg"; File f = new File( testImgDir, fname ); PhotoInfo photo = null; try { photo = PhotoInfo.addToDB( f ); } catch ( PhotoNotFoundException e ) { fail( "Could not find photo: " + e.getMessage() );... | public void testPhotoAddition() { String fname = "test1.jpg"; File f = new File( testImgDir, fname ); PhotoInfo photo = null; try { photo = PhotoInfo.addToDB( f ); } catch ( PhotoNotFoundException e ) { fail( "Could not find photo: " + e.getMessage() ); } PhotoFolder folder = null; // Create a folder for t... | 1,109,843 |
public void actionPerformed(ActionEvent evt) { // update the progress bar try { Integer jobSize = monitorable.getJobSize(); if (jobSize == null) { bar.setIndeterminate(true); } else { bar.setIndeterminate(false); bar.setMaximum(jobSize.intValue()); } if (label != null) { label.setVisible(true);... | public void actionPerformed(ActionEvent evt) { // update the progress bar logger.debug("all done, terminating timer thread..."); try { logger.debug("monitorable.isFinished():" + monitorable.isFinished()); Integer jobSize = monitorable.getJobSize(); if (jobSize == null) { bar.setIndeterminate(true); } else {... | 1,109,844 |
protected void revertToUserSettings() throws ArchitectException { dtm.setRoot(new DefaultMutableTreeNode()); LoadJDBCDrivers ljd = new LoadJDBCDrivers(session.getDriverJarList()); LoadJDBCDriversWorker worker = new LoadJDBCDriversWorker(ljd); ProgressWatcher watcher = new ProgressWatcher(progressBar,ljd,pr... | protected void revertToUserSettings() throws ArchitectException { dtm.setRoot(new DefaultMutableTreeNode()); LoadJDBCDrivers ljd = new LoadJDBCDrivers(session.getDriverJarList()); LoadJDBCDriversWorker worker = new LoadJDBCDriversWorker(ljd); ProgressWatcher watcher = new ProgressWatcher(progressBar,ljd,pr... | 1,109,848 |
public void doStuff() { finished = false; hasStarted = true; if (isCanceled() || finished) return; SQLDatabase target = new SQLDatabase(targetDataSource); statusLabel.setText("Creating objects in target database " + target.getDataSource() ); // XXX This is not being used but possibly should be?? //Progr... | public void doStuff() { finished = false; hasStarted = true; if (isCanceled() || finished) return; SQLDatabase target = new SQLDatabase(targetDataSource); statusLabel.setText("Creating objects in target database " + target.getDataSource() ); // XXX This is not being used but possibly should be?? //Progr... | 1,109,849 |
public CoreUserSettings read(ArchitectSession session) throws IOException { logger.debug("loading UserSettings from java.util.prefs."); if ( prefs == null ) { prefs = ArchitectFrame.getMainInstance().getPrefs(); } logger.debug("Preferences class = " + prefs.getClass()); CoreUserSettings use... | public CoreUserSettings read(ArchitectSession session) throws IOException { logger.debug("loading UserSettings from java.util.prefs."); if ( prefs == null ) { prefs = ArchitectFrame.getMainInstance().getPrefs(); } logger.debug("Preferences class = " + prefs.getClass()); CoreUserSettings use... | 1,109,850 |
public CoreUserSettings read(ArchitectSession session) throws IOException { logger.debug("loading UserSettings from java.util.prefs."); if ( prefs == null ) { prefs = ArchitectFrame.getMainInstance().getPrefs(); } logger.debug("Preferences class = " + prefs.getClass()); CoreUserSettings use... | public CoreUserSettings read(ArchitectSession session) throws IOException { logger.debug("loading UserSettings from java.util.prefs."); if ( prefs == null ) { prefs = ArchitectFrame.getMainInstance().getPrefs(); } logger.debug("Preferences class = " + prefs.getClass()); CoreUserSettings use... | 1,109,851 |
public void write(ArchitectSession session) throws ArchitectException { logger.debug("Saving prefs to java.util.prefs"); if ( prefs == null ) { prefs = ArchitectFrame.getMainInstance().getPrefs(); } CoreUserSettings userSettings = session.getUserSettings(); List<String> driverJarList = sess... | public void write(ArchitectSession session) throws ArchitectException { logger.debug("Saving prefs to java.util.prefs"); if ( prefs == null ) { prefs = ArchitectFrame.getMainInstance().getPrefs(); } CoreUserSettings userSettings = session.getUserSettings(); List<String> driverJarList = sess... | 1,109,852 |
public void write(ArchitectSession session) throws ArchitectException { logger.debug("Saving prefs to java.util.prefs"); if ( prefs == null ) { prefs = ArchitectFrame.getMainInstance().getPrefs(); } CoreUserSettings userSettings = session.getUserSettings(); List<String> driverJarList = sess... | public void write(ArchitectSession session) throws ArchitectException { logger.debug("Saving prefs to java.util.prefs"); if ( prefs == null ) { prefs = ArchitectFrame.getMainInstance().getPrefs(); } CoreUserSettings userSettings = session.getUserSettings(); List<String> driverJarList = sess... | 1,109,853 |
public void removeAllDriverJars() { driverJarList.clear(); } | public void removeAllDriverJars() { driverJarList.clear(); } | 1,109,855 |
public List getConnections() { List connections = new ArrayList(); Iterator it = fileSections.iterator(); while (it.hasNext()) { Object next = it.next(); if (next instanceof ArchitectDataSource) { connections.add(next); } } Collections.sort(connecti... | public List getConnections() { List<ArchitectDataSource> connections = new ArrayList<ArchitectDataSource>(); Iterator it = fileSections.iterator(); while (it.hasNext()) { Object next = it.next(); if (next instanceof ArchitectDataSource) { connections.add(next); } ... | 1,109,857 |
public List getConnections() { List connections = new ArrayList(); Iterator it = fileSections.iterator(); while (it.hasNext()) { Object next = it.next(); if (next instanceof ArchitectDataSource) { connections.add(next); } } Collections.sort(connecti... | public List getConnections() { List connections = new ArrayList(); Iterator it = fileSections.iterator(); while (it.hasNext()) { Object next = it.next(); if (next instanceof ArchitectDataSource) { connections.add((ArchitectDataSource) next); } } Col... | 1,109,858 |
public List getConnections() { List connections = new ArrayList(); Iterator it = fileSections.iterator(); while (it.hasNext()) { Object next = it.next(); if (next instanceof ArchitectDataSource) { connections.add(next); } } Collections.sort(connecti... | public List getConnections() { List connections = new ArrayList(); Iterator it = fileSections.iterator(); while (it.hasNext()) { Object next = it.next(); if (next instanceof ArchitectDataSource) { connections.add(next); } } Collections.sort(connecti... | 1,109,859 |
public void actionPerformed(ActionEvent evt) { pp.fireCancel(); SQLTable t = new SQLTable(); try { t.initFolders(true); } catch (ArchitectException e) { logger.error("Couldn't add folder to table \""+t.getName()+"\"", e); JOptionPane.showMessageDialog(null, "Failed to add folder to table:\n"+e.getMessage());... | public void actionPerformed(ActionEvent evt) { pp.fireCancel(); SQLTable t = null; try { t.initFolders(true); } catch (ArchitectException e) { logger.error("Couldn't add folder to table \""+t.getName()+"\"", e); JOptionPane.showMessageDialog(null, "Failed to add folder to table:\n"+e.getMessage()); } t.set... | 1,109,861 |
public void doTag(XMLOutput output) throws Exception { Object obj = getObject(); if ( this.task != null ) { Method method = MethodUtils.getAccessibleMethod( this.task.getClass(), "addText", ... | public void doTag(XMLOutput output) throws Exception { Object obj = getObject(); if ( this.task != null ) { Method method = MethodUtils.getAccessibleMethod( this.task.getClass(), "addText", ... | 1,109,863 |
public Connection createConnection() throws SQLException { try { if (dataSource.getDriverClass() == null || dataSource.getDriverClass().trim().length() == 0) { throw new SQLException("Connection \""+dataSource.getName()+"\" has no JDBC Driver class specified."); } if (dataSource.getUrl() == null ... | public Connection createConnection() throws SQLException { try { if (dataSource.getDriverClass() == null || dataSource.getDriverClass().trim().length() == 0) { throw new SQLException("Connection \""+dataSource.getName()+"\" has no JDBC Driver class specified."); } if (dataSource.getUrl() == null ... | 1,109,864 |
public static void main(String[] args) { int exitValue = 0; String dir = System.getProperty("user.dir"); String sep = System.getProperty("file.separator"); String ver = System.getProperty("java.version"); //TODO:do some version checking and bitch at people with old JVMs /*S... | public static void main(String[] args) { int exitValue = 0; String dir = System.getProperty("user.dir"); String sep = System.getProperty("file.separator"); String ver = System.getProperty("java.version"); //TODO:do some version checking and bitch at people with old JVMs /*S... | 1,109,865 |
public static void main(String[] args) { int exitValue = 0; String dir = System.getProperty("user.dir"); String sep = System.getProperty("file.separator"); String ver = System.getProperty("java.version"); //TODO:do some version checking and bitch at people with old JVMs /*S... | public static void main(String[] args) { int exitValue = 0; String dir = System.getProperty("user.dir"); String sep = System.getProperty("file.separator"); String ver = System.getProperty("java.version"); //TODO:do some version checking and bitch at people with old JVMs /*S... | 1,109,866 |
public void saveHapsToText(Haplotype[][] finishedHaplos, double[] multidprime, File saveHapsFile) throws IOException{ if (finishedHaplos == null) return; NumberFormat nf = NumberFormat.getInstance(Locale.US); nf.setMinimumFractionDigits(3); nf.setMaximumFrac... | public void saveHapsToText(Haplotype[][] finishedHaplos, double[] multidprime, File saveHapsFile) throws IOException{ if (finishedHaplos == null) return; NumberFormat nf = NumberFormat.getInstance(Locale.US); nf.setMinimumFractionDigits(3); nf.setMaximumFrac... | 1,109,869 |
protected Tag createScriptTag(String name, Attributes attributes) throws JellyException { try { return new ScriptTag( expressionFactory.getBSFEngine() ); } catch (BSFException e) { throw new JellyException("Failed to create BSFEngine: " + e, e); } } | protected Tag createScriptTag(String name, Attributes attributes) throws JellyException { try { return new ScriptTag( expressionFactory.getBSFEngine(), expressionFactory.getBSFManager()); } catch (BSFException e) { throw new JellyException("Failed to create BSFEngine: " + ... | 1,109,870 |
public void doTag(XMLOutput output) throws Exception { hasIDAttribute = false; Project project = getAntProject(); String tagName = getTagName(); Object parentObject = findBeanAncestor(); // lets assume that Task instances are not nested inside other Task instances // for ex... | public void doTag(XMLOutput output) throws Exception { Project project = getAntProject(); String tagName = getTagName(); Object parentObject = findBeanAncestor(); // lets assume that Task instances are not nested inside other Task instances // for example <manifest> inside... | 1,109,871 |
public void doTag(XMLOutput output) throws Exception { hasIDAttribute = false; Project project = getAntProject(); String tagName = getTagName(); Object parentObject = findBeanAncestor(); // lets assume that Task instances are not nested inside other Task instances // for ex... | public void doTag(XMLOutput output) throws Exception { hasIDAttribute = false; Project project = getAntProject(); String tagName = getTagName(); Object parentObject = findBeanAncestor(); // lets assume that Task instances are not nested inside other Task instances // for ex... | 1,109,873 |
public void doTag(XMLOutput output) throws Exception { hasIDAttribute = false; Project project = getAntProject(); String tagName = getTagName(); Object parentObject = findBeanAncestor(); // lets assume that Task instances are not nested inside other Task instances // for ex... | public void doTag(XMLOutput output) throws Exception { hasIDAttribute = false; Project project = getAntProject(); String tagName = getTagName(); Object parentObject = findBeanAncestor(); // lets assume that Task instances are not nested inside other Task instances // for ex... | 1,109,874 |
public void testFullScanExempt() throws Exception { // Although not all sub-results use an index, one that does has a join // so it is exempt from folding into the full scan. UnionQueryAnalyzer uqa = new UnionQueryAnalyzer(Shipment.class, TestIndexedQueryAnalyzer.RepoAccess.INSTANCE)... | public void testFullScanExempt() throws Exception { // Although not all sub-results use an index, one that does has a join // so it is exempt from folding into the full scan. UnionQueryAnalyzer uqa = new UnionQueryAnalyzer(Shipment.class, TestIndexedQueryAnalyzer.RepoAccess.INSTANCE)... | 1,109,876 |
public void testFullScanExempt() throws Exception { // Although not all sub-results use an index, one that does has a join // so it is exempt from folding into the full scan. UnionQueryAnalyzer uqa = new UnionQueryAnalyzer(Shipment.class, TestIndexedQueryAnalyzer.RepoAccess.INSTANCE)... | public void testFullScanExempt() throws Exception { // Although not all sub-results use an index, one that does has a join // so it is exempt from folding into the full scan. UnionQueryAnalyzer uqa = new UnionQueryAnalyzer(Shipment.class, TestIndexedQueryAnalyzer.RepoAccess.INSTANCE)... | 1,109,877 |
public void testFullScanExempt() throws Exception { // Although not all sub-results use an index, one that does has a join // so it is exempt from folding into the full scan. UnionQueryAnalyzer uqa = new UnionQueryAnalyzer(Shipment.class, TestIndexedQueryAnalyzer.RepoAccess.INSTANCE)... | public void testFullScanExempt() throws Exception { // Although not all sub-results use an index, one that does has a join // so it is exempt from folding into the full scan. UnionQueryAnalyzer uqa = new UnionQueryAnalyzer(Shipment.class, TestIndexedQueryAnalyzer.RepoAccess.INSTANCE)... | 1,109,878 |
public void testFullScanExempt() throws Exception { // Although not all sub-results use an index, one that does has a join // so it is exempt from folding into the full scan. UnionQueryAnalyzer uqa = new UnionQueryAnalyzer(Shipment.class, TestIndexedQueryAnalyzer.RepoAccess.INSTANCE)... | public void testFullScanExempt() throws Exception { // Although not all sub-results use an index, one that does has a join // so it is exempt from folding into the full scan. UnionQueryAnalyzer uqa = new UnionQueryAnalyzer(Shipment.class, TestIndexedQueryAnalyzer.RepoAccess.INSTANCE)... | 1,109,879 |
public void testSimpleUnion2() throws Exception { UnionQueryAnalyzer uqa = new UnionQueryAnalyzer(Shipment.class, TestIndexedQueryAnalyzer.RepoAccess.INSTANCE); Filter<Shipment> filter = Filter.filterFor(Shipment.class, "shipmentID = ? | ord... | public void testSimpleUnion2() throws Exception { UnionQueryAnalyzer uqa = new UnionQueryAnalyzer(Shipment.class, TestIndexedQueryAnalyzer.RepoAccess.INSTANCE); Filter<Shipment> filter = Filter.filterFor(Shipment.class, "shipmentID = ? | ord... | 1,109,881 |
public void testSimpleUnion2() throws Exception { UnionQueryAnalyzer uqa = new UnionQueryAnalyzer(Shipment.class, TestIndexedQueryAnalyzer.RepoAccess.INSTANCE); Filter<Shipment> filter = Filter.filterFor(Shipment.class, "shipmentID = ? | ord... | public void testSimpleUnion2() throws Exception { UnionQueryAnalyzer uqa = new UnionQueryAnalyzer(Shipment.class, TestIndexedQueryAnalyzer.RepoAccess.INSTANCE); Filter<Shipment> filter = Filter.filterFor(Shipment.class, "shipmentID = ? | ord... | 1,109,882 |
public void testSimpleUnion2() throws Exception { UnionQueryAnalyzer uqa = new UnionQueryAnalyzer(Shipment.class, TestIndexedQueryAnalyzer.RepoAccess.INSTANCE); Filter<Shipment> filter = Filter.filterFor(Shipment.class, "shipmentID = ? | ord... | public void testSimpleUnion2() throws Exception { UnionQueryAnalyzer uqa = new UnionQueryAnalyzer(Shipment.class, TestIndexedQueryAnalyzer.RepoAccess.INSTANCE); Filter<Shipment> filter = Filter.filterFor(Shipment.class, "shipmentID = ? | ord... | 1,109,883 |
public void doTag(XMLOutput output) throws Exception { // force project to be lazily constructed getProject().setDefaultGoalName( this.defaultGoalName ); org.apache.tools.ant.Project antProject = AntTagLibrary.getProject( context ); // allow access to Ant methods via the p... | public void doTag(XMLOutput output) throws Exception { // force project to be lazily constructed getProject().setDefaultGoalName( this.defaultGoalName ); org.apache.tools.ant.Project antProject = AntTagLibrary.getProject( context ); // allow access to Ant methods via the p... | 1,109,886 |
public void actionPerformed(ActionEvent e) { JFileChooser chooser = new JFileChooser(); chooser.addChoosableFileFilter(ASUtils.architectFileFilter); int returnVal = chooser.showSaveDialog(ArchitectFrame.this); if (returnVal == JFileChooser.APPROVE_OPTION) { project.setFile(chooser.getSelectedFile());... | public void actionPerformed(ActionEvent e) { JFileChooser chooser = new JFileChooser(); chooser.addChoosableFileFilter(ASUtils.architectFileFilter); int returnVal = chooser.showSaveDialog(ArchitectFrame.this); if (returnVal == JFileChooser.APPROVE_OPTION) { project.setFile(chooser.getSelectedFile());... | 1,109,890 |
public void actionPerformed(ActionEvent e) { System.exit(0); } | public void actionPerformed(ActionEvent e) { saveOrSaveAs(true); } | 1,109,891 |
public void actionPerformed(ActionEvent e) { if (configFile == null) configFile = ConfigFile.getDefaultInstance(); try { sprefs.setInt(SwingUserSettings.DIVIDER_LOCATION, splitPane.getDividerLocation()); sprefs.setInt(SwingUserSettings.MAIN_FRAME_X, getLocation().x); sprefs.setInt(SwingUserSettings... | public void actionPerformed(ActionEvent e) { if (configFile == null) configFile = ConfigFile.getDefaultInstance(); try { sprefs.setInt(SwingUserSettings.DIVIDER_LOCATION, splitPane.getDividerLocation()); sprefs.setInt(SwingUserSettings.MAIN_FRAME_X, getLocation().x); sprefs.setInt(SwingUserSettings... | 1,109,892 |
public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { if (var == null) { throw new MissingAttributeException( "var" ); } if (select == null) { throw new MissingAttributeException( "select" ); } Object xpathContext = getXPat... | public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { if (var == null) { throw new MissingAttributeException( "var" ); } if (select == null) { throw new MissingAttributeException( "select" ); } Object xpathContext = getXPat... | 1,109,894 |
public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { if (var == null) { throw new MissingAttributeException( "var" ); } if (select == null) { throw new MissingAttributeException( "select" ); } Object xpathContext = getXPat... | public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { if (var == null) { throw new MissingAttributeException( "var" ); } if (select == null) { throw new MissingAttributeException( "select" ); } Object xpathContext = getXPat... | 1,109,895 |
public void actionPerformed (ActionEvent e){ String command = e.getActionCommand(); if (dpButton.isSelected()){ if(txtButton.isSelected()){ adjButton.setEnabled(true); }else{ adjButton.setEnabled(false); if (adjButton.isSelected()){ ... | public void actionPerformed (ActionEvent e){ String command = e.getActionCommand(); if (dpButton.isSelected()){ if(txtButton.isSelected()){ adjButton.setEnabled(true); }else{ adjButton.setEnabled(false); if (adjButton.isSelected()){ ... | 1,109,897 |
public void actionPerformed (ActionEvent e){ String command = e.getActionCommand(); if (dpButton.isSelected()){ if(txtButton.isSelected()){ adjButton.setEnabled(true); }else{ adjButton.setEnabled(false); if (adjButton.isSelected()){ ... | public void actionPerformed (ActionEvent e){ String command = e.getActionCommand(); if (dpButton.isSelected()){ if(txtButton.isSelected()){ adjButton.setEnabled(true); }else{ adjButton.setEnabled(false); if (adjButton.isSelected()){ ... | 1,109,898 |
public PrintPanel(PlayPen pp) { super(); setOpaque(true); setLayout(new BoxLayout(this, BoxLayout.X_AXIS)); this.pp = pp; add(new PrintPreviewPanel()); job = PrinterJob.getPrinterJob(); jobAttributes = new HashPrintRequestAttributeSet(); pageFormat = job.defaultPage(); JPanel formPanel = new JPanel(new Fo... | public PrintPanel(PlayPen pp) { super(); setOpaque(true); setLayout(new BoxLayout(this, BoxLayout.X_AXIS)); this.pp = new PlayPen(pp); add(new PrintPreviewPanel()); job = PrinterJob.getPrinterJob(); jobAttributes = new HashPrintRequestAttributeSet(); pageFormat = job.defaultPage(); JPanel formPanel = new ... | 1,109,899 |
public PrintPanel(PlayPen pp) { super(); setOpaque(true); setLayout(new BoxLayout(this, BoxLayout.X_AXIS)); this.pp = pp; add(new PrintPreviewPanel()); job = PrinterJob.getPrinterJob(); jobAttributes = new HashPrintRequestAttributeSet(); pageFormat = job.defaultPage(); JPanel formPanel = new JPanel(new Fo... | public PrintPanel(PlayPen pp) { super(); setOpaque(true); setLayout(new BoxLayout(this, BoxLayout.X_AXIS)); this.pp = pp; add(new PrintPreviewPanel()); job = PrinterJob.getPrinterJob(); jobAttributes = new HashPrintRequestAttributeSet(); pageFormat = new PageFormat(); pageFormat.setPaper(new Paper()); page... | 1,109,900 |
public PrintPanel(PlayPen pp) { super(); setOpaque(true); setLayout(new BoxLayout(this, BoxLayout.X_AXIS)); this.pp = pp; add(new PrintPreviewPanel()); job = PrinterJob.getPrinterJob(); jobAttributes = new HashPrintRequestAttributeSet(); pageFormat = job.defaultPage(); JPanel formPanel = new JPanel(new Fo... | public PrintPanel(PlayPen pp) { super(); setOpaque(true); setLayout(new BoxLayout(this, BoxLayout.X_AXIS)); this.pp = pp; add(new PrintPreviewPanel()); job = PrinterJob.getPrinterJob(); jobAttributes = new HashPrintRequestAttributeSet(); pageFormat = job.defaultPage(); JPanel formPanel = new JPanel(new Fo... | 1,109,901 |
public void actionPerformed(ActionEvent e) { setPageFormat(job.pageDialog(jobAttributes)); } | public void actionPerformed(ActionEvent e) { setPageFormat(job.pageDialog(pageFormat)); } | 1,109,903 |
public int print(Graphics graphics, PageFormat pageFormat, int pageIndex) throws PrinterException { Graphics2D g2 = (Graphics2D) graphics; if (pageIndex < pagesAcross*pagesDown) { double leftMargin = pageFormat.getImageableX(); double topMargin = pageFormat.getImageableY(); double width = pageFormat.getImagea... | public int print(Graphics graphics, PageFormat pageFormat, int pageIndex) throws PrinterException { Graphics2D g2 = (Graphics2D) graphics; if (pageIndex < pagesAcross*pagesDown) { double leftMargin = pageFormat.getImageableX(); double topMargin = pageFormat.getImageableY(); double width = pageFormat.getImagea... | 1,109,904 |
public void stateChanged(ChangeEvent e) { if (tabs.getSelectedIndex() != -1){ window.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); int tabNum = tabs.getSelectedIndex(); if (tabNum == VIEW_D_NUM || tabNum == VIEW_HAP_NUM){ ex... | public void stateChanged(ChangeEvent e) { if (tabs.getSelectedIndex() != -1){ window.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); int tabNum = tabs.getSelectedIndex(); if (tabNum == VIEW_D_NUM || tabNum == VIEW_HAP_NUM){ ex... | 1,109,907 |
public void stateChanged(ChangeEvent e) { if (tabs.getSelectedIndex() != -1){ window.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); int tabNum = tabs.getSelectedIndex(); if (tabNum == VIEW_D_NUM || tabNum == VIEW_HAP_NUM){ ex... | public void stateChanged(ChangeEvent e) { if (tabs.getSelectedIndex() != -1){ window.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); int tabNum = tabs.getSelectedIndex(); if (tabNum == VIEW_D_NUM || tabNum == VIEW_HAP_NUM){ ex... | 1,109,908 |
public void stateChanged(ChangeEvent e) { if (tabs.getSelectedIndex() != -1){ window.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); int tabNum = tabs.getSelectedIndex(); if (tabNum == VIEW_D_NUM || tabNum == VIEW_HAP_NUM){ ex... | public void stateChanged(ChangeEvent e) { if (tabs.getSelectedIndex() != -1){ window.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); int tabNum = tabs.getSelectedIndex(); if (tabNum == VIEW_D_NUM || tabNum == VIEW_HAP_NUM){ ex... | 1,109,909 |
public void stateChanged(ChangeEvent e) { if (tabs.getSelectedIndex() != -1){ window.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); int tabNum = tabs.getSelectedIndex(); if (tabNum == VIEW_D_NUM || tabNum == VIEW_HAP_NUM){ ex... | public void stateChanged(ChangeEvent e) { if (tabs.getSelectedIndex() != -1){ window.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); int tabNum = tabs.getSelectedIndex(); if (tabNum == VIEW_D_NUM || tabNum == VIEW_HAP_NUM){ ex... | 1,109,910 |
public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); if (command.equals(READ_GENOTYPES)){ ReadDataDialog readDialog = new ReadDataDialog("Open new data", this); readDialog.pack(); readDialog.setVisible(true); } else if (command.equ... | public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); if (command.equals(READ_GENOTYPES)){ ReadDataDialog readDialog = new ReadDataDialog("Open new data", this); readDialog.pack(); readDialog.setVisible(true); } else if (command.equ... | 1,109,911 |
public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); if (command.equals(READ_GENOTYPES)){ ReadDataDialog readDialog = new ReadDataDialog("Open new data", this); readDialog.pack(); readDialog.setVisible(true); } else if (command.equ... | public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); if (command.equals(READ_GENOTYPES)){ ReadDataDialog readDialog = new ReadDataDialog("Open new data", this); readDialog.pack(); readDialog.setVisible(true); } else if (command.equ... | 1,109,912 |
public void changeBlocks(int method){ if (method == BLOX_NONE || method == BLOX_CUSTOM){ blockMenuItems[BLOX_CUSTOM].setSelected(true); } if (method != BLOX_CUSTOM){ theData.guessBlocks(method); } dPrimeDisplay.repaint(); currentBlockDef = method; ... | public void changeBlocks(int method){ if (method == BLOX_NONE || method == BLOX_CUSTOM){ blockMenuItems[BLOX_CUSTOM].setSelected(true); } if (method != BLOX_CUSTOM){ theData.guessBlocks(method); } dPrimeDisplay.repaint(); currentBlockDef = method; ... | 1,109,913 |
void export(int tabNum, int format, int start, int stop){ fc.setSelectedFile(new File("")); if (fc.showSaveDialog(this) == JFileChooser.APPROVE_OPTION){ File outfile = fc.getSelectedFile(); if (format == PNG_MODE || format == COMPRESSED_PNG_MODE){ BufferedImage ima... | void export(HaploviewTab tab, int format, int start, int stop){ fc.setSelectedFile(new File("")); if (fc.showSaveDialog(this) == JFileChooser.APPROVE_OPTION){ File outfile = fc.getSelectedFile(); if (format == PNG_MODE || format == COMPRESSED_PNG_MODE){ BufferedIma... | 1,109,914 |
void export(int tabNum, int format, int start, int stop){ fc.setSelectedFile(new File("")); if (fc.showSaveDialog(this) == JFileChooser.APPROVE_OPTION){ File outfile = fc.getSelectedFile(); if (format == PNG_MODE || format == COMPRESSED_PNG_MODE){ BufferedImage ima... | void export(int tabNum, int format, int start, int stop){ fc.setSelectedFile(new File("")); if (fc.showSaveDialog(this) == JFileChooser.APPROVE_OPTION){ File outfile = fc.getSelectedFile(); if (format == PNG_MODE || format == COMPRESSED_PNG_MODE){ BufferedImage ima... | 1,109,915 |
void export(int tabNum, int format, int start, int stop){ fc.setSelectedFile(new File("")); if (fc.showSaveDialog(this) == JFileChooser.APPROVE_OPTION){ File outfile = fc.getSelectedFile(); if (format == PNG_MODE || format == COMPRESSED_PNG_MODE){ BufferedImage ima... | void export(int tabNum, int format, int start, int stop){ fc.setSelectedFile(new File("")); if (fc.showSaveDialog(this) == JFileChooser.APPROVE_OPTION){ File outfile = fc.getSelectedFile(); if (format == PNG_MODE || format == COMPRESSED_PNG_MODE){ BufferedImage ima... | 1,109,916 |
void export(int tabNum, int format, int start, int stop){ fc.setSelectedFile(new File("")); if (fc.showSaveDialog(this) == JFileChooser.APPROVE_OPTION){ File outfile = fc.getSelectedFile(); if (format == PNG_MODE || format == COMPRESSED_PNG_MODE){ BufferedImage ima... | void export(int tabNum, int format, int start, int stop){ fc.setSelectedFile(new File("")); if (fc.showSaveDialog(this) == JFileChooser.APPROVE_OPTION){ File outfile = fc.getSelectedFile(); if (format == PNG_MODE || format == COMPRESSED_PNG_MODE){ BufferedImage ima... | 1,109,917 |
void export(int tabNum, int format, int start, int stop){ fc.setSelectedFile(new File("")); if (fc.showSaveDialog(this) == JFileChooser.APPROVE_OPTION){ File outfile = fc.getSelectedFile(); if (format == PNG_MODE || format == COMPRESSED_PNG_MODE){ BufferedImage ima... | void export(int tabNum, int format, int start, int stop){ fc.setSelectedFile(new File("")); if (fc.showSaveDialog(this) == JFileChooser.APPROVE_OPTION){ File outfile = fc.getSelectedFile(); if (format == PNG_MODE || format == COMPRESSED_PNG_MODE){ BufferedImage ima... | 1,109,918 |
void export(int tabNum, int format, int start, int stop){ fc.setSelectedFile(new File("")); if (fc.showSaveDialog(this) == JFileChooser.APPROVE_OPTION){ File outfile = fc.getSelectedFile(); if (format == PNG_MODE || format == COMPRESSED_PNG_MODE){ BufferedImage ima... | void export(int tabNum, int format, int start, int stop){ fc.setSelectedFile(new File("")); if (fc.showSaveDialog(this) == JFileChooser.APPROVE_OPTION){ File outfile = fc.getSelectedFile(); if (format == PNG_MODE || format == COMPRESSED_PNG_MODE){ BufferedImage ima... | 1,109,919 |
void readAnalysisFile(File inFile){ try{ theData.readAnalysisTrack(inFile); }catch (HaploViewException hve){ JOptionPane.showMessageDialog(this, hve.getMessage(), "File Error", JOptionPane.ERROR_MESSAGE); }catch (IOE... | void readAnalysisFile(File inFile){ try{ theData.readAnalysisTrack(inFile); }catch (HaploViewException hve){ JOptionPane.showMessageDialog(this, hve.getMessage(), "File Error", JOptionPane.ERROR_MESSAGE); }catch (IOE... | 1,109,920 |
void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | 1,109,921 |
void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | 1,109,922 |
void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | 1,109,923 |
void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | 1,109,924 |
void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | 1,109,925 |
void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | 1,109,926 |
void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | 1,109,927 |
void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | 1,109,928 |
void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | 1,109,929 |
void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | 1,109,930 |
public Object construct(){ dPrimeDisplay=null; changeKey(); theData.generateDPrimeTable(); theData.guessBlocks(BLOX_GABRIEL); //theData.guessBlocks(BLOX_NONE); //for debugging, doesn't call blocks at first ... | public Object construct(){ dPrimeDisplay=null; changeKey(); theData.generateDPrimeTable(); theData.guessBlocks(BLOX_GABRIEL); //theData.guessBlocks(BLOX_NONE); //for debugging, doesn't call blocks at first ... | 1,109,931 |
public Object construct(){ dPrimeDisplay=null; changeKey(); theData.generateDPrimeTable(); theData.guessBlocks(BLOX_GABRIEL); //theData.guessBlocks(BLOX_NONE); //for debugging, doesn't call blocks at first ... | public Object construct(){ dPrimeDisplay=null; changeKey(); theData.generateDPrimeTable(); theData.guessBlocks(BLOX_GABRIEL); //theData.guessBlocks(BLOX_NONE); //for debugging, doesn't call blocks at first ... | 1,109,932 |
public Object construct(){ dPrimeDisplay=null; changeKey(); theData.generateDPrimeTable(); theData.guessBlocks(BLOX_GABRIEL); //theData.guessBlocks(BLOX_NONE); //for debugging, doesn't call blocks at first ... | public Object construct(){ dPrimeDisplay=null; changeKey(); theData.generateDPrimeTable(); theData.guessBlocks(BLOX_GABRIEL); //theData.guessBlocks(BLOX_NONE); //for debugging, doesn't call blocks at first ... | 1,109,933 |
public Object construct(){ dPrimeDisplay=null; changeKey(); theData.generateDPrimeTable(); theData.guessBlocks(BLOX_GABRIEL); //theData.guessBlocks(BLOX_NONE); //for debugging, doesn't call blocks at first ... | public Object construct(){ dPrimeDisplay=null; changeKey(); theData.generateDPrimeTable(); theData.guessBlocks(BLOX_GABRIEL); //theData.guessBlocks(BLOX_NONE); //for debugging, doesn't call blocks at first ... | 1,109,934 |
public Object construct(){ dPrimeDisplay=null; changeKey(); theData.generateDPrimeTable(); theData.guessBlocks(BLOX_GABRIEL); //theData.guessBlocks(BLOX_NONE); //for debugging, doesn't call blocks at first ... | public Object construct(){ dPrimeDisplay=null; changeKey(); theData.generateDPrimeTable(); theData.guessBlocks(BLOX_GABRIEL); //theData.guessBlocks(BLOX_NONE); //for debugging, doesn't call blocks at first ... | 1,109,935 |
public Object construct(){ dPrimeDisplay=null; changeKey(); theData.generateDPrimeTable(); theData.guessBlocks(BLOX_GABRIEL); //theData.guessBlocks(BLOX_NONE); //for debugging, doesn't call blocks at first ... | public Object construct(){ dPrimeDisplay=null; changeKey(); theData.generateDPrimeTable(); theData.guessBlocks(BLOX_GABRIEL); //theData.guessBlocks(BLOX_NONE); //for debugging, doesn't call blocks at first ... | 1,109,936 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.