bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public static void deleteEvent(BwActionFormBase form, BwEvent event) throws Throwable { CalSvcI svci = form.fetchSvci(); svci.deleteEvent(event, false); /* If we auto delete and if sponsor id no longer exists in events table then delete this sponsor. */ if (form.getAutoD...
public static void deleteEvent(BwActionFormBase form, BwEvent event) throws Throwable { CalSvcI svci = form.fetchSvci(); svci.deleteEvent(event, false); /* If we auto delete and if sponsor id no longer exists in events table then delete this sponsor. */ if (form.getAutoD...
1,117,310
public void update(MicroSecondTimeRange time, UnitRangeImpl amp, Dimension size){ SeismogramShapeIterator newIterator = new SeismogramShapeIterator(time, amp, size); if(newIterator.isDraggedFrom(currentIterator) && newIterator.hasSimilarAmp(currentIterator))...
public void update(MicroSecondTimeRange time, UnitRangeImpl amp, Dimension size){ SeismogramShapeIterator newIterator = new SeismogramShapeIterator(time, amp, size); if(newIterator.isDraggedFrom(currentIterator) && newIterator.hasSimilarAmp(currentIterator))...
1,117,313
public SeismogramShapeIterator(MicroSecondTimeRange time, UnitRangeImpl amp, Dimension size){ this.time = time; this.amp = amp; this.size = size; }
public SeismogramShapeIterator(MicroSecondTimeRange time, UnitRangeImpl amp, Dimension size){ this.time = time; this.amp = amp; this.size = size; }
1,117,315
public void printStackTrace(PrintStream s) { Iterator i = invocationStack_.iterator(); while (i.hasNext()) { InvocationFrame frame = (InvocationFrame) i.next(); s.println(Evaluator.toString(frame.invocation)); } }
public void printStackTrace(PrintStream s) { Iterator i = invocationStack_.iterator(); while (i.hasNext()) { InvocationFrame frame = (InvocationFrame) i.next(); s.println(Evaluator.toString(frame.invocation)); } }
1,117,316
public ComplexStubPersonAttributeDao() { this.setDefaultAttributeName("uid"); }
public ComplexStubPersonAttributeDao() { }
1,117,317
public final void setDefaultAttributeName(final String name) { if (name == null) throw new IllegalArgumentException("The default attribute name must be null"); this.defaultAttribute = name; }
public final void setDefaultAttributeName(final String name) { if (name == null) throw new IllegalArgumentException("The default attribute name may not be null"); this.defaultAttribute = name; }
1,117,318
public void set(Text other) { set(other.bytes, other.length); }
public void set(Text other) { set(other.bytes, other.length); }
1,117,319
public Interval(Object interval) { super(interval, null); }
public Interval(Object interval) { super(interval, null); }
1,117,320
public static UnitRangeImpl getBestForDisplay(UnitRangeImpl inRange) { // just in case we don't have a case for this unit UnitRangeImpl outRange = inRange; if (inRange.getUnit().isConvertableTo(UnitImpl.METER_PER_SECOND)) { // velocity inRange = inRange.convertTo(UnitImpl....
public static UnitRangeImpl getBestForDisplay(UnitRangeImpl inRange) { // just in case we don't have a case for this unit UnitRangeImpl outRange = inRange; if (inRange.getUnit().isConvertableTo(UnitImpl.METER_PER_SECOND)) { // velocity inRange = inRange.convertTo(UnitImpl....
1,117,321
public Component prepareRenderer(TableCellRenderer renderer, int row, int column) { MessageTableModel dm = (MessageTableModel)getModel(); int tagColumn = getTagColumn( row, dm ); String value = dm.getValueAt( row, tagColumn ).toString(); if( tagColumn < 0 ) return super.prepareRenderer(renderer, row, column)...
public Component prepareRenderer(TableCellRenderer renderer, int row, int column) { MessageTableModel dm = (MessageTableModel)getModel(); int tagColumn = getTagColumn( row, dm ); String value = dm.getValueAt( row, tagColumn ).toString(); if( tagColumn < 0 ) return super.prepareRenderer(renderer, row, column)...
1,117,322
public Component prepareRenderer(TableCellRenderer renderer, int row, int column) { MessageTableModel dm = (MessageTableModel)getModel(); int tagColumn = getTagColumn( row, dm ); String value = dm.getValueAt( row, tagColumn ).toString(); if( tagColumn < 0 ) return super.prepareRenderer(renderer, row, column)...
public Component prepareRenderer(TableCellRenderer renderer, int row, int column) { MessageTableModel dm = (MessageTableModel)getModel(); int tagColumn = getTagColumn( row, dm ); String value = dm.getValueAt( row, tagColumn ).toString(); if( tagColumn < 0 ) return super.prepareRenderer(renderer, row, column)...
1,117,323
public static String getEventInfo(EventAccessOperations event, String format) { return getEventInfo(event, format, new SimpleDateFormat( "MM/dd/yyyy HH:mm:sss z")); }
public static String getEventInfo(EventAccessOperations event, String format) { return getEventInfo(event, format, new SimpleDateFormat( "MM/dd/yyyy HH:mm:sss z")); }
1,117,324
public void addNamespace() throws WebdavIntfException { try { xml.addNs(CaldavUWDef.caldavNamespace); xml.addNs(CaldavUWDef.icalNamespace); } catch (Throwable t) { throw new WebdavIntfException(t); } }
public void addNamespace() throws WebdavIntfException { try { xml.addNs(CaldavUWDef.caldavNamespace); xml.addNs(CaldavUWDef.icalNamespace); } catch (Throwable t) { throw new WebdavIntfException(t); } }
1,117,325
public void emitAcl(WebdavNsNode node) throws WebdavIntfException { CaldavBwNode uwnode = getBwnode(node); CaldavURI cdUri = uwnode.getCDURI(); Collection aces = null; try { if (cdUri.isCalendar()) { aces = getSvci().getAces(cdUri.getCal()); } else { aces = getSvci().getAces(((Cald...
public void emitAcl(WebdavNsNode node) throws WebdavIntfException { CaldavBwNode uwnode = getBwnode(node); CaldavURI cdUri = uwnode.getCDURI(); Collection aces = null; try { if (cdUri.isCalendar()) { aces = getSvci().getAces(cdUri.getCal()); } else { aces = getSvci().getAces(((Cald...
1,117,326
public void parsePrivilege(AclInfo ainfo, Node nd, boolean grant) throws WebdavIntfException { CdAclInfo info = (CdAclInfo)ainfo; if (!grant) { // There's probably a way to block this throw WebdavIntfException.badRequest(); } Element el = getOnlyChild(nd); int priv...
public void parsePrivilege(AclInfo ainfo, Node nd, boolean grant) throws WebdavIntfException { CdAclInfo info = (CdAclInfo)ainfo; if (!grant) { // There's probably a way to block this throw WebdavIntfException.badRequest(); } Element el = getOnlyChild(nd); int priv...
1,117,328
public CalSvcIPars(String authUser, int rights, String user, String envPrefix, boolean publicAdmin, boolean caldav, String synchId, boolean debug) { this.authUser = authUser; ...
public CalSvcIPars(String authUser, String user, String envPrefix, boolean publicAdmin, boolean caldav, String synchId, boolean debug) { this.authUser = authUser; this.rig...
1,117,329
public CalSvcIPars(String authUser, int rights, String user, String envPrefix, boolean publicAdmin, boolean caldav, String synchId, boolean debug) { this.authUser = authUser; ...
public CalSvcIPars(String authUser, int rights, String user, String envPrefix, boolean publicAdmin, boolean caldav, String synchId, boolean debug) { this.authUser = authUser; ...
1,117,330
public IcalTranslator(IcalCallback cb, boolean debug) { this.cb = cb; this.debug = debug; }
public IcalTranslator(IcalCallback cb, boolean debug) { this.cb = cb; this.debug = debug; }
1,117,331
public void decode(EncodedAcl acl, boolean getPrivileges) throws AccessException { decodeWhoType(acl); decodeHow(acl, getPrivileges); }
public void decode(EncodedAcl acl, boolean getPrivileges) throws AccessException { decodeWhoType(acl); decodeHow(acl, getPrivileges); }
1,117,333
public static Privilege makePriv(int privType) { return (Privilege)privs[privType].clone(); }
public static Privilege makePriv(int privType) { return privs[privType]; }
1,117,334
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("AclVO{");// sb.append(entityId); sb.append("}"); return sb.toString(); }
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("EncodedAcl{pos="); sb.append(pos);// sb.append(entityId); sb.append("}"); return sb.toString(); }
1,117,335
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("AceVO{who="); sb.append(who); sb.append(", notWho="); sb.append(notWho); sb.append(", whoType="); sb.append(whoTypeNames[whoType]); sb.append("("); sb.append(whoType); sb.append(")"); if (how != null) { s...
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Ace{who="); sb.append(who); sb.append(", notWho="); sb.append(notWho); sb.append(", whoType="); sb.append(whoTypeNames[whoType]); sb.append("("); sb.append(whoType); sb.append(")"); if (how != null) { sb....
1,117,338
void setEntity(Object o) throws CalFacadeException { entity = o; if (o instanceof EventInfo) { EventInfo ei = (EventInfo)o; BwEvent ev = ei.getEvent(); start = ev.getDtstart().getDate(); start = ev.getDtend().getDate(); return; } if (o instanceof EventPeriod) {...
void setEntity(Object o) throws CalFacadeException { entity = o; if (o instanceof EventInfo) { EventInfo ei = (EventInfo)o; BwEvent ev = ei.getEvent(); start = ev.getDtstart().getDate(); end = ev.getDtend().getDate(); return; } if (o instanceof EventPeriod) { ...
1,117,339
void setEntity(Object o) throws CalFacadeException { entity = o; if (o instanceof EventInfo) { EventInfo ei = (EventInfo)o; BwEvent ev = ei.getEvent(); start = ev.getDtstart().getDate(); start = ev.getDtend().getDate(); return; } if (o instanceof EventPeriod) {...
void setEntity(Object o) throws CalFacadeException { entity = o; if (o instanceof EventInfo) { EventInfo ei = (EventInfo)o; BwEvent ev = ei.getEvent(); start = ev.getDtstart().getDate(); start = ev.getDtend().getDate(); return; } if (o instanceof EventPeriod) {...
1,117,340
void setEntity(Object o) throws CalFacadeException { entity = o; if (o instanceof EventInfo) { EventInfo ei = (EventInfo)o; BwEvent ev = ei.getEvent(); start = ev.getDtstart().getDate(); start = ev.getDtend().getDate(); return; } if (o instanceof EventPeriod) {...
void setEntity(Object o) throws CalFacadeException { entity = o; if (o instanceof EventInfo) { EventInfo ei = (EventInfo)o; BwEvent ev = ei.getEvent(); start = ev.getDtstart().getDate(); start = ev.getDtend().getDate(); return; } if (o instanceof EventPeriod) {...
1,117,341
public String getDefaultTimeZoneId() throws CalFacadeException;
public String getDefaultTimeZoneId() throws CalFacadeException { return defaultTimeZoneId; }
1,117,342
public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element sac = doc.createElement("SacSeismogram"); String name ...
public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element sac = doc.createElement("SacSeismogram"); String name ...
1,117,343
public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element sac = doc.createElement("SacSeismogram"); String name ...
public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element sac = doc.createElement("SacSeismogram"); String name ...
1,117,344
public void addSeismogramRef(URL seisURL, String name, Property[] props, ParameterRef[] parm_ids, AuditInfo[] audit) { String baseStr = base.toString(); String seisStr = s...
public void addSeismogramRef(URL seisURL, String name, Property[] props, ParameterRef[] parm_ids, AuditInfo[] audit) { String baseStr = base.toString(); String seisStr = s...
1,117,345
public LocalSeismogramImpl getSeismogram(String name) { if (seismogramCache.containsKey(name)) { return (LocalSeismogramImpl)seismogramCache.get(name); } // end of if (seismogramCache.containsKey(name)) String urlString = "NONE"; NodeList nList = evalNodeList(conf...
public LocalSeismogramImpl getSeismogram(String name) { if (seismogramCache.containsKey(name)) { return (LocalSeismogramImpl)seismogramCache.get(name); } // end of if (seismogramCache.containsKey(name)) String urlString = "NONE"; NodeList nList = evalNodeList(conf...
1,117,346
private TimeInterval processAllChannels(File file, String unitIdNumber) throws IOException { String fileName = file.getName(); String yearAndDay = file.getParentFile() .getParentFile() .getParentFile() .getName(); MicroSecondDate beginTime...
private TimeInterval processAllChannels(File file, String unitIdNumber) throws IOException { String fileName = file.getName(); String yearAndDay = file.getParentFile() .getParentFile() .getParentFile() .getName(); MicroSecondDate beginTime...
1,117,347
public boolean scan(File file) throws IOException { if(file.getName().endsWith("00000000")) { return read(file); } String unitIdNumber = getUnitId(file); MicroSecondDate beginTime = getBeginTime(file, unitIdNumber); TimeInterval lengthOfData; try { len...
public boolean scan(File file) throws IOException { if(file.getName().endsWith("00000000")) { return read(file); } String unitIdNumber = getUnitId(file); TimeInterval lengthOfData; try { lengthOfData = FileNameParser.getLengthOfData(file.getName()); ...
1,117,348
public boolean scan(File file) throws IOException { if(file.getName().endsWith("00000000")) { return read(file); } String unitIdNumber = getUnitId(file); MicroSecondDate beginTime = getBeginTime(file, unitIdNumber); TimeInterval lengthOfData; try { len...
public boolean scan(File file) throws IOException { if(file.getName().endsWith("00000000")) { return read(file); } String unitIdNumber = getUnitId(file); MicroSecondDate beginTime = getBeginTime(file, unitIdNumber); TimeInterval lengthOfData; try { len...
1,117,349
public boolean scan(File file) throws IOException { if(file.getName().endsWith("00000000")) { return read(file); } String unitIdNumber = getUnitId(file); MicroSecondDate beginTime = getBeginTime(file, unitIdNumber); TimeInterval lengthOfData; try { len...
public boolean scan(File file) throws IOException { if(file.getName().endsWith("00000000")) { return read(file); } String unitIdNumber = getUnitId(file); MicroSecondDate beginTime = getBeginTime(file, unitIdNumber); TimeInterval lengthOfData; try { len...
1,117,350
public static TimeInterval getLengthOfData(String fileName) throws RT130FormatException { if(fileName.length() != 18) { System.err.println("The file is not 18 characters in length."); throw new RT130FormatException(); } else { String stringLengthOfData = fil...
public static TimeInterval getLengthOfData(String fileName) throws RT130FormatException { if(fileName.length() != 18) { System.err.println("The file is not 18 characters in length."); throw new RT130FormatException(); } else { String stringLengthOfData = fil...
1,117,351
protected UnitRangeImpl calcGenericAmp(UnitRangeImpl inAmp, DataSetSeismogram seis) { UnitRangeImpl basic = super.calcGenericAmp(inAmp, seis); double mean = (basic.getMaxValue() - basic.getMinValue())/2; double offset = basic.getMaxValue() - mean; UnitRangeImpl out = new UnitRangeImpl(-1...
protected UnitRangeImpl calcGenericAmp(UnitRangeImpl inAmp, DataSetSeismogram seis) { UnitRangeImpl basic = super.calcGenericAmp(inAmp, seis); double mean = (basic.getMaxValue() - basic.getMinValue())/2; double offset = basic.getMaxValue() - mean; UnitRangeImpl out = new UnitRangeImpl(-1...
1,117,353
public ParticleMotion(DataSetSeismogram hSeis, DataSetSeismogram vSeis, TimeConfig tc, Color color, String key, boolean horizPlane) { horiz = new SeismogramContainer(this,hSeis); vert = new SeismogramContainer(this, vSeis); ...
public ParticleMotion(DataSetSeismogram hSeis, DataSetSeismogram vSeis, TimeConfig tc, Color color, String key, boolean horizPlane) { horiz = new SeismogramContainer(this,hSeis); vert = new SeismogramContainer(this, vSeis); ...
1,117,355
public void add(NamedFilter filter){ if(!filterToParMo.containsKey(filter)) filterToParMo.put(filter, new ParticleMotion(FilteredDataSetSeismogram.getFiltered(horiz.getDataSetSeismogram(), filter), FilteredDataSetSeismogram.ge...
public void add(NamedFilter filter){ if(!filterToParMo.containsKey(filter)) filterToParMo.put(filter, new ParticleMotion(FilteredDataSetSeismogram.getFiltered(horiz.getDataSetSeismogram(), filter), FilteredDataSetSeismogram.ge...
1,117,356
public void add(NamedFilter filter){ if(!filterToParMo.containsKey(filter)) filterToParMo.put(filter, new ParticleMotion(FilteredDataSetSeismogram.getFiltered(horiz.getDataSetSeismogram(), filter), FilteredDataSetSeismogram.ge...
public void add(NamedFilter filter){ if(!filterToParMo.containsKey(filter)) filterToParMo.put(filter, new ParticleMotion(FilteredDataSetSeismogram.getFiltered(horiz.getDataSetSeismogram(), filter), FilteredDataSetSeismogram.ge...
1,117,357
public void draw(Graphics g, Dimension size) { if(visible){ Graphics2D g2D = (Graphics2D) g; if(horiz.getIterator(tr).numPointsLeft() <= 0 || vert.getIterator(tr).numPointsLeft() <= 0){ return; } g2D.setC...
public void draw(Graphics g, Dimension size) { if(visible){ Graphics2D g2D = (Graphics2D) g; if(horiz.getIterator(tr).numPointsLeft() <= 0 || vert.getIterator(tr).numPointsLeft() <= 0){ return; } g2D.setC...
1,117,359
public void add(NamedFilter filter){ Iterator it = parMos.iterator(); while(it.hasNext()){ ((ParticleMotion)it.next()).add(filter); } repaint(); }
public void add(NamedFilter filter){ Iterator it = parMos.iterator(); while(it.hasNext()){ ParticleMotion cur = (ParticleMotion)it.next(); cur.add(filter, getColor(cur.getTimeConfig(), filter)); } repaint(); }
1,117,361
public synchronized void drawAzimuth(ParticleMotion particleMotion, Graphics2D graphics2D) { if(!particleMotion.isHorizontalPlane()) return; Shape sector = getSectorShape(); graphics2D.setPaint(Color.LIGHT_GRAY); graphics2D.fill(sector); graphics2D.draw(sector); drawAzimuth...
public void drawAzimuth(ParticleMotion particleMotion, Graphics2D graphics2D) { if(!particleMotion.isHorizontalPlane()) return; Shape sector = getSectorShape(); graphics2D.setPaint(Color.LIGHT_GRAY); graphics2D.fill(sector); graphics2D.draw(sector); drawAzimuths(graphics2D)...
1,117,362
public void drawAzimuths(Graphics2D g2D) { Insets insets = getInsets(); double fmin = super.getSize().getWidth() - insets.left - insets.right; double fmax = super.getSize().getHeight() - insets.top - insets.bottom; int originx = (int)(fmin/2); int originy = (int)(fmax/2); ...
public void drawAzimuths(Graphics2D g2D) { Insets insets = getInsets(); double fmin = super.getSize().getWidth() - insets.left - insets.right; double fmax = super.getSize().getHeight() - insets.top - insets.bottom; int originx = (int)(fmin/2); int originy = (int)(fmax/2); ...
1,117,363
public SeismogramContainer(SeismogramContainerListener initialListener, DataSetSeismogram seismogram){ if(initialListener != null){ listeners.add(initialListener); } this.seismogram = seismogram; seismogram.addSeisDataChangeListener(this); ...
public SeismogramContainer(SeismogramContainerListener initialListener, DataSetSeismogram seismogram){ if(initialListener != null){ listeners.add(initialListener); } this.seismogram = seismogram; seismogram.addSeisDataChangeListener(this); ...
1,117,364
public SeismogramIterator getIterator(MicroSecondTimeRange timeRange){ SoftReference iteratorReference = null; synchronized(threadToIterator){ iteratorReference = (SoftReference)threadToIterator.get(Thread.currentThread()); } if(iteratorReference != null){ Seismogra...
public SeismogramIterator getIterator(MicroSecondTimeRange timeRange){ SoftReference iteratorReference = null; synchronized(threadToIterator){ iteratorReference = (SoftReference)threadToIterator.get(Thread.currentThread()); } if(iteratorReference != null){ Seismogra...
1,117,365
public SeismogramIterator getIterator(MicroSecondTimeRange timeRange){ SoftReference iteratorReference = null; synchronized(threadToIterator){ iteratorReference = (SoftReference)threadToIterator.get(Thread.currentThread()); } if(iteratorReference != null){ Seismogra...
public SeismogramIterator getIterator(MicroSecondTimeRange timeRange){ SoftReference iteratorReference = null; synchronized(threadToIterator){ iteratorReference = (SoftReference)threadToIterator.get(Thread.currentThread()); } if(iteratorReference != null){ Seismogra...
1,117,366
public abstract int getMaximumValue(long instant);
public abstract int getMaximumValue();
1,117,370
public static Element createElement(String loc) throws Exception { ClassLoader cl = SeismogramDisplayConfigurationTest.class.getClassLoader(); InputStream source = cl.getResourceAsStream(loc); DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setNamespaceAwar...
public static Element createElement(String loc) throws Exception { ClassLoader cl = DOMHelper.class.getClassLoader(); InputStream source = cl.getResourceAsStream(loc); DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setNamespaceAware(true); DocumentB...
1,117,371
public ATObject meta_eval(ATContext ctx) throws NATException { return new NATAsyncMessage(ctx.base_getSelf(), this.getSelector(), Evaluator.evaluateArguments(this.base_getArguments().asNativeTable(), ctx)); }
public ATObject meta_eval(ATContext ctx) throws NATException { return new NATAsyncMessage(ctx.base_getSelf(), this.base_getSelector(), Evaluator.evaluateArguments(this.base_getArguments().asNativeTable(), ctx)); }
1,117,374
public String getAsShortText(int fieldValue, Locale locale) { return getAsText(fieldValue, locale); }
public String getAsShortText(int fieldValue, Locale locale) { return getAsText(fieldValue, locale); }
1,117,375
public String getAsText(int fieldValue, Locale locale) { return Integer.toString(fieldValue); }
public String getAsText(int fieldValue, Locale locale) { return Integer.toString(fieldValue); }
1,117,376
public ChannelId getChannelId(String keyStr) { if( chanMap.containsKey(keyStr)) { System.out.println("Found the channelID: "); return (ChannelId)(chanMap.get(keyStr)); } else { System.out.println("The channelID is not Found"); return null; } }
public ChannelId getChannelId(String keyStr) { if( chanMap.containsKey(keyStr)) { System.out.println("Found the channelID: "); return (ChannelId)(chanMap.get(keyStr)); } else { System.out.println("The channelID is not Found"); return null; } }
1,117,377
public ChannelId getChannelId(String keyStr) { if( chanMap.containsKey(keyStr)) { System.out.println("Found the channelID: "); return (ChannelId)(chanMap.get(keyStr)); } else { System.out.println("The channelID is not Found"); return null; } }
public ChannelId getChannelId(String keyStr) { if( chanMap.containsKey(keyStr)) { System.out.println("Found the channelID: "); return (ChannelId)(chanMap.get(keyStr)); ChannelId foundChannelId = null; Iterator it = chanIdMap.keySet().iterator(); while (it.hasNext()) { java.lang.Object key = it.next(); Str...
1,117,378
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } CalSvcI svc = form.getCa...
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (!form.getUserAuth().isSuperUser()) { return "noAccess"; // First line of defence } CalSvc...
1,117,380
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } CalSvcI svc = form.getCa...
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } CalSvcI svc = form.getCa...
1,117,381
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } CalSvcI svc = form.getCa...
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } CalSvcI svc = form.getCa...
1,117,382
public static edu.iris.Fissures.Time getFissuresTime(Element element) { Date startTime = Calendar.getInstance().getTime(); NodeList nodeList = element.getChildNodes(); String date_time = ""; int leap_seconds_version = 0; for(int counter = 0; counter < nodeList.getLength(); counter++) { if(nodeList.item(counte...
public static edu.iris.Fissures.Time getFissuresTime(Element element) { Date startTime = Calendar.getInstance().getTime(); NodeList nodeList = element.getChildNodes(); String date_time = ""; int leap_seconds_version = 0; for(int counter = 0; counter < nodeList.getLength(); counter++) { if(nodeList.item(counte...
1,117,383
public abstract String doAction(HttpServletRequest request, BwActionForm form) throws Throwable;
public abstract String doAction(HttpServletRequest request, BwActionForm form) throws Throwable;
1,117,385
public int sort(DataSetSeismogram seismogram){ DataSetSeismogram[] dss = {seismogram}; layoutConfig.add(dss); Iterator it = layoutConfig.generateLayoutEvent().iterator(); int i = 0; while(it.hasNext()){ if(it.next().toString().equals(seismogram.toString())){ ...
public int sort(DataSetSeismogram seismogram){ DataSetSeismogram[] dss = {seismogram}; layoutConfig.add(dss); Iterator it = layoutConfig.generateLayoutEvent().iterator(); int i = 0; while(it.hasNext()){ DataSetSeismogram current = ((LayoutData)it.next()).getSeis(); if(c...
1,117,387
public synchronized LayoutEvent generateLayoutEvent(){ DataSetSeismogram[] seis = getSeismograms(); if(seis.length > 0){ List orderedSeis = new ArrayList(seis.length); orderedSeis.add(0, seis[0]); double minDistBetween = Double.POSITIVE_INFINITY; for (int i ...
public synchronized LayoutEvent generateLayoutEvent(){ DataSetSeismogram[] seis = getSeismograms(); if(seis.length > 0){ List orderedSeis = new ArrayList(seis.length); orderedSeis.add(seis[0]); double minDistBetween = Double.POSITIVE_INFINITY; for (int i = 1...
1,117,388
public synchronized LayoutEvent generateLayoutEvent(){ DataSetSeismogram[] seis = getSeismograms(); if(seis.length > 0){ List orderedSeis = new ArrayList(seis.length); orderedSeis.add(0, seis[0]); double minDistBetween = Double.POSITIVE_INFINITY; for (int i ...
public synchronized LayoutEvent generateLayoutEvent(){ DataSetSeismogram[] seis = getSeismograms(); if(seis.length > 0){ List orderedSeis = new ArrayList(seis.length); orderedSeis.add(0, seis[0]); double minDistBetween = Double.POSITIVE_INFINITY; for (int i ...
1,117,389
public synchronized LayoutEvent generateLayoutEvent(){ DataSetSeismogram[] seis = getSeismograms(); if(seis.length > 0){ List orderedSeis = new ArrayList(seis.length); orderedSeis.add(0, seis[0]); double minDistBetween = Double.POSITIVE_INFINITY; for (int i ...
public synchronized LayoutEvent generateLayoutEvent(){ DataSetSeismogram[] seis = getSeismograms(); if(seis.length > 0){ List orderedSeis = new ArrayList(seis.length); orderedSeis.add(0, seis[0]); double minDistBetween = Double.POSITIVE_INFINITY; for (int i ...
1,117,390
public synchronized LayoutEvent generateLayoutEvent(){ DataSetSeismogram[] seis = getSeismograms(); if(seis.length > 0){ List orderedSeis = new ArrayList(seis.length); orderedSeis.add(0, seis[0]); double minDistBetween = Double.POSITIVE_INFINITY; for (int i ...
public synchronized LayoutEvent generateLayoutEvent(){ DataSetSeismogram[] seis = getSeismograms(); if(seis.length > 0){ List orderedSeis = new ArrayList(seis.length); orderedSeis.add(0, seis[0]); double minDistBetween = Double.POSITIVE_INFINITY; for (int i ...
1,117,391
public synchronized LayoutEvent generateLayoutEvent(){ DataSetSeismogram[] seis = getSeismograms(); if(seis.length > 0){ List orderedSeis = new ArrayList(seis.length); orderedSeis.add(0, seis[0]); double minDistBetween = Double.POSITIVE_INFINITY; for (int i ...
public synchronized LayoutEvent generateLayoutEvent(){ DataSetSeismogram[] seis = getSeismograms(); if(seis.length > 0){ List orderedSeis = new ArrayList(seis.length); orderedSeis.add(0, seis[0]); double minDistBetween = Double.POSITIVE_INFINITY; for (int i ...
1,117,392
public synchronized LayoutEvent generateLayoutEvent(){ DataSetSeismogram[] seis = getSeismograms(); if(seis.length > 0){ List orderedSeis = new ArrayList(seis.length); orderedSeis.add(0, seis[0]); double minDistBetween = Double.POSITIVE_INFINITY; for (int i ...
public synchronized LayoutEvent generateLayoutEvent(){ DataSetSeismogram[] seis = getSeismograms(); if(seis.length > 0){ List orderedSeis = new ArrayList(seis.length); orderedSeis.add(0, seis[0]); double minDistBetween = Double.POSITIVE_INFINITY; for (int i ...
1,117,393
public BasicSeismogramDisplay(DataSetSeismogram[] seismos, String[] names, VerticalSeismogramDisplay parent)throws IllegalArgumentException{ this(seismos, new BasicTimeConfig(seismos), new RMeanAmpConfig(seismos), names, parent); }
public BasicSeismogramDisplay(DataSetSeismogram[] seismos, String[] names, VerticalSeismogramDisplay parent)throws IllegalArgumentException{ this(seismos, new BasicTimeConfig(seismos), new RMeanAmpConfig(seismos), names, parent); }
1,117,394
public void add(DataSetSeismogram[] seismos, String[] names){ registrar.add(seismos); for(int i = 0; i < seismos.length; i++){ if(seismos[i] != null){ seismograms.add(seismos[i]); SeismogramShape newPlotter; if (autoColor) { newPlotter = new SeismogramShape(seismos[i], seisColors[seisCount%seisColors.l...
public void add(DataSetSeismogram[] seismos){ registrar.add(seismos); for(int i = 0; i < seismos.length; i++){ if(seismos[i] != null){ seismograms.add(seismos[i]); SeismogramShape newPlotter; if (autoColor) { newPlotter = new SeismogramShape(seismos[i], seisColors[seisCount%seisColors.length], names[i]...
1,117,395
public void add(DataSetSeismogram[] seismos, String[] names){ registrar.add(seismos); for(int i = 0; i < seismos.length; i++){ if(seismos[i] != null){ seismograms.add(seismos[i]); SeismogramShape newPlotter; if (autoColor) { newPlotter = new SeismogramShape(seismos[i], seisColors[seisCount%seisColors.l...
public void add(DataSetSeismogram[] seismos, String[] names){ registrar.add(seismos); for(int i = 0; i < seismos.length; i++){ if(seismos[i] != null){ seismograms.add(seismos[i]); SeismogramShape newPlotter; if (autoColor) { newPlotter = new SeismogramShape(seismos[i], seisColors[seisCount%seisColors.l...
1,117,396
public void add(DataSetSeismogram[] seismos, String[] names){ registrar.add(seismos); for(int i = 0; i < seismos.length; i++){ if(seismos[i] != null){ seismograms.add(seismos[i]); SeismogramShape newPlotter; if (autoColor) { newPlotter = new SeismogramShape(seismos[i], seisColors[seisCount%seisColors.l...
public void add(DataSetSeismogram[] seismos, String[] names){ registrar.add(seismos); for(int i = 0; i < seismos.length; i++){ if(seismos[i] != null){ seismograms.add(seismos[i]); SeismogramShape newPlotter; if (autoColor) { newPlotter = new SeismogramShape(seismos[i], seisColors[seisCount%seisColors.l...
1,117,397
public NamedColor(int r, int b, int g, int a, String name){ super(r, g, b, a); this.name = name; }
public NamedColor(int r, int b, int g, int a, String name){ super(r, g, b, a); this.name = name; }
1,117,400
TimeScaleCalc (int totalPixels, TimeConfigRegistrar tr){ this.totalPixels = totalPixels; this.timeRegistrar = new TimeConfigRegistrar(tr, this); setTimes(); calculateTicks(); }
TimeScaleCalc (int totalPixels, TimeConfigRegistrar tr){ this.totalPixels = totalPixels; this.timeRegistrar = new TimeConfigRegistrar(tr, this); setTimes(); }
1,117,401
public LeftTitleBorder(String title) { top = 0; left = 10; right = 0; bottom = 0; this.title = title; isChannelTitle = false; }
public LeftTitleBorder(String title) { top = 0; left = 15; right = 0; bottom = 0; this.title = title; isChannelTitle = false; }
1,117,402
public void removeSelectionDisplay(){ if(selectionDisplay != null){ Iterator e = basicDisplays.iterator(); while(e.hasNext()){ ((BasicSeismogramDisplay)e.next()).clearRegSelections(); } selectionWindow.dispose(); selectionDisplay.parent = null; selectionDisplay.removeAll(); selectionDis...
public void removeSelectionDisplay(){ if(selectionDisplay != null){ Iterator e = basicDisplays.iterator(); while(e.hasNext()){ ((BasicSeismogramDisplay)e.next()).clearRegSelections(); } selectionWindow.dispose(); selectionDisplay.parent = null; selectionDisplay.removeAll(); selectionDis...
1,117,403
public void remove3CSelectionDisplay(){ if(threeSelectionDisplay != null){ Iterator e = basicDisplays.iterator(); while(e.hasNext()){ ((BasicSeismogramDisplay)e.next()).clear3CSelections(); } threeSelectionWindow.dispose(); threeSelectionDisplay.parent = null; threeSelectionDisplay.removeAl...
public void remove3CSelectionDisplay(){ if(threeSelectionDisplay != null){ Iterator e = basicDisplays.iterator(); while(e.hasNext()){ ((BasicSeismogramDisplay)e.next()).clear3CSelections(); } threeSelectionWindow.dispose(); threeSelectionDisplay.parent = null; threeSelectionDisplay.removeAl...
1,117,404
public void remove3CSelectionDisplay(){ if(threeSelectionDisplay != null){ Iterator e = basicDisplays.iterator(); while(e.hasNext()){ ((BasicSeismogramDisplay)e.next()).clear3CSelections(); } threeSelectionWindow.dispose(); threeSelectionDisplay.parent = null; threeSelectionDisplay.removeAl...
public void remove3CSelectionDisplay(){ if(threeSelectionDisplay != null){ Iterator e = basicDisplays.iterator(); while(e.hasNext()){ ((BasicSeismogramDisplay)e.next()).clear3CSelections(); } threeSelectionWindow.dispose(); threeSelectionWindow = null; threeSelectionDisplay.removeAll(); ...
1,117,405
protected void setUp() throws Exception { // JUnitDoclet begin method testcase.setUp super.setUp(); short size = 40; intTestData = new int[size]; shortTestData = new short[size]; floatTestData = new float[size]; doubleTestData = new double[size]; for (short i=0; i<size; i++) { ...
protected void setUp() throws Exception { // JUnitDoclet begin method testcase.setUp super.setUp(); short size = 40; intTestData = new int[size]; shortTestData = new short[size]; floatTestData = new float[size]; doubleTestData = new double[size]; for (short i=0; i<size; i++) { ...
1,117,406
public String doAction(HttpServletRequest request, BwActionForm form) throws Throwable { if (form.getGuest()) { return "doNothing"; } BwLocation l = form.getNewLocation(); if (l == null) { return "success"; } form.getCalSvcI().addLocation(l); form.getMsg().emit("...
public String doAction(HttpServletRequest request, BwActionForm form) throws Throwable { if (form.getGuest()) { return "doNothing"; } BwLocation l = form.getNewLocation(); if (l == null) { return "success"; } form.getCalSvcI().addLocation(l); form.getMsg().emit("...
1,117,407
public Collection getEventFormatters() throws Throwable { try { getEvents(); if (eventFormatters == null) { if (events == null) { return new Vector(); } eventFormatters = new Vector(); Iterator it = events.iterator(); while (it.hasNext()) { eventFormat...
public Collection getEventFormatters() throws Throwable { try { getEvents(); if (eventFormatters == null) { if (events == null) { return new ArrayList(); } eventFormatters = new Vector(); Iterator it = events.iterator(); while (it.hasNext()) { eventFor...
1,117,408
public Collection getEventFormatters() throws Throwable { try { getEvents(); if (eventFormatters == null) { if (events == null) { return new Vector(); } eventFormatters = new Vector(); Iterator it = events.iterator(); while (it.hasNext()) { eventFormat...
public Collection getEventFormatters() throws Throwable { try { getEvents(); if (eventFormatters == null) { if (events == null) { return new Vector(); } eventFormatters = new ArrayList(); Iterator it = events.iterator(); while (it.hasNext()) { eventFor...
1,117,409
public void addDataSet(edu.sc.seis.fissuresUtil.xml.DataSet dataset, AuditInfo[] audit) { dataSetIdCache = null; if (dataset instanceof XMLDataSet) { XMLDataSet xds = (XMLDataSet)dataset; Element element = xds.getElement(); if (element.getOwnerDocument().eq...
public void addDataSet(edu.sc.seis.fissuresUtil.xml.DataSet dataset, AuditInfo[] audit) { dataSetIdCache = null; if (dataset instanceof XMLDataSet) { XMLDataSet xds = (XMLDataSet)dataset; Element element = xds.getElement(); if (element.getOwnerDocument().eq...
1,117,410
public void addParameter(String name, Object value, AuditInfo[] audit) { parameterNameCache = null; parameterCache.put(name, value); //if (value instanceof Element) { Element parameter = config.getOwnerDocument().createElement("parameter")...
public void addParameter(String name, Object value, AuditInfo[] audit) { parameterCache.put(name, value); //if (value instanceof Element) { Element parameter = config.getOwnerDocument().createElement("parameter"); XMLParameter.insert(...
1,117,411
public void addParameterRef(URL paramURL, String name, AuditInfo[] audit) { parameterNameCache = null; String baseStr = base.toString(); String paramStr = paramURL.toString(); if (paramStr.startsWith(baseStr)) { // use r...
public void addParameterRef(URL paramURL, String name, AuditInfo[] audit) { String baseStr = base.toString(); String paramStr = paramURL.toString(); if (paramStr.startsWith(baseStr)) { // use relative URL par...
1,117,412
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) { // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element localSeismogram = doc.createElement("localSeismogram");//doc...
1,117,413
public void addSeismogramRef(LocalSeismogramImpl seis, URL seisURL, String name, Property[] props, ParameterRef[] parm_ids, AuditInfo[] audit) { seismogramNameCache = null; S...
public void addSeismogramRef(LocalSeismogramImpl seis, URL seisURL, String name, Property[] props, ParameterRef[] parm_ids, AuditInfo[] audit) { String baseStr = base.toStri...
1,117,414
public DataSet createChildDataSet(String id, String name, String owner, AuditInfo[] audit) { dataSetIdCache = null; XMLDataSet dataset = new XMLDataSet(docBuilder, base, id, name, owner); addDataSet(dataset, audit); return dataset; }
public DataSet createChildDataSet(String id, String name, String owner, AuditInfo[] audit) { XMLDataSet dataset = new XMLDataSet(docBuilder, base, id, name, owner); addDataSet(dataset, audit); return dataset; }
1,117,415
public String[] getDataSetIds() { if (dataSetIdCache == null) { dataSetIdCache = getAllAsStrings("*/@datasetid"); } // end of if (dataSetIdCache == null) return dataSetIdCache; }
public String[] getDataSetIds() { if (dataSetIdCache == null) { dataSetIdCache = getAllAsStrings("*/@datasetid"); } // end of if (dataSetIdCache == null) return dataSetIdCache; }
1,117,417
public edu.sc.seis.fissuresUtil.cache.CacheEvent getEvent() { boolean found; NodeList paramList = evalNodeList(config, "parameter"); if(paramList != null && paramList.getLength() != 0) { for(int counter = 0; counter < paramList.getLength(); counter++) { Object object = XMLParameter.getParameter((Element)paramL...
public edu.sc.seis.fissuresUtil.cache.CacheEvent getEvent() { /*boolean found; NodeList paramList = evalNodeList(config, "parameter"); if(paramList != null && paramList.getLength() != 0) { for(int counter = 0; counter < paramList.getLength(); counter++) { Object object = XMLParameter.getParameter((Element)para...
1,117,418
public edu.sc.seis.fissuresUtil.cache.CacheEvent getEvent() { boolean found; NodeList paramList = evalNodeList(config, "parameter"); if(paramList != null && paramList.getLength() != 0) { for(int counter = 0; counter < paramList.getLength(); counter++) { Object object = XMLParameter.getParameter((Element)paramL...
public edu.sc.seis.fissuresUtil.cache.CacheEvent getEvent() { boolean found; NodeList paramList = evalNodeList(config, "parameter"); if(paramList != null && paramList.getLength() != 0) { for(int counter = 0; counter < paramList.getLength(); counter++) { Object object = XMLParameter.getParameter((Element)paramL...
1,117,419
public Object getParameter(String name) { //ChannelProxy channelProxy = new ChannelProxy(); //ChannelId[] channelIds = getChannelIds(); //channelProxy.retrieve_grouping(channelIds, channelIds[0]); ///************************************************ if (parameterCache.containsKey(name)) { return ...
public Object getParameter(String name) { //ChannelProxy channelProxy = new ChannelProxy(); //ChannelId[] channelIds = getChannelIds(); //channelProxy.retrieve_grouping(channelIds, channelIds[0]); ///************************************************ if (parameterCache.containsKey(name)) { return ...
1,117,420
public Object getParameter(String name) { //ChannelProxy channelProxy = new ChannelProxy(); //ChannelId[] channelIds = getChannelIds(); //channelProxy.retrieve_grouping(channelIds, channelIds[0]); ///************************************************ if (parameterCache.containsKey(name)) { return ...
public Object getParameter(String name) { //ChannelProxy channelProxy = new ChannelProxy(); //ChannelId[] channelIds = getChannelIds(); //channelProxy.retrieve_grouping(channelIds, channelIds[0]); ///************************************************ if (parameterCache.containsKey(name)) { return ...
1,117,421
public Object getParameter(String name) { //ChannelProxy channelProxy = new ChannelProxy(); //ChannelId[] channelIds = getChannelIds(); //channelProxy.retrieve_grouping(channelIds, channelIds[0]); ///************************************************ if (parameterCache.containsKey(name)) { return ...
public Object getParameter(String name) { //ChannelProxy channelProxy = new ChannelProxy(); //ChannelId[] channelIds = getChannelIds(); //channelProxy.retrieve_grouping(channelIds, channelIds[0]); ///************************************************ if (parameterCache.containsKey(name)) { return ...
1,117,422
public Object getParameter(String name) { //ChannelProxy channelProxy = new ChannelProxy(); //ChannelId[] channelIds = getChannelIds(); //channelProxy.retrieve_grouping(channelIds, channelIds[0]); ///************************************************ if (parameterCache.containsKey(name)) { return ...
public Object getParameter(String name) { //ChannelProxy channelProxy = new ChannelProxy(); //ChannelId[] channelIds = getChannelIds(); //channelProxy.retrieve_grouping(channelIds, channelIds[0]); ///************************************************ if (parameterCache.containsKey(name)) { return ...
1,117,423
public String[] getParameterNames() { if (parameterNameCache == null) { parameterNameCache = cacheParameterNames(); } // end of if (parameterNameCache == null) return parameterNameCache; }
public String[] getParameterNames() { if (parameterNameCache == null) { parameterNameCache = cacheParameterNames(); } // end of if (parameterNameCache == null) return parameterNameCache; }
1,117,424
public String[] getSeismogramNames() { if (seismogramNameCache == null) { seismogramNameCache = cacheSeismogramNames(); } // end of if (seismogramNameCache == null) return seismogramNameCache; }
public String[] getSeismogramNames() { if (seismogramNameCache == null) { seismogramNameCache = cacheSeismogramNames(); } // end of if (seismogramNameCache == null) return seismogramNameCache; }
1,117,426
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } BwCategory key = form.getCategory(); int delResult = form.getCalSvc...
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } BwCategory key = form.getCategory(); int delResult = form.getCalSvc...
1,117,427
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } BwCategory key = form.getCategory(); int delResult = form.getCalSvc...
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } BwCategory key = form.getCategory(); int delResult = form.getCalSvc...
1,117,428
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } BwCategory key = form.getCategory(); int delResult = form.getCalSvc...
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } BwCategory key = form.getCategory(); int delResult = form.getCalSvc...
1,117,429
public DataSet extract(URL base, Element element) throws MalformedURLException{ String name = ""; String owner = ""; String id = element.getAttribute("datasetid"); Node temp; NodeList children = element.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { ...
public DataSet extract(URL base, Element element) throws MalformedURLException{ String name = ""; String owner = ""; String id = element.getAttribute("datasetid"); Node temp; NodeList children = element.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { ...
1,117,430
public static DataSet load(URL datasetURL) throws IOException, ParserConfigurationException, SAXException { DataSet dataset = null; DocumentBuilder docBuilder = XMLDataSet.getDocumentBuilder(); Document doc = docBuilder.parse(new BufferedInputStream(datasetURL.openStream())); Elem...
public static DataSet load(URL datasetURL) throws IOException, ParserConfigurationException, SAXException { DataSet dataset = null; DocumentBuilder docBuilder = XMLDataSet.getDocumentBuilder(); Document doc = docBuilder.parse(new BufferedInputStream(datasetURL.openStream())); Elem...
1,117,431
public static LocalSeismogramImpl steim1(LocalSeismogramImpl seis) throws SteimException, IOException { int[] data = seis.get_as_longs(); LinkedList allBlocks = new LinkedList(); SteimFrameBlock block = Steim1.encode(data, 63); allBlocks.addLast(block); while (block.getNumSamples(...
public static LocalSeismogramImpl steim1(LocalSeismogramImpl seis) throws SteimException, IOException { int[] data = seis.get_as_longs(); LinkedList allBlocks = new LinkedList(); SteimFrameBlock block = Steim1.encode(data, 63); allBlocks.addLast(block); while (block.getNumSamples(...
1,117,433