bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public void put(PlottableChunk[] chunks) throws SQLException, IOException { MicroSecondTimeRange stuffInDB = RangeTool.getFullTime(chunks); logger.debug("stuffInDB timeRange: " + stuffInDB); MicroSecondDate startTime = PlottableChunk.stripToDay(stuffInDB.getBeginTime()); logger.debug("st... | public void put(PlottableChunk[] chunks) throws SQLException, IOException { MicroSecondTimeRange stuffInDB = RangeTool.getFullTime(chunks); logger.debug("stuffInDB timeRange: " + stuffInDB); MicroSecondDate startTime = PlottableChunk.stripToDay(stuffInDB.getBeginTime()); logger.debug("st... | 1,117,652 |
public void put(PlottableChunk[] chunks) throws SQLException, IOException { MicroSecondTimeRange stuffInDB = RangeTool.getFullTime(chunks); logger.debug("stuffInDB timeRange: " + stuffInDB); MicroSecondDate startTime = PlottableChunk.stripToDay(stuffInDB.getBeginTime()); logger.debug("st... | public void put(PlottableChunk[] chunks) throws SQLException, IOException { MicroSecondTimeRange stuffInDB = RangeTool.getFullTime(chunks); logger.debug("stuffInDB timeRange: " + stuffInDB); MicroSecondDate startTime = PlottableChunk.stripToDay(stuffInDB.getBeginTime()); logger.debug("st... | 1,117,653 |
public void put(PlottableChunk[] chunks) throws SQLException, IOException { MicroSecondTimeRange stuffInDB = RangeTool.getFullTime(chunks); logger.debug("stuffInDB timeRange: " + stuffInDB); MicroSecondDate startTime = PlottableChunk.stripToDay(stuffInDB.getBeginTime()); logger.debug("st... | public void put(PlottableChunk[] chunks) throws SQLException, IOException { MicroSecondTimeRange stuffInDB = RangeTool.getFullTime(chunks); logger.debug("stuffInDB timeRange: " + stuffInDB); MicroSecondDate startTime = PlottableChunk.stripToDay(stuffInDB.getBeginTime()); logger.debug("st... | 1,117,654 |
public void put(PlottableChunk[] chunks) throws SQLException, IOException { MicroSecondTimeRange stuffInDB = RangeTool.getFullTime(chunks); logger.debug("stuffInDB timeRange: " + stuffInDB); MicroSecondDate startTime = PlottableChunk.stripToDay(stuffInDB.getBeginTime()); logger.debug("st... | public void put(PlottableChunk[] chunks) throws SQLException, IOException { MicroSecondTimeRange stuffInDB = RangeTool.getFullTime(chunks); logger.debug("stuffInDB timeRange: " + stuffInDB); MicroSecondDate startTime = PlottableChunk.stripToDay(stuffInDB.getBeginTime()); logger.debug("st... | 1,117,655 |
public void copyTo(BwEvent ev) { super.copyTo(ev); ev.setName(getName()); ev.setSummary(getSummary()); ev.setDescription(getDescription()); ev.setDtstart(getDtstart()); ev.setDtend(getDtend()); ev.setEndType(getEndType()); ev.setDuration(getDuration()); ev.setLink(getLink()); ev.setDelet... | public void copyTo(BwEvent ev) { super.copyTo(ev); ev.setName(getName()); ev.setSummary(getSummary()); ev.setDescription(getDescription()); ev.setDtstart(getDtstart()); ev.setDtend(getDtend()); ev.setEndType(getEndType()); ev.setDuration(getDuration()); ev.setLink(getLink()); ev.setDelet... | 1,117,657 |
public void copyTo(BwShareableContainedDbentity val) { super.copyTo(val); val.setCalendar((BwCalendar)getCalendar()); } | public void copyTo(BwShareableContainedDbentity val) { super.copyTo(val); val.setCalendar((BwCalendar)getCalendar().clone()); } | 1,117,658 |
public Object clone() { BwOrganizer nobj = new BwOrganizer(getId(), getCn(), getDir(), getLanguage(), getSentBy(), getOrganizerUri()); nobj.setId(getId()); r... | public Object clone() { BwOrganizer nobj = new BwOrganizer((BwUser)getOwner().clone(), getPublick(), getCn(), getDir(), getLanguage(), getSentBy(), getOrganizerUri... | 1,117,659 |
protected String calculateURL() throws JspException { String urlStr = super.calculateURL(); if (!PortletServlet.isPortletRequest(pageContext.getRequest())) { return urlStr; } try { URL url = new URL(urlStr); String path = url.getPath(); if (path.endsWith(".rdo")) { setRenderURL(... | protected String calculateURL() throws JspException { String urlStr = super.calculateURL(); if (!PortletServlet.isPortletRequest(pageContext.getRequest())) { return urlStr; } try { URL url = new URL(urlStr); String path = url.getPath(); if (path.endsWith(".rdo")) { setRenderURL(... | 1,117,660 |
public static LocalSeismogramImpl toFissures(DataRecord seed) throws SeedFormatException { DataHeader header = seed.getHeader(); edu.iris.Fissures.Time time = new edu.iris.Fissures.Time(header.getISOStartTime(), -1); // the network id isn'... | public static LocalSeismogramImpl toFissures(DataRecord seed) throws SeedFormatException { DataHeader header = seed.getHeader(); edu.iris.Fissures.Time time = new edu.iris.Fissures.Time(header.getISOStartTime(), -1); // the network id isn'... | 1,117,661 |
public static LocalSeismogramImpl toFissures(DataRecord seed) throws SeedFormatException { DataHeader header = seed.getHeader(); edu.iris.Fissures.Time time = new edu.iris.Fissures.Time(header.getISOStartTime(), -1); // the network id isn'... | public static LocalSeismogramImpl toFissures(DataRecord seed) throws SeedFormatException { DataHeader header = seed.getHeader(); edu.iris.Fissures.Time time = new edu.iris.Fissures.Time(header.getISOStartTime(), -1); // the network id isn'... | 1,117,662 |
public boolean isError() { return (error == null); } | public boolean isError() { return (error != null); } | 1,117,663 |
public static SacTimeSeries getSAC(LocalSeismogramImpl seis, Channel channel, Origin origin) throws CodecException { SacTimeSeries sac = getSAC(seis); addChannel(sac, channel); addOrigin(sac, origin); retu... | public static SacTimeSeries getSAC(LocalSeismogramImpl seis, Channel channel, Origin origin) throws CodecException { SacTimeSeries sac = getSAC(seis); addChannel(sac, channel); addOrigin(sac, origin); retu... | 1,117,664 |
public static SacTimeSeries getSAC(LocalSeismogramImpl seis, Channel channel, Origin origin) throws CodecException { SacTimeSeries sac = getSAC(seis); addChannel(sac, channel); addOrigin(sac, origin); retu... | public static SacTimeSeries getSAC(LocalSeismogramImpl seis, Channel channel, Origin origin) throws CodecException { SacTimeSeries sac = getSAC(seis); addChannel(sac, channel); addOrigin(sac, origin); retu... | 1,117,665 |
public void write(File file) throws FileNotFoundException, IOException { DataOutputStream dos = new DataOutputStream( new BufferedOutputStream( new FileOutputStream(file))); writeHeader(dos); writeData(dos); dos.clos... | public void write(File file) throws FileNotFoundException, IOException { DataOutputStream dos = new DataOutputStream( new BufferedOutputStream( new FileOutputStream(file))); writeHeader(dos); writeData(dos); dos.clos... | 1,117,666 |
TimezonesImpl(boolean debug, BwUser user, RestoreIntf ri) throws CalFacadeException { this.debug = debug; this.user = user; this.ri = ri; // Force fetch of timezones //lookup("not-a-timezone"); } | TimezonesImpl(boolean debug, BwUser user, RestoreIntf ri) throws CalFacadeException { super(debug); this.user = user; this.ri = ri; // Force fetch of timezones //lookup("not-a-timezone"); } | 1,117,667 |
public VTimeZone findTimeZone(final String id, BwUser owner) throws CalFacadeException { if (debug) { trace("find timezone with id " + id + " for owner " + owner); } TimezoneInfo tzinfo = lookup(id); if ((tzinfo != null) && (tzinfo.vtz != null)) { return tzinfo.vtz; } /* Do we need to look... | public VTimeZone findTimeZone(final String id, BwUser owner) throws CalFacadeException { if (debug) { trace("find timezone with id " + id + " for owner " + owner); } TimezoneInfo tzinfo = lookup(id); if ((tzinfo != null) && (tzinfo.vtz != null)) { return tzinfo.vtz; } /* Do we need to look... | 1,117,668 |
public TimeZone getTimeZone(final String id) throws CalFacadeException { TimezoneInfo tzinfo = lookup(id); /* Do we need to look up anything? if (tzinfo == null) { VTimeZone vTimeZone = cal.getTimeZone(id, null); if (vTimeZone == null) { return null; } tzinfo = new TimezoneInfo(); ... | public TimeZone getTimeZone(final String id) throws CalFacadeException { TimezoneInfo tzinfo = lookup(id); /* Do we need to look up anything? if (tzinfo == null) { VTimeZone vTimeZone = cal.getTimeZone(id, null); if (vTimeZone == null) { return null; } tzinfo = new TimezoneInfo(); ... | 1,117,669 |
private TimezoneInfo lookup(String id) throws CalFacadeException { TimezoneInfo tzinfo; /* if (!systemTimezonesInitialised) { // First call (after reinit) synchronized (this) { if (!systemTimezonesInitialised) { Collection tzs = cal.getPublicTimeZones(); Iterator it = tzs.i... | private TimezoneInfo lookup(String id) throws CalFacadeException { TimezoneInfo tzinfo; /* if (!systemTimezonesInitialised) { // First call (after reinit) synchronized (this) { if (!systemTimezonesInitialised) { Collection tzs = cal.getPublicTimeZones(); Iterator it = tzs.i... | 1,117,670 |
private TimezoneInfo lookup(String id) throws CalFacadeException { TimezoneInfo tzinfo; /* if (!systemTimezonesInitialised) { // First call (after reinit) synchronized (this) { if (!systemTimezonesInitialised) { Collection tzs = cal.getPublicTimeZones(); Iterator it = tzs.i... | private TimezoneInfo lookup(String id) throws CalFacadeException { TimezoneInfo tzinfo; /* if (!systemTimezonesInitialised) { // First call (after reinit) synchronized (this) { if (!systemTimezonesInitialised) { Collection tzs = cal.getPublicTimeZones(); Iterator it = tzs.i... | 1,117,671 |
private TimezoneInfo lookup(String id) throws CalFacadeException { TimezoneInfo tzinfo; /* if (!systemTimezonesInitialised) { // First call (after reinit) synchronized (this) { if (!systemTimezonesInitialised) { Collection tzs = cal.getPublicTimeZones(); Iterator it = tzs.i... | private TimezoneInfo lookup(String id) throws CalFacadeException { TimezoneInfo tzinfo; /* if (!systemTimezonesInitialised) { // First call (after reinit) synchronized (this) { if (!systemTimezonesInitialised) { Collection tzs = cal.getPublicTimeZones(); Iterator it = tzs.i... | 1,117,672 |
public void refreshTimezones() throws CalFacadeException { synchronized (this) { //systemTimezonesInitialised = false; systemTimezones = new HashMap(); } // force refresh now lookup("not-a-timezone"); } | public void refreshTimezones() throws CalFacadeException { synchronized (this) { //systemTimezonesInitialised = false; } // force refresh now lookup("not-a-timezone"); } | 1,117,673 |
public void saveTimeZone(String tzid, VTimeZone vtz) throws CalFacadeException { /* For a user update the map to avoid a refetch. For system timezones we will force a refresh when we're done. */ BwTimeZone tz = new BwTimeZone(); tz.setTzid(tzid); tz.setPublick(publick); tz.setOwner(us... | public void saveTimeZone(String tzid, VTimeZone vtz) throws CalFacadeException { /* For a user update the map to avoid a refetch. For system timezones we will force a refresh when we're done. */ BwTimeZone btz = new BwTimeZone(); tz.setTzid(tzid); tz.setPublick(publick); tz.setOwner(u... | 1,117,674 |
public void saveTimeZone(String tzid, VTimeZone vtz) throws CalFacadeException { /* For a user update the map to avoid a refetch. For system timezones we will force a refresh when we're done. */ BwTimeZone tz = new BwTimeZone(); tz.setTzid(tzid); tz.setPublick(publick); tz.setOwner(us... | public void saveTimeZone(String tzid, VTimeZone vtz) throws CalFacadeException { /* For a user update the map to avoid a refetch. For system timezones we will force a refresh when we're done. */ BwTimeZone tz = new BwTimeZone(); tz.setTzid(tzid); tz.setPublick(publick); tz.setOwner(us... | 1,117,675 |
public void saveTimeZone(String tzid, VTimeZone vtz) throws CalFacadeException { /* For a user update the map to avoid a refetch. For system timezones we will force a refresh when we're done. */ BwTimeZone tz = new BwTimeZone(); tz.setTzid(tzid); tz.setPublick(publick); tz.setOwner(us... | public void saveTimeZone(String tzid, VTimeZone vtz) throws CalFacadeException { /* For a user update the map to avoid a refetch. For system timezones we will force a refresh when we're done. */ BwTimeZone tz = new BwTimeZone(); tz.setTzid(tzid); tz.setPublick(publick); tz.setOwner(us... | 1,117,676 |
public void saveTimeZone(String tzid, VTimeZone vtz) throws CalFacadeException { /* For a user update the map to avoid a refetch. For system timezones we will force a refresh when we're done. */ BwTimeZone tz = new BwTimeZone(); tz.setTzid(tzid); tz.setPublick(publick); tz.setOwner(us... | public void saveTimeZone(String tzid, VTimeZone vtz) throws CalFacadeException { /* For a user update the map to avoid a refetch. For system timezones we will force a refresh when we're done. */ BwTimeZone tz = new BwTimeZone(); tz.setTzid(tzid); tz.setPublick(publick); tz.setOwner(us... | 1,117,677 |
public void saveTimeZone(String tzid, VTimeZone vtz) throws CalFacadeException { /* For a user update the map to avoid a refetch. For system timezones we will force a refresh when we're done. */ BwTimeZone tz = new BwTimeZone(); tz.setTzid(tzid); tz.setPublick(publick); tz.setOwner(us... | public void saveTimeZone(String tzid, VTimeZone vtz) throws CalFacadeException { /* For a user update the map to avoid a refetch. For system timezones we will force a refresh when we're done. */ BwTimeZone tz = new BwTimeZone(); tz.setTzid(tzid); tz.setPublick(publick); tz.setOwner(us... | 1,117,678 |
public void saveTimeZone(String tzid, VTimeZone vtz) throws CalFacadeException { /* For a user update the map to avoid a refetch. For system timezones we will force a refresh when we're done. */ BwTimeZone tz = new BwTimeZone(); tz.setTzid(tzid); tz.setPublick(publick); tz.setOwner(us... | public void saveTimeZone(String tzid, VTimeZone vtz) throws CalFacadeException { /* For a user update the map to avoid a refetch. For system timezones we will force a refresh when we're done. */ BwTimeZone tz = new BwTimeZone(); tz.setTzid(tzid); tz.setPublick(publick); tz.setOwner(us... | 1,117,679 |
public void write(IdeaDocument ideaDocument) throws Exception; | void write(IdeaDocument ideaDocument) throws Exception; | 1,117,680 |
public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { seismogramNameCache = null; // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element localSeismogram = doc.createEleme... | public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { seismogramNameCache = null; // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element localSeismogram = doc.createEleme... | 1,117,682 |
public Object getParameter(String name) { System.out.println("IN THE METHOD GET PARAMETER ****************************************************"); if (parameterCache.containsKey(name)) { SoftReference softReference = (SoftReference)parameterCache.get(name); if(softReference.get() != null) return softReferen... | public Object getParameter(String name) { System.out.println("IN THE METHOD GET PARAMETER ****************************************************"); if (parameterCache.containsKey(name)) { SoftReference softReference = (SoftReference)parameterCache.get(name); if(softReference.get() != null) return softReferen... | 1,117,683 |
public boolean getData(SeisDataChangeListener listener, RequestFilter[] requestFilters){ for (int i = 0; i < requestFilters.length; i++){ boolean found = false; for (int j = 0; j < this.requestFilters.length && !found; j++){ if(requestFilters[i] ... | public boolean getData(SeisDataChangeListener listener, RequestFilter[] requestFilters){ for (int i = 0; i < requestFilters.length; i++){ boolean found = false; for (int j = 0; j < this.requestFilters.length && !found; j++){ if(requestFilters[i] ... | 1,117,684 |
public boolean getData(SeisDataChangeListener listener, RequestFilter[] requestFilters){ for (int i = 0; i < requestFilters.length; i++){ boolean found = false; for (int j = 0; j < this.requestFilters.length && !found; j++){ if(requestFilters[i] ... | public boolean getData(SeisDataChangeListener listener, RequestFilter[] requestFilters){ for (int i = 0; i < requestFilters.length; i++){ boolean found = false; for (int j = 0; j < this.requestFilters.length && !found; j++){ if(requestFilters[i] ... | 1,117,685 |
public boolean getData(SeisDataChangeListener listener, RequestFilter[] requestFilters){ for (int i = 0; i < requestFilters.length; i++){ boolean found = false; for (int j = 0; j < this.requestFilters.length && !found; j++){ if(requestFilters[i] ... | public boolean getData(SeisDataChangeListener listener, RequestFilter[] requestFilters){ for (int i = 0; i < requestFilters.length; i++){ boolean found = false; for (int j = 0; j < this.requestFilters.length && !found; j++){ if(requestFilters[i] ... | 1,117,686 |
public void run() { List seismograms = new ArrayList(); for(int counter = 0; counter < requestFilters.length; counter++) { try { RequestFilter[] temp = { requestFilters[counter] }; LocalSeismogram[] seis = dbDataCenter.retrieve_seismograms(temp); ... | public void run() { List seismograms = new ArrayList(); for(int counter = 0; counter < requestFilters.length; counter++) { try { RequestFilter[] temp = { requestFilters[counter] }; LocalSeismogram[] seis = dbDataCenter.retrieve_seismograms(temp); ... | 1,117,687 |
public void run() { List seismograms = new ArrayList(); for(int counter = 0; counter < requestFilters.length; counter++) { try { RequestFilter[] temp = { requestFilters[counter] }; LocalSeismogram[] seis = dbDataCenter.retrieve_seismograms(temp); ... | public void run() { List seismograms = new ArrayList(); for(int counter = 0; counter < requestFilters.length; counter++) { try { RequestFilter[] temp = { requestFilters[counter] }; LocalSeismogram[] seis = dbDataCenter.retrieve_seismograms(temp); ... | 1,117,688 |
public void run() { List seismograms = new ArrayList(); for(int counter = 0; counter < requestFilters.length; counter++) { try { RequestFilter[] temp = { requestFilters[counter] }; LocalSeismogram[] seis = dbDataCenter.retrieve_seismograms(temp); ... | public void run() { List seismograms = new ArrayList(); for(int counter = 0; counter < requestFilters.length; counter++) { try { RequestFilter[] temp = { requestFilters[counter] }; LocalSeismogram[] seis = dbDataCenter.retrieve_seismograms(temp); ... | 1,117,689 |
public void run() { List seismograms = new ArrayList(); for(int counter = 0; counter < requestFilters.length; counter++) { try { RequestFilter[] temp = { requestFilters[counter] }; LocalSeismogram[] seis = dbDataCenter.retrieve_seismograms(temp); ... | public void run() { List seismograms = new ArrayList(); for(int counter = 0; counter < requestFilters.length; counter++) { try { RequestFilter[] temp = { requestFilters[counter] }; LocalSeismogram[] seis = dbDataCenter.retrieve_seismograms(temp); ... | 1,117,690 |
public void runChecks() throws IOException { int sizeofCollection = ConnCheckerCollection.size(); Iterator collectionExe = ConnCheckerCollection.iterator(); while(collectionExe.hasNext()){ ConnChecker connChecker = (ConnChecker)collectionExe.next(); Thread th = new Thread(connChecker); th.start(); ... | public void runChecks() throws IOException { int sizeofCollection = ConnCheckerCollection.size(); Iterator collectionExe = ConnCheckerCollection.iterator(); while(collectionExe.hasNext()){ ConnChecker connChecker = (ConnChecker)collectionExe.next(); Thread th = new Thread(checkerThreadGroup, connChecker, ... | 1,117,692 |
public static boolean checkStatus(String val) { return BwEvent.statusConfirmed.equals(val) || BwEvent.statusTentative.equals(val) || BwEvent.statusCancelled.equals(val); } | public static boolean checkStatus(String val) { return BwEvent.statusConfirmed.equals(val) || BwEvent.statusTentative.equals(val) || BwEvent.statusCancelled.equals(val); } | 1,117,693 |
public static boolean checkTransparency(String val) { return BwEvent.transparencyOpaque.equals(val) || BwEvent.transparencyTransparent.equals(val); } | public static boolean checkTransparency(String val) { return BwEvent.transparencyOpaque.equals(val) || BwEvent.transparencyTransparent.equals(val); } | 1,117,694 |
public void setString(String key, String value) { setProperty(key, value); } | public void setString(String key, String value) { if (value != null) { setProperty(key, value); } } | 1,117,695 |
public LocalSeismogramImpl apply(LocalSeismogramImpl seis) throws Exception { LocalSeismogramImpl outSeis; TimeSeriesDataSel outData = new TimeSeriesDataSel(); int numPts = seis.num_points / factor; if(seis.can_convert_to_short()) { short[] inS = seis.get_as_shorts(); ... | public LocalSeismogramImpl apply(LocalSeismogramImpl seis) throws Exception { LocalSeismogramImpl outSeis; TimeSeriesDataSel outData = new TimeSeriesDataSel(); int numPts = seis.num_points / factor; if(seis.can_convert_to_short()) { short[] inS = seis.get_as_shorts(); ... | 1,117,696 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.InputPin_3003 == req.getElementType()) { AddStructuralFeatureValueAction container = (AddStructuralFeatureValueAction) (req.getContainer() instanceof View ? ((View) req.getContainer()).getElement() : req.getContainer()); if (contai... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.InputPin_3003 == req.getElementType()) { AddStructuralFeatureValueAction container = (AddStructuralFeatureValueAction) (req.getContainer() instanceof View ? ((View) req.getContainer()).getElement() : req.getContainer()); if (contai... | 1,117,697 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.InputPin_3003 == req.getElementType()) { AddStructuralFeatureValueAction container = (AddStructuralFeatureValueAction) (req.getContainer() instanceof View ? ((View) req.getContainer()).getElement() : req.getContainer()); if (contai... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.InputPin_3003 == req.getElementType()) { AddStructuralFeatureValueAction container = (AddStructuralFeatureValueAction) (req.getContainer() instanceof View ? ((View) req.getContainer()).getElement() : req.getContainer()); if (contai... | 1,117,698 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.InputPin_3003 == req.getElementType()) { AddStructuralFeatureValueAction container = (AddStructuralFeatureValueAction) (req.getContainer() instanceof View ? ((View) req.getContainer()).getElement() : req.getContainer()); if (contai... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.InputPin_3003 == req.getElementType()) { AddStructuralFeatureValueAction container = (AddStructuralFeatureValueAction) (req.getContainer() instanceof View ? ((View) req.getContainer()).getElement() : req.getContainer()); if (contai... | 1,117,699 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.InputPin_3003 == req.getElementType()) { AddStructuralFeatureValueAction container = (AddStructuralFeatureValueAction) (req.getContainer() instanceof View ? ((View) req.getContainer()).getElement() : req.getContainer()); if (contai... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.InputPin_3003 == req.getElementType()) { AddStructuralFeatureValueAction container = (AddStructuralFeatureValueAction) (req.getContainer() instanceof View ? ((View) req.getContainer()).getElement() : req.getContainer()); if (contai... | 1,117,700 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.InputPin_3003 == req.getElementType()) { AddStructuralFeatureValueAction container = (AddStructuralFeatureValueAction) (req.getContainer() instanceof View ? ((View) req.getContainer()).getElement() : req.getContainer()); if (contai... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.InputPin_3003 == req.getElementType()) { AddStructuralFeatureValueAction container = (AddStructuralFeatureValueAction) (req.getContainer() instanceof View ? ((View) req.getContainer()).getElement() : req.getContainer()); if (contai... | 1,117,701 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.InputPin_3003 == req.getElementType()) { AddStructuralFeatureValueAction container = (AddStructuralFeatureValueAction) (req.getContainer() instanceof View ? ((View) req.getContainer()).getElement() : req.getContainer()); if (contai... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.InputPin_3003 == req.getElementType()) { AddStructuralFeatureValueAction container = (AddStructuralFeatureValueAction) (req.getContainer() instanceof View ? ((View) req.getContainer()).getElement() : req.getContainer()); if (contai... | 1,117,702 |
public edu.sc.seis.fissuresUtil.bag.Statistics[] createInstanceArray() throws Exception { short size = 4; int[] intTestData = new int[size]; short[] shortTestData = new short[size]; float[] floatTestData = new float[size]; double[] doubleTestData = new double[size]; for (short i=0; i<s... | public edu.sc.seis.fissuresUtil.bag.Statistics[] createInstanceArray() throws Exception { short size = 4; int[] intTestData = new int[size]; short[] shortTestData = new short[size]; float[] floatTestData = new float[size]; double[] doubleTestData = new double[size]; for (short i=0; i<s... | 1,117,703 |
public void testBinarySum() throws Exception { // JUnitDoclet begin method binarySum // JUnitDoclet end method binarySum } | public void testBinarySum() throws Exception { // JUnitDoclet begin method binarySum // JUnitDoclet end method binarySum for ( int i = 0; i<stat.length; i++) { int n=stat[i].getLength()-1; double out = stat[i].binarySum(0, intTestData.length); assertEquals("BinarySum", n*(n+1)/2, out, 0.0000001); } } | 1,117,704 |
public int put(Origin origin, int eventId) throws SQLException { int id = put(origin); setEventId(id, eventId); return id; } | public int put(Origin origin, int eventId) throws SQLException { int id = put(origin); setEventId(id, eventId); return id; } | 1,117,705 |
public boolean isPlaying(); | public abstract boolean isPlaying(); | 1,117,707 |
public void stop(); | public abstract void stop(); | 1,117,708 |
public MP3Player(File f) throws PlayerException { try { file = f; stream = new FileInputStream(file); player = new AdvancedPlayer(stream); player.setPlayBackListener(new PlaybackListener() { public void playbackStarted(PlaybackEvent e) { firePlaybackStarted(); } public void playbackFinished(P... | public MP3Player(File f) throws PlayerException { try { file = f; stream = new FileInputStream(file); player = new AdvancedPlayer(stream); player.setPlayBackListener(new PlaybackListener() { public void playbackStarted(PlaybackEvent e) { firePlaybackStarted(); } public void playbackFinished(P... | 1,117,709 |
public void addListener(PlayerListener listener); | public void addListener(PlayerListener listener) { listeners.add(listener); } | 1,117,710 |
public void play() throws PlayerException; | public abstract void play() throws PlayerException; | 1,117,711 |
private PacketType getFirstDataPacketOfFirstFile(TimeRange fileTimeWindow) throws RT130FormatException, IOException { File file = new File(this.dataFileLoc); File dataStream = new File(file.getParent()); File[] fileNames = dataStream.listFiles(); Arrays.sort(fileNames); ... | private PacketType getFirstDataPacketOfFirstFile(MicroSecondTimeRange fileTimeWindow) throws RT130FormatException, IOException { File file = new File(this.dataFileLoc); File dataStream = new File(file.getParent()); File[] fileNames = dataStream.listFiles(); Arrays.sort(fileNam... | 1,117,712 |
public PacketType[] processRT130Data(String dataFileLoc, boolean processData, TimeRange fileTimeWindow) throws RT130FormatException, IOException { this.dataFileLoc = dataFileLoc; File file = new File(this.dataFi... | public PacketType[] processRT130Data(String dataFileLoc, boolean processData, MicroSecondTimeRange fileTimeWindow) throws RT130FormatException, IOException { this.dataFileLoc = dataFileLoc; File file = new File(... | 1,117,713 |
private PacketType[] readEntireDataFile(PacketType firstFileData, TimeRange fileTimeWindow) throws RT130FormatException, IOException { boolean done = false; List seismogramList = new ArrayList(); PacketType nextPacket = new PacketType(); ... | private PacketType[] readEntireDataFile(PacketType firstFileData, MicroSecondTimeRange fileTimeWindow) throws RT130FormatException, IOException { boolean done = false; List seismogramList = new ArrayList(); PacketType nextPacket = new Packet... | 1,117,714 |
private PacketType[] readEntireDataFile(PacketType firstFileData, TimeRange fileTimeWindow) throws RT130FormatException, IOException { boolean done = false; List seismogramList = new ArrayList(); PacketType nextPacket = new PacketType(); ... | private PacketType[] readEntireDataFile(PacketType firstFileData, TimeRange fileTimeWindow) throws RT130FormatException, IOException { boolean done = false; List seismogramList = new ArrayList(); PacketType nextPacket = new PacketType(); ... | 1,117,715 |
private PacketType readFirstDataPacketOfFirstFile(TimeRange fileTimeWindow) throws IOException, RT130FormatException { DataInputStream firstFileDataInputStream = null; File file = new File(firstFileLoc); FileInputStream fis = new FileInputStream(file); BufferedInputStream bis ... | private PacketType readFirstDataPacketOfFirstFile(MicroSecondTimeRange fileTimeWindow) throws IOException, RT130FormatException { DataInputStream firstFileDataInputStream = null; File file = new File(firstFileLoc); FileInputStream fis = new FileInputStream(file); BufferedInput... | 1,117,716 |
public PacketType(PacketType original) throws RT130FormatException { this.packetType = original.packetType; this.unitIdNumber = original.unitIdNumber; this.time = original.time; this.begin_time_of_seismogram = original.begin_time_of_seismogram; this.begin_time_of_first_packet = or... | public PacketType(PacketType original) throws RT130FormatException { this.packetType = original.packetType; this.unitIdNumber = original.unitIdNumber; this.time = original.time; this.begin_time_of_seismogram = original.begin_time_of_seismogram; this.begin_time_of_first_packet = or... | 1,117,717 |
public Object clone() { BwSystem clone = new BwSystem(); clone.setName(getName()); clone.setTzid(getTzid()); clone.setSystemid(getSystemid()); clone.setPublicCalendarRoot(getPublicCalendarRoot()); clone.setUserCalendarRoot(getUserCalendarRoot()); clone.setUserDefaultCalendar(getUserDefaultCalenda... | public Object clone() { BwSystem clone = new BwSystem(); clone.setName(getName()); clone.setTzid(getTzid()); clone.setSystemid(getSystemid()); clone.setPublicCalendarRoot(getPublicCalendarRoot()); clone.setUserCalendarRoot(getUserCalendarRoot()); clone.setUserDefaultCalendar(getUserDefaultCalenda... | 1,117,718 |
public static GregorianChronology getInstance(DateTimeZone zone) { return getInstance(zone, 4); } | public static GregorianChronology getInstance(DateTimeZone zone) { return getInstance(zone, 4); } | 1,117,721 |
public void copyTo(BwOwnedDbentity val) { val.setOwner((BwUser)getOwner().clone()); val.setPublick(getPublick()); } | public void copyTo(BwOwnedDbentity val) { if (getOwner() != null) { val.setOwner((BwUser)getOwner().clone()); } val.setPublick(getPublick()); } | 1,117,722 |
private static boolean processMSeed(JDBCSeismogramFiles jdbcSeisFile, String fileLoc, String fileName, boolean verbose) throws IOException, SeedFormatException, FissuresException, SQLExcep... | private static boolean processMSeed(JDBCSeismogramFiles jdbcSeisFile, String fileLoc, String fileName, boolean verbose) throws IOException, SeedFormatException, FissuresException, SQLExcep... | 1,117,723 |
private static boolean processRefTek(JDBCSeismogramFiles jdbcSeisFile, Connection conn, String fileLoc, String fileName, boolean verbose, ... | private static boolean processRefTek(JDBCSeismogramFiles jdbcSeisFile, Connection conn, String fileLoc, String fileName, boolean verbose, ... | 1,117,724 |
public int doStartTag() throws JspException { if (!PortletServlet.isPortletRequest(pageContext.getRequest())) { return super.doStartTag(); } String urlStr = null; BodyContent bodyContent = pageContext.pushBody(); try { super.doStartTag(); URL url = new URL(bodyContent.getString()); ... | public int doStartTag() throws JspException { if (!PortletServlet.isPortletRequest(pageContext.getRequest())) { return super.doStartTag(); } String urlStr = null; BodyContent bodyContent = pageContext.pushBody(); try { super.doStartTag(); URL url = new URL(bodyContent.getString()); ... | 1,117,725 |
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } /** Set the objects to null so we get new ones. */ form.initFie... | public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } /** Set the objects to null so we get new ones. */ initFields(f... | 1,117,727 |
public int sendRequest(String method, String url, Header[] hdrs, String contentType, int contentLen, byte[] content) throws Throwable { return sendRequest(method, url, null, null, hdrs, contentType, contentLen, content); } | public int sendRequest(String method, String url, Header[] hdrs, int depth, String contentType, int contentLen, byte[] content) throws Throwable { return sendRequest(method, url, null, null, hdrs, contentType, contentLen, content); } | 1,117,728 |
public int sendRequest(String method, String url, Header[] hdrs, String contentType, int contentLen, byte[] content) throws Throwable { return sendRequest(method, url, null, null, hdrs, contentType, contentLen, content); } | public int sendRequest(String method, String url, Header[] hdrs, String contentType, int contentLen, byte[] content) throws Throwable { return sendRequest(method, url, null, null, hdrs, depth, contentType, contentLen, content); } | 1,117,729 |
void loadParameterRef(String paramName, String paramFile) { AuditInfo[] audit = new AuditInfo[1]; audit[0] = new AuditInfo(userName, "Added parameter "+paramName+" for "+paramFile); try { dataset.addParameter(paramName,new URL(base, paramFile).toString(),... | void loadParameterRef(String paramName, String paramFile) { AuditInfo[] audit = new AuditInfo[1]; audit[0] = new AuditInfo(userName, "Added parameter "+paramName+" for "+paramFile); try { dataset.addParameter(paramName,new URL(dirURL, paramFile).toString(... | 1,117,732 |
void loadSacFile(File sacFile) throws IOException, FissuresException { if (excludes.contains(sacFile.getName())) { return; } // end of if (excludes.contains(sacFile.getName())) if (paramRefs.containsValue(sacFile.getName())) { return; } // end of if (excludes.contains(sacFile.getName())) ... | void loadSacFile(File sacFile) throws IOException, FissuresException { if (excludes.contains(sacFile.getName())) { return; } // end of if (excludes.contains(sacFile.getName())) if (paramRefs.containsValue(sacFile.getName())) { return; } // end of if (excludes.contains(sacFile.getName())) ... | 1,117,733 |
void process() throws ParserConfigurationException { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = factory.newDocumentBuilder(); URL dirURL = base; System.out.println(" dirURL is "+dirURL.toString()); try { dirURL = new URL(dirURL, directory.getName()+"/... | void process() throws ParserConfigurationException { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = factory.newDocumentBuilder(); dirURL = base; System.out.println(" dirURL is "+dirURL.toString()); try { dirURL = new URL(dirURL, directory.getName()+"/"); ... | 1,117,734 |
public static Channel getChannel(SacTimeSeries sac) { ChannelId chanId = getChannelId(sac); float stel = sac.stel; if (stel == -12345.0f) { stel = 0; } // end of if (stel == -12345.0f) float stdp = sac.stdp; if (stdp == -12345.0f) { stdp = 0; } ... | public static Channel getChannel(SacTimeSeries sac) { ChannelId chanId = getChannelId(sac); float stel = sac.stel; if (stel == -12345.0f) { stel = 0; } // end of if (stel == -12345.0f) float stdp = sac.stdp; if (stdp == -12345.0f) { stdp = 0; } ... | 1,117,735 |
public int getInt(String key, int def) { try { return Integer.parseInt(getString(key, String.valueOf(def))); } catch (Exception exc) { return def; } } | public int getInt(String key, int def) { try { return Integer.parseInt(getString(key, String.valueOf(def))); } catch (Exception exc) { return def; } } | 1,117,736 |
public Object ejbFindByAuthorizationCode(String code) throws FinderException { return this.idoFindOnePKByColumnBySQL(COLUMN_AUTHORIZATION_CODE, code); } | public Object ejbFindByAuthorizationCode(String code) throws FinderException { return this.idoFindOnePKByColumnBySQL(COLUMN_AUTHORIZATION_CODE, code); } | 1,117,737 |
public void retrieveData(SeisDataChangeListener dataListener){ RequestFilter[] temp = {requestFilter}; Iterator it = seisCache.iterator(); List matchingSeismos = new ArrayList(); while(it.hasNext()){ LocalSeismogramImpl current = (LocalSeismogramImpl)((SoftReference)it.next())... | public void retrieveData(SeisDataChangeListener dataListener){ Iterator it = seisCache.iterator(); List matchingSeismos = new ArrayList(); while(it.hasNext()){ LocalSeismogramImpl current = (LocalSeismogramImpl)((SoftReference)it.next()).get(); if(current != null&&... | 1,117,738 |
public void retrieveData(SeisDataChangeListener dataListener){ RequestFilter[] temp = {requestFilter}; Iterator it = seisCache.iterator(); List matchingSeismos = new ArrayList(); while(it.hasNext()){ LocalSeismogramImpl current = (LocalSeismogramImpl)((SoftReference)it.next())... | public void retrieveData(SeisDataChangeListener dataListener){ RequestFilter[] temp = {requestFilter}; Iterator it = seisCache.iterator(); List existingSeismos = new ArrayList(); while(it.hasNext()){ LocalSeismogramImpl current = (LocalSeismogramImpl)((SoftReference)it.next())... | 1,117,739 |
public void retrieveData(SeisDataChangeListener dataListener){ RequestFilter[] temp = {requestFilter}; Iterator it = seisCache.iterator(); List matchingSeismos = new ArrayList(); while(it.hasNext()){ LocalSeismogramImpl current = (LocalSeismogramImpl)((SoftReference)it.next())... | public void retrieveData(SeisDataChangeListener dataListener){ RequestFilter[] temp = {requestFilter}; Iterator it = seisCache.iterator(); List matchingSeismos = new ArrayList(); while(it.hasNext()){ LocalSeismogramImpl current = (LocalSeismogramImpl)((SoftReference)it.next())... | 1,117,740 |
public void retrieveData(SeisDataChangeListener dataListener){ RequestFilter[] temp = {requestFilter}; Iterator it = seisCache.iterator(); List matchingSeismos = new ArrayList(); while(it.hasNext()){ LocalSeismogramImpl current = (LocalSeismogramImpl)((SoftReference)it.next())... | public void retrieveData(SeisDataChangeListener dataListener){ RequestFilter[] temp = {requestFilter}; Iterator it = seisCache.iterator(); List matchingSeismos = new ArrayList(); while(it.hasNext()){ LocalSeismogramImpl current = (LocalSeismogramImpl)((SoftReference)it.next())... | 1,117,741 |
public void retrieveData(SeisDataChangeListener dataListener){ RequestFilter[] temp = {requestFilter}; Iterator it = seisCache.iterator(); List matchingSeismos = new ArrayList(); while(it.hasNext()){ LocalSeismogramImpl current = (LocalSeismogramImpl)((SoftReference)it.next())... | public void retrieveData(SeisDataChangeListener dataListener){ RequestFilter[] temp = {requestFilter}; Iterator it = seisCache.iterator(); List matchingSeismos = new ArrayList(); while(it.hasNext()){ LocalSeismogramImpl current = (LocalSeismogramImpl)((SoftReference)it.next())... | 1,117,742 |
public void retrieveData(SeisDataChangeListener dataListener){ RequestFilter[] temp = {requestFilter}; Iterator it = seisCache.iterator(); List matchingSeismos = new ArrayList(); while(it.hasNext()){ LocalSeismogramImpl current = (LocalSeismogramImpl)((SoftReference)it.next())... | public void retrieveData(SeisDataChangeListener dataListener){ RequestFilter[] temp = {requestFilter}; Iterator it = seisCache.iterator(); List matchingSeismos = new ArrayList(); while(it.hasNext()){ LocalSeismogramImpl current = (LocalSeismogramImpl)((SoftReference)it.next())... | 1,117,743 |
public void networkDataChanged(StationDataEvent s); | public void networkDataChanged(NetworkDataEvent s); | 1,117,744 |
public void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ DataSetSeismogram[] creatorSeismograms = creator.getSeismograms(); ArrayList allMatchingDSS = new ArrayList(); for(int i = 0; i < creatorSeismograms.length; i++){ LocalSeismogramImpl seis = creatorSeismograms[i].getSeismogram(... | public void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ DataSetSeismogram[] creatorSeismograms = creator.getSeismograms(); ArrayList allMatchingDSS = new ArrayList(); for(int i = 0; i < creatorSeismograms.length; i++){ LocalSeismogramImpl seis = creatorSeismograms[i].getSeismogram(... | 1,117,745 |
public void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ DataSetSeismogram[] creatorSeismograms = creator.getSeismograms(); ArrayList allMatchingDSS = new ArrayList(); for(int i = 0; i < creatorSeismograms.length; i++){ LocalSeismogramImpl seis = creatorSeismograms[i].getSeismogram(... | public void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ DataSetSeismogram[] creatorSeismograms = creator.getSeismograms(); ArrayList allMatchingDSS = new ArrayList(); for(int i = 0; i < creatorSeismograms.length; i++){ LocalSeismogramImpl seis = creatorSeismograms[i].getSeismogram(... | 1,117,746 |
public void testSimple() { testWalker("f(1, 2)"); } | public void testSimple() { testWalker("a ; b; c"); } | 1,117,747 |
private void testWalker(String walkerInput) { try { ATLexer lexer = new ATLexer(new ByteArrayInputStream(walkerInput.getBytes())); ATParser parser = new ATParser(lexer); // Parse the input expression parser.program(); CommonAST t = (CommonAST)parser.getAST(... | private void testWalker(String walkerInput) { try { ATLexer lexer = new ATLexer(new ByteArrayInputStream(walkerInput.getBytes())); ATParser parser = new ATParser(lexer); // Parse the input expression parser.program(); CommonAST t = (CommonAST)parser.getAST(... | 1,117,748 |
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,749 |
public static Orientation getEast() { return new Orientation(0, 90); } | public static Orientation getEast() { return new Orientation(90, 0); } | 1,117,751 |
public void stationAvailabiltyChanged(AvailableStationDataEvent e) { Station station = e.getStation(); boolean isUp = e.stationIsUp(); Iterator it = omgraphics.iterator(); boolean found = false; while (it.hasNext() && !found){ OMStation current = (OMStation)it.next(); ... | public void stationAvailabiltyChanged(AvailableStationDataEvent e) { Station station = e.getStation(); boolean isUp = e.stationIsUp(); Iterator it = omgraphics.iterator(); boolean found = false; while (it.hasNext() && !found){ OMStation current = (OMStation)it.next(); ... | 1,117,752 |
public static String shorten(String value, int maxLength) { if (value == null) return value; if (value.length() <= maxLength) return value; if (maxLength <= 3) return "..."; return value.substring(0, maxLength - 3) + "..."; } | public static String shorten(String value, int maxLength) { if (value == null) return value; if (value.length() <= maxLength) return value; if (maxLength <= 3) return "..."; return value.substring(0, maxLength - 2) + "..."; } | 1,117,753 |
private void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ String[] names = DisplayUtils.getSeismogramNames(creator.getSeismograms()); for(int i = 0; i < names.length; i++){ names[i] += "." + creator.getColor(); } threeSelectionDisplay.addDisplay(creator.getSeismograms(), (Time... | private void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ String[] names = DisplayUtils.getSeismogramNames(creator.getSeismograms()); for(int i = 0; i < names.length; i++){ names[i] += "." + creator.getColor(); } threeSelectionDisplay.addDisplay(creator.getSeismograms(), (Time... | 1,117,755 |
private void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ String[] names = DisplayUtils.getSeismogramNames(creator.getSeismograms()); for(int i = 0; i < names.length; i++){ names[i] += "." + creator.getColor(); } threeSelectionDisplay.addDisplay(creator.getSeismograms(), (Time... | private void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ String[] names = DisplayUtils.getSeismogramNames(creator.getSeismograms()); for(int i = 0; i < names.length; i++){ names[i] += "." + creator.getColor(); } threeSelectionDisplay.addDisplay(creator.getSeismograms(), (Time... | 1,117,756 |
private void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ String[] names = DisplayUtils.getSeismogramNames(creator.getSeismograms()); for(int i = 0; i < names.length; i++){ names[i] += "." + creator.getColor(); } threeSelectionDisplay.addDisplay(creator.getSeismograms(), (Time... | private void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ String[] names = DisplayUtils.getSeismogramNames(creator.getSeismograms()); for(int i = 0; i < names.length; i++){ names[i] += "." + creator.getColor(); } threeSelectionDisplay.addDisplay(creator.getSeismograms(), (Time... | 1,117,757 |
private void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ String[] names = DisplayUtils.getSeismogramNames(creator.getSeismograms()); for(int i = 0; i < names.length; i++){ names[i] += "." + creator.getColor(); } threeSelectionDisplay.addDisplay(creator.getSeismograms(), (Time... | private void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ String[] names = DisplayUtils.getSeismogramNames(creator.getSeismograms()); for(int i = 0; i < names.length; i++){ names[i] += "." + creator.getColor(); } threeSelectionDisplay.addDisplay(creator.getSeismograms(), (Time... | 1,117,758 |
private void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ String[] names = DisplayUtils.getSeismogramNames(creator.getSeismograms()); for(int i = 0; i < names.length; i++){ names[i] += "." + creator.getColor(); } threeSelectionDisplay.addDisplay(creator.getSeismograms(), (Time... | private void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ String[] names = DisplayUtils.getSeismogramNames(creator.getSeismograms()); for(int i = 0; i < names.length; i++){ names[i] += "." + creator.getColor(); } threeSelectionDisplay.addDisplay(creator.getSeismograms(), (Time... | 1,117,759 |
private void addSelection(Selection creator, VerticalSeismogramDisplay reaper){ DataSetSeismogram[] seismos = creator.getSeismograms(); String[] parentNames = creator.getParent().getNames(); String[] names = new String[parentNames.length]; for(int i = 0; i < parentNames.length; i++){ names[i] = parentNames[i] +... | private void addSelection(Selection creator, VerticalSeismogramDisplay reaper){ DataSetSeismogram[] seismos = creator.getSeismograms(); String[] parentNames = creator.getParent().getNames(); String[] names = new String[parentNames.length]; for(int i = 0; i < parentNames.length; i++){ names[i] = parentNames[i] +... | 1,117,761 |
private void addSelection(Selection creator, VerticalSeismogramDisplay reaper){ DataSetSeismogram[] seismos = creator.getSeismograms(); String[] parentNames = creator.getParent().getNames(); String[] names = new String[parentNames.length]; for(int i = 0; i < parentNames.length; i++){ names[i] = parentNames[i] +... | private void addSelection(Selection creator, VerticalSeismogramDisplay reaper){ DataSetSeismogram[] seismos = creator.getSeismograms(); String[] parentNames = creator.getParent().getNames(); String[] names = new String[parentNames.length]; for(int i = 0; i < parentNames.length; i++){ names[i] = parentNames[i] +... | 1,117,762 |
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(particleTagWindowName); threeSelectionWindow.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent ... | public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(particleTagWindowName); threeSelectionWindow.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent ... | 1,117,763 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.