bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
private void updateLensImage() { if (view.isLensVisible()) view.setLensPlaneImage(model.getRenderedImage()); timer.stop(); }
private void updateLensImage() { if (view.isLensVisible()) view.setLensPlaneImage(model.getImage()); timer.stop(); }
3,229,203
public ZoomAction(ImViewer model, int zoomingIndex) { super(model); controlsIndex(zoomingIndex); putValue(Action.SHORT_DESCRIPTION, UIUtilities.formatToolTipText(DESCRIPTION)); this.zoomingIndex = zoomingIndex; putValue(Action.NAME, names[zoomingIndex]); ...
public ZoomAction(ImViewer model, int zoomingIndex) { super(model); controlsIndex(zoomingIndex); putValue(Action.SHORT_DESCRIPTION, UIUtilities.formatToolTipText(DESCRIPTION)); this.zoomingIndex = zoomingIndex; putValue(Action.NAME, names[zoomingIndex]); ...
3,229,204
public ColorModelAction(ImViewer model, int modelIndex) { super(model, NAME); controlIndex(modelIndex); putValue(Action.SHORT_DESCRIPTION, UIUtilities.formatToolTipText(DESCRIPTION)); this.modelIndex = modelIndex; putValue(Action.NAME, names[modelIndex]); ...
public ColorModelAction(ImViewer model, int modelIndex) { super(model, NAME); controlIndex(modelIndex); putValue(Action.SHORT_DESCRIPTION, UIUtilities.formatToolTipText(getDescription(modelIndex))); this.modelIndex = modelIndex; putValue(Action.NAME, names[model...
3,229,205
public ColorModelAction(ImViewer model, int modelIndex) { super(model, NAME); controlIndex(modelIndex); putValue(Action.SHORT_DESCRIPTION, UIUtilities.formatToolTipText(DESCRIPTION)); this.modelIndex = modelIndex; putValue(Action.NAME, names[modelIndex]); ...
public ColorModelAction(ImViewer model, int modelIndex) { super(model, NAME); controlIndex(modelIndex); putValue(Action.SHORT_DESCRIPTION, UIUtilities.formatToolTipText(DESCRIPTION)); this.modelIndex = modelIndex; putValue(Action.NAME, names[modelIndex]); ...
3,229,206
private void addFilenames(String[] filenames) { if (filenames.length == 0) { return; } for (int i = 0; i < filenames.length; i++) { getProject().log("Adding " + filenames[i] + " to list", Project.MSG_VERBOSE); addArg(filenames[i]); } Header.print(System.out);// System.out.println("instrumenting " + f...
private void addFilenames(String[] filenames) { if (filenames.length == 0) { return; } for (int i = 0; i < filenames.length; i++) { getProject().log("Adding " + filenames[i] + " to list", Project.MSG_VERBOSE); addArg(filenames[i]); } Header.print(System.out);// System.out.println("instrumenting " + f...
3,229,207
public void execute() throws BuildException { initArgs(); if (dataFile != null) { addArg("--datafile"); addArg(dataFile); } addArg("--destination"); addArg(this.destDir.getAbsolutePath()); addArg("--format"); addArg(format); if (srcDir != null) { addArg("--basedir"); addArg(srcDir); } handleFi...
public void execute() throws BuildException { initArgs(); if (dataFile != null) { addArg("--datafile"); addArg(dataFile); } addArg("--destination"); addArg(this.destDir.getAbsolutePath()); addArg("--format"); addArg(format); if (srcDir != null) { addArg("--basedir"); addArg(srcDir); } handleFi...
3,229,208
private void handleFilesets() { Set filenames = new HashSet(); Iterator iter = fileSets.iterator(); while (iter.hasNext()) { FileSet fileSet = (FileSet)iter.next(); addArg("--basedir"); addArg(baseDir(fileSet)); filenames.addAll(Arrays.asList(getFilenames(fileSet))); } addFilenames((String[])filenames.to...
private void handleFilesets() { Set filenames = new HashSet(); Iterator iter = fileSets.iterator(); while (iter.hasNext()) { FileSet fileSet = (FileSet)iter.next(); addArg("--basedir"); addArg(baseDir(fileSet)); filenames.addAll(Arrays.asList(getFilenames(fileSet))); } addFilenames((String[])filenames.to...
3,229,209
private void handleFilesets() { Set filenames = new HashSet(); Iterator iter = fileSets.iterator(); while (iter.hasNext()) { FileSet fileSet = (FileSet)iter.next(); addArg("--basedir"); addArg(baseDir(fileSet)); filenames.addAll(Arrays.asList(getFilenames(fileSet))); } addFilenames((String[])filenames.to...
private void handleFilesets() { Set filenames = new HashSet(); Iterator iter = fileSets.iterator(); while (iter.hasNext()) { FileSet fileSet = (FileSet)iter.next(); addArg("--basedir"); addArg(baseDir(fileSet)); filenames.addAll(Arrays.asList(getFilenames(fileSet))); } addFilenames((String[])filenames.to...
3,229,210
private void handleFilesets() { Set filenames = new HashSet(); Iterator iter = fileSets.iterator(); while (iter.hasNext()) { FileSet fileSet = (FileSet)iter.next(); addArg("--basedir"); addArg(baseDir(fileSet)); filenames.addAll(Arrays.asList(getFilenames(fileSet))); } addFilenames((String[])filenames.to...
private void handleFilesets() { Set filenames = new HashSet(); Iterator iter = fileSets.iterator(); while (iter.hasNext()) { FileSet fileSet = (FileSet)iter.next(); addArg("--basedir"); addArg(baseDir(fileSet)); filenames.addAll(Arrays.asList(getFilenames(fileSet))); } addFilenames((String[])filenames.to...
3,229,211
public void testEnterExecuting() { readPointID = ExecCommand.LOCK_ACQUIRED_BY_ENTER_EXECUTING; target.run(); threads.awaitAltFlow(); assertEquals("Concurrent access to command state.", ExecCommand.EXECUTING, tState); }
public void testEnterExecuting() { readPointID = ExecCommand.LOCK_ACQUIRED_BY_ENTER_EXECUTING; target.run(); threads.awaitAltFlow(); assertEquals("Concurrent access to command state.", ExecCommand.EXECUTING, tState); }
3,229,212
protected RubyModule(IRuby runtime, RubyClass metaClass, RubyClass superClass, SinglyLinkedList parentCRef, String name) { super(runtime, metaClass); this.superClass = superClass; //this.parentModule = parentModule; setBaseName(name); // If no parent is passed in, it is ...
protectedRubyModule(IRubyruntime,RubyClassmetaClass,RubyClasssuperClass,SinglyLinkedListparentCRef,Stringname){super(runtime,metaClass);this.superClass=superClass;//this.parentModule=parentModule; setBaseName(name);//Ifnoparentispassedin,itissafetoassumeObject.if(parentCRef==null){if(runtime.getObject()!=null){parentC...
3,229,213
public static final Object build(BuildContext rc, Condition cond, Macro body, Object elseDir) throws BuildException { if (cond instanceof Macro) { Macro elseMacro = (elseDir != null) ? MacroAdapter.createMacro(elseDir) : null; return new IfDirective(cond, body, elseMac...
public static final Object build(BuildContext rc, Condition cond, Macro body, Object elseDir) throws BuildException { if (cond instanceof Macro) { Macro elseMacro = (elseDir != null) ? MacroAdapter.createMacro(elseDir,rc.getEncoding()) : null; return new IfDirective(co...
3,229,216
public Object evaluate(Context context) throws ContextException { try { ByteArrayOutputStream os = new ByteArrayOutputStream(256); FastWriter fw = new FastWriter(os, "UTF8"); write(fw,context); fw.flush(); return os.toString("UTF8"); } catch (IOException e) { ...
public Object evaluate(Context context) throws ContextException { try { ByteArrayOutputStream os = new ByteArrayOutputStream(256); FastWriter fw = new FastWriter(os, context.getEncoding()); write(fw,context); fw.flush(); return os.toString("UTF8"); } catch (IO...
3,229,217
public Object evaluate(Context context) throws ContextException { try { ByteArrayOutputStream os = new ByteArrayOutputStream(256); FastWriter fw = new FastWriter(os, "UTF8"); write(fw,context); fw.flush(); return os.toString("UTF8"); } catch (IOException e) { ...
public Object evaluate(Context context) throws ContextException { try { ByteArrayOutputStream os = new ByteArrayOutputStream(256); FastWriter fw = new FastWriter(os, "UTF8"); write(fw,context); fw.flush(); return os.toString(context.getEncoding()); } catch (IO...
3,229,218
public static RubyBinding newBinding(IRuby runtime) { ThreadContext context = runtime.getCurrentContext(); // FIXME: We should be cloning, not reusing: frame, scope, dynvars, and potentially iter/block info RubyModule wrapper = context.getWrapper(); Iter iter = context.getCurrent...
public static RubyBinding newBinding(IRuby runtime) { ThreadContext context = runtime.getCurrentContext(); // FIXME: We should be cloning, not reusing: frame, scope, dynvars, and potentially iter/block info RubyModule wrapper = context.getWrapper(); Iter iter = context.getCurrent...
3,229,219
public RubyArray coerce(RubyObject num) { RubyNumeric other = numericValue(num); return RubyArray.newArray(getRuby(), this, newFloat(getRuby(), other.getDoubleValue())); }
public RubyArray coerce(RubyObject num) { RubyNumeric other = numericValue(num); return RubyArray.newArray(getRuby(), newFloat(getRuby(), other.getDoubleValue()), this); }
3,229,220
public void erase() { DrawingCanvasMng mng = drawingCanvas.getManager(); if (mng.getCurrentROI() != null) mng.erase(); }
public void erase() { DrawingCanvasMng mng = drawingCanvas.getManager(); ROIShape roi = mng.getCurrentROI(); if (roi != null && roi.getAnnotation() != null && mng.isAnnotationOnOff()) { setAnnotation(null); } if (roi != null) mng.erase(); }
3,229,221
public void eraseAll() { drawingCanvas.getManager().eraseAll(); }
public void eraseAll() { drawingCanvas.getManager().eraseAll(); setAnnotation(null); }
3,229,222
public void onOffDrawing(boolean b) { abstraction.onOffDrawing(b); }
public void onOffDrawing(boolean b) { abstraction.onOffDrawing(b); }
3,229,223
void onOffDrawing(boolean b) { drawOnOff = b; postedAdd = true; registry.getEventBus().post(new AddROICanvas(b)); }
void onOffDrawing(boolean b) { drawOnOff = b; registry.getEventBus().post(new AddROICanvas(b)); }
3,229,224
public void testCommandsFileOption() throws Exception { String[] args = { "Hello", "world" }; String[] result = CommandLineBuilder.preprocessCommandLineArguments( args); assertSame( args, result); try { args = new String[]{ "Hello", "--commandsfile" }; result = CommandLineBuilder.preprocessCommandLineArgumen...
public void testCommandsFileOption() throws Exception { String[] args = { "Hello", "world" }; String[] result = CommandLineBuilder.preprocessCommandLineArguments( args); assertSame( args, result); try { args = new String[]{ "Hello", "--commandsfile" }; result = CommandLineBuilder.preprocessCommandLineArgumen...
3,229,228
public void testCommandsFileOption() throws Exception { String[] args = { "Hello", "world" }; String[] result = CommandLineBuilder.preprocessCommandLineArguments( args); assertSame( args, result); try { args = new String[]{ "Hello", "--commandsfile" }; result = CommandLineBuilder.preprocessCommandLineArgumen...
public void testCommandsFileOption() throws Exception { String[] args = { "Hello", "world" }; String[] result = CommandLineBuilder.preprocessCommandLineArguments( args); assertSame( args, result); try { args = new String[]{ "Hello", "--commandsfile" }; result = CommandLineBuilder.preprocessCommandLineArgumen...
3,229,229
protected String[] getConfigLocations() { return ConfigHelper.getDaoConfigLocations(); }
protected String[] getConfigLocations() { return ConfigHelper.getDbUnitConfigLocations(); }
3,229,230
public DataObject createDataObject(DataObject child, DataObject parent) throws DSOutOfServiceException, DSAccessException { if (child == null) throw new IllegalArgumentException("The child cannot be null."); IObject obj = ModelMapper.createIObject(child, parent); if (o...
publicDataObjectcreateDataObject(DataObjectchild,DataObjectparent)throwsDSOutOfServiceException,DSAccessException{if(child==null)thrownewIllegalArgumentException("Thechildcannotbenull.");IObjectobj=ModelMapper.createIObject(child,parent);if(obj==null)thrownewNullPointerException("Cannotconvertobject.");IObjectcreated=g...
3,229,231
public DataObject createDataObject(DataObject child, DataObject parent) throws DSOutOfServiceException, DSAccessException { if (child == null) throw new IllegalArgumentException("The child cannot be null."); IObject obj = ModelMapper.createIObject(child, parent); if (o...
public DataObject createDataObject(DataObject child, DataObject parent) throws DSOutOfServiceException, DSAccessException { if (child == null) throw new IllegalArgumentException("The child cannot be null."); IObject obj = ModelMapper.createIObject(child, parent); if (o...
3,229,232
public DataObject updateDataObject(DataObject object) throws DSOutOfServiceException, DSAccessException { if (object == null) throw new DSAccessException("No object to update."); IObject updated = gateway.updateObject(object.asIObject(), ...
public DataObject updateDataObject(DataObject object) throws DSOutOfServiceException, DSAccessException { if (object == null) throw new DSAccessException("No object to update."); IObject ob = object.asIObject(); IObject updated = gateway.updateObject(ob, ...
3,229,233
public static void linkParentToChild(IObject child, IObject parent) { if (parent == null) return; if (child == null) throw new IllegalArgumentException("Child cannot" + "be null."); if (parent instanceof Project) { if (!(child instanceof Dataset)) ...
public static void linkParentToChild(IObject child, IObject parent) { if (parent == null) return; if (child == null) throw new IllegalArgumentException("Child cannot" + "be null."); if (parent instanceof Project) { if (!(child instanceof Dataset)) ...
3,229,235
public static void linkParentToChild(IObject child, IObject parent) { if (parent == null) return; if (child == null) throw new IllegalArgumentException("Child cannot" + "be null."); if (parent instanceof Project) { if (!(child instanceof Dataset)) ...
public static void linkParentToChild(IObject child, IObject parent) { if (parent == null) return; if (child == null) throw new IllegalArgumentException("Child cannot" + "be null."); if (parent instanceof Project) { if (!(child instanceof Dataset)) ...
3,229,236
void deleteObject(IObject object, Map options) throws DSOutOfServiceException, DSAccessException { try { //IPojos service = getIPojosService(); IUpdate service = getIUpdateService(); service.deleteObject(object); } catch (Exception e) { handleExcep...
void deleteObject(IObject object) throws DSOutOfServiceException, DSAccessException { try { //IPojos service = getIPojosService(); IUpdate service = getIUpdateService(); service.deleteObject(object); } catch (Exception e) { handleException(e, "Cann...
3,229,237
void deleteObject(IObject object, Map options) throws DSOutOfServiceException, DSAccessException { try { //IPojos service = getIPojosService(); IUpdate service = getIUpdateService(); service.deleteObject(object); } catch (Exception e) { handleExcep...
voiddeleteObject(IObjectobject,Mapoptions)throwsDSOutOfServiceException,DSAccessException{try{//IPojosservice=getIPojosService();IUpdateservice=getIUpdateService();service.deleteObject(object);}catch(Exceptione){handleException(e,"Cannotdeletetheobject.");}}
3,229,238
PlaneSlicingDialog(QuantumPaneManager control, PlaneSlicingContext psCtx) { super(control.getReferenceFrame(), "Plane Slicing", true); manager = new PlaneSlicingDialogManager(this, control, psCtx); int yStart, yEnd, s, e; s = control.getCodomainStart(); e = control.getCodomainEnd(); yStart = TB+manager.convert...
PlaneSlicingDialog(QuantumPaneManager control, PlaneSlicingContext psCtx) { super(control.getReferenceFrame(), "Plane Slicing", true); manager = new PlaneSlicingDialogManager(this, control, psCtx); int yStart, yEnd, s, e; s = control.getCodomainStart(); e = control.getCodomainEnd(); yStart = TB+manager.convert...
3,229,242
private void buildGUI() { Container contentPane = super.getContentPane(); contentPane.setLayout(null); psPanel.setBounds(0, 0, PlaneSlicingPanel.WIDTH, PlaneSlicingPanel.HEIGHT); pssPanel.setBounds(PlaneSlicingPanel.WIDTH, 0, PlaneSlicingPanel.WIDTH, PlaneSlicingPanel.HEIGHT); contentPane.add(ps...
private void buildGUI() { Container contentPane = super.getContentPane(); contentPane.setLayout(null); psPanel.setBounds(0, 0, PlaneSlicingPanel.WIDTH, PlaneSlicingPanel.HEIGHT); pssPanel.setBounds(PlaneSlicingPanel.WIDTH, 0, PlaneSlicingPanel.WIDTH, PlaneSlicingPanel.HEIGHT); contentPane.add(ps...
3,229,243
RenderingAgtUIF getReferenceFrame() { return eventManager.getReferenceFrame(); }
RenderingAgtUIF getReferenceFrame() { return eventManager.getReferenceFrame(); }
3,229,244
PlaneSlicingPanel(int yStart, int yEnd) { isSelected = true; setKnobOutputStart(leftBorder-10, yStart); setKnobOutputEnd(lS+10, yEnd); startPt = new Point2D.Double(); endPt = new Point2D.Double(); startPt.setLocation((double) leftBorder, (double) yStart); endPt.setLocation((double) lS, (double) yEnd); super.re...
PlaneSlicingPanel(int yStart, int yEnd) { isSelected = true; setKnobOutputStart(leftBorder-10, yStart); setKnobOutputEnd(lS+10, yEnd); startPt = new Point2D.Double(); endPt = new Point2D.Double(); startPt.setLocation((double) leftBorder, (double) yStart); endPt.setLocation((double) lS, (double) yEnd); super.re...
3,229,245
public static List fillChainExecutions(List execs,ChainExecutionData ceProto, DatasetData dsProto,AnalysisChainData acProto,NodeExecutionData neProto,AnalysisNodeData anProto,ModuleData mProto,ModuleExecutionData meProto) { List execList= new ArrayList(); //The returned summary list. Iterator i = execs.iterator...
public static List fillChainExecutions(List execs,ChainExecutionData ceProto, DatasetData dsProto,AnalysisChainData acProto,NodeExecutionData neProto,AnalysisNodeData anProto,ModuleData mProto,ModuleExecutionData meProto) { List execList= new ArrayList(); //The returned summary list. Iterator i = execs.iterator...
3,229,246
ToolBar(ImViewerControl controller, ImViewerModel model) { if (controller == null) throw new NullPointerException("No control."); if (model == null) throw new NullPointerException("No model."); this.controller = controller; this.model = model; charWidth = getFontMetrics(get...
ToolBar(ImViewerControl controller, ImViewerModel model) { if (controller == null) throw new NullPointerException("No control."); if (model == null) throw new NullPointerException("No model."); this.controller = controller; this.model = model; initComponents(); }
3,229,247
private String toRubyName(String javaName) { if (javaName.equals("getElementAt")) { return "[]"; } else if (javaName.equals("getValueAt")) { return "[]"; } else if (javaName.equals("setValueAt")) { return "[]="; } else if (javaName.startsWith("get")) { ...
private String toRubyName(String javaName) { if (javaName.equals("get")) { return "[]"; } else if (javaName.equals("set")) { return "[]="; } else if (javaName.equals("getElementAt")) { return "[]"; } else if (javaName.equals("getValueAt")) { return "[]"; } else if (javaNam...
3,229,248
public JavaEachMethod(String hasNextMethod, String nextMethod) { this.hasNextMethod = hasNextMethod; this.nextMethod = nextMethod; }
public JavaEachMethod(String iteratorMethod, String hasNextMethod, String nextMethod) { this.iteratorMethod = iteratorMethod; this.hasNextMethod = hasNextMethod; this.nextMethod = nextMethod; }
3,229,249
public InputStream getInStream() { return handler.getInputStream(); }
public InputStream getInStream() { if (handler instanceof IOHandlerJavaIO) { return ((IOHandlerJavaIO) handler).getInputStream(); } else { return null; } }
3,229,253
public OutputStream getOutStream() { return handler.getOutputStream(); }
public OutputStream getOutStream() { if(handler instanceof IOHandlerJavaIO) { return ((IOHandlerJavaIO) handler).getOutputStream(); } else { return null; } }
3,229,254
public IRubyObject reopen(IRubyObject[] args) { if (args.length < 1) { throw getRuntime().newArgumentError("wrong number of arguments"); } if (args[0].isKindOf(getRuntime().getClass("IO"))) { RubyIO ios = (RubyIO) args[0]; int keepFileno = handler.getFileno(); ...
public IRubyObject reopen(IRubyObject[] args) { if (args.length < 1) { throw getRuntime().newArgumentError("wrong number of arguments"); } if (args[0].isKindOf(getRuntime().getClass("IO"))) { RubyIO ios = (RubyIO) args[0]; int keepFileno = handler.getFileno(); ...
3,229,258
public static RubyStruct unmarshalFrom(UnmarshalStream input) throws java.io.IOException { Ruby ruby = input.getRuntime(); RubySymbol className = (RubySymbol) input.unmarshalObject(); RubyClass rbClass = pathToClass(ruby, className.toId()); if (rbClass == null) { throw new Nam...
public static RubyStruct unmarshalFrom(UnmarshalStream input) throws java.io.IOException { Ruby ruby = input.getRuntime(); RubySymbol className = (RubySymbol) input.unmarshalObject(); RubyClass rbClass = pathToClass(ruby, className.toId()); if (rbClass == null) { throw new Nam...
3,229,259
public final String toString () { return "constant-property:" + _vname; }
public final String toString () { return "constant-property:" + getVariableName(); }
3,229,260
Variable (Object names[]) { _vname = makeName(names).intern(); _names = names; }
Variable (Object names[]) { _names = names; }
3,229,261
public String getVariableName () { return _vname; }
public synchronized String getVariableName () { return _vname; }
3,229,262
public String getVariableName () { return _vname; }
public String getVariableName () { if (_vname == null) { _vname = makeName(_names).intern(); } return _vname; }
3,229,263
public List childNodes() { return Collections.EMPTY_LIST; }
public List childNodes() { return EMPTY_LIST; }
3,229,269
public void finishRenameNote(Event e) { if ((e.type == SWT.KeyDown && e.keyCode == SWT.CR) || e.type == SWT.FocusOut) { dd.getTree().disposeTreeEditor(); } }
public void finishRenameNote(Event e) { if ((e.type == SWT.KeyDown && e.keyCode == SWT.CR) || e.type == SWT.FocusOut) { dd.getTree().disposeTreeEditor(); } }
3,229,270
public void renameNote(Event e) { String newName = dd.getTree().getTreeEditorText(); DisplayedNote dn = dd.getTree().getSelectedNote(); dn.getNote().setName(newName); dn.setName(newName); }
public void renameNote(Event e) { String newName = dd.getTree().getTreeEditorText(); DisplayedNote dn = dd.getTree().getSelectedNote(); dn.getNote().setName(newName); dn.setName(newName); }
3,229,271
protected static String getMethodDescriptor(Class clazz, String methodName) { return clazz.getCanonicalName() + SEPARATOR + methodName; }
protected static String getMethodDescriptor(Class clazz, String methodName) { return clazz.getCanonicalName() + SEPARATOR + methodName; }
3,229,272
public testBothWays() throws Exception { DataObject dO = (DataObject) mapper.map( p ); Project test = (Project) reverse.map( dO ); }
public void testBothWays() throws Exception { DataObject dO = (DataObject) mapper.map( p ); Project test = (Project) reverse.map( dO ); }
3,229,274
public ContentItem loadContentItem(String itemResourcePath) { try { ArticleItemBean bean = new ArticleItemBean(); bean.setAutoCreateResource(isAutoCreateResource()); bean.load(itemResourcePath); return bean; } catch (Exception e) { e.printStackTrace(); } return null; }
public ContentItem loadContentItem(String itemResourcePath) { try { ArticleItemBean bean = new ArticleItemBean(); bean.setAutoCreateResource(isAutoCreateResource()); bean.load(itemResourcePath); return bean; } catch (Exception e) { e.printStackTrace(); } return null; }
3,229,275
public void testLongValues() throws Exception { Perms pp = new Perms(); assertEquals(pp.toLong(),-1); pp.revoke(GROUP, WRITE); pp.revoke(WORLD, WRITE); assertEquals(pp.toLong(),-37); }
public void testLongValues() throws Exception { Perms pp = new Perms(); assertEquals(pp.toLong(),-1); pp.revoke(GROUP, WRITE); pp.revoke(WORLD, WRITE); assertEquals(pp.toLong(),-37); }
3,229,276
protected Reader getReader() throws IOException { return new BufferedReader(new FileReader(myFile)); }
protected Reader getReader() throws IOException { return new BufferedReader(new InputStreamReader( new FileInputStream(myFile), myEncoding)); }
3,229,277
private void checkForEnter(KeyEvent e) { final KeyStroke keyStroke = KeyStroke.getKeyStroke(e.getKeyCode(), e.getModifiers()); if (!keyStroke.equals(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, KeyEvent.SHIFT_DOWN_MASK)) && e.getKeyChar() == KeyEvent.VK_ENTER) { e.consume(); ...
private void checkForEnter(KeyEvent e) { final KeyStroke keyStroke = KeyStroke.getKeyStroke(e.getKeyCode(), e.getModifiers()); if (!keyStroke.equals(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, KeyEvent.SHIFT_DOWN_MASK)) && e.getKeyChar() == KeyEvent.VK_ENTER) { e.consume(); ...
3,229,278
private void init() { setLayout(new GridBagLayout()); add(splitPane, new GridBagConstraints(0, 1, 1, 1, 1.0, 1.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0)); add(notificationLabel, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, Grid...
private void init() { setLayout(new GridBagLayout()); add(splitPane, new GridBagConstraints(0, 1, 1, 1, 1.0, 1.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0)); add(notificationLabel, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, Grid...
3,229,279
public void actionPerformed(ActionEvent evt) { final int ok = JOptionPane.showConfirmDialog(SparkManager.getMainWindow(), "Would you like to close this chat?", "Confirmation", JOptionPane.YES_NO_OPTION); if (ok == JOptionPane.OK_OPTION) { /...
public void actionPerformed(ActionEvent evt) { final int ok = JOptionPane.showConfirmDialog(SparkManager.getMainWindow(), "Would you like to close this chat?", "Confirmation", JOptionPane.YES_NO_OPTION); if (ok == JOptionPane.OK_OPTION) { /...
3,229,280
public void scrollToBottom() { if (mousePressed) { return; } int chatLength = transcriptWindow.getDocument().getLength(); transcriptWindow.setCaretPosition(chatLength); JScrollBar sb = textScroller.getVerticalScrollBar(); sb.setValue(sb.getMaximum()); }
public void scrollToBottom() { if (mousePressed) { return; } int chatLength = transcriptWindow.getDocument().getLength(); transcriptWindow.setCaretPosition(chatLength); JScrollBar sb = textScroller.getVerticalScrollBar(); sb.setValue(sb.getMaximum()); }
3,229,281
private void initActions(BrowserModel targetModel) { // theoretically shouldn't happen if(targetModel == null) { return; } defaultTDownActions = new MouseDownActions(); defaultTOverActions = new MouseOverActions(); selectThumbnailAction ...
private void initActions(BrowserModel targetModel) { // theoretically shouldn't happen if(targetModel == null) { return; } defaultTDownActions = new MouseDownActions(); defaultTOverActions = new MouseOverActions(); selectThumbnailAction ...
3,229,282
private void initActions(BrowserModel targetModel) { // theoretically shouldn't happen if(targetModel == null) { return; } defaultTDownActions = new MouseDownActions(); defaultTOverActions = new MouseOverActions(); selectThumbnailAction ...
private void initActions(BrowserModel targetModel) { // theoretically shouldn't happen if(targetModel == null) { return; } defaultTDownActions = new MouseDownActions(); defaultTOverActions = new MouseOverActions(); selectThumbnailAction ...
3,229,283
private UIComponent getEditContainer() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(HEADLINE_ID); em.addErrorMessage(TE...
private UIComponent getEditContainer() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(HEADLINE_ID); em.addErrorMessage(TE...
3,229,284
private UIComponent getEditContainer() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(HEADLINE_ID); em.addErrorMessage(TE...
private UIComponent getEditContainer() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(HEADLINE_ID); em.addErrorMessage(TE...
3,229,285
private UIComponent getEditContainer() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(HEADLINE_ID); em.addErrorMessage(TE...
private UIComponent getEditContainer() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(HEADLINE_ID); em.addErrorMessage(TE...
3,229,286
private UIComponent getEditContainer() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(HEADLINE_ID); em.addErrorMessage(TE...
private UIComponent getEditContainer() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(HEADLINE_ID); em.addErrorMessage(TE...
3,229,287
private UIComponent getEditContainer() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(HEADLINE_ID); em.addErrorMessage(TE...
private UIComponent getEditContainer() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(HEADLINE_ID); em.addErrorMessage(TE...
3,229,288
private UIComponent getEditContainer() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(HEADLINE_ID); em.addErrorMessage(TE...
private UIComponent getEditContainer() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(HEADLINE_ID); em.addErrorMessage(TE...
3,229,289
private UIComponent getEditContainer() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(HEADLINE_ID); em.addErrorMessage(TE...
private UIComponent getEditContainer() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(HEADLINE_ID); em.addErrorMessage(TE...
3,229,290
private UIComponent getEditContainer() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(HEADLINE_ID); em.addErrorMessage(TE...
private UIComponent getEditContainer() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(HEADLINE_ID); em.addErrorMessage(TE...
3,229,291
public TopWindowGroup(String name, Icon icon, TaskBar tb) { if (tb == null) throw new NullPointerException("No reference to the TaskBar."); if (name == null || name.length() == 0) throw new IllegalArgumentException("Must provide a name."); taskBar = tb; winSubMenu = new JMenu(name); winSubMenu.setIcon(icon); ...
public TopWindowGroup(String name, Icon icon, TaskBar tb) { if (tb == null) throw new NullPointerException("No reference to the TaskBar."); if (name == null || name.length() == 0) throw new IllegalArgumentException("Must provide a name."); taskBar = tb; winSubMenu = new JMenu(name); winSubMenu.setIcon(icon); ...
3,229,293
public TopWindowGroup(String name, Icon icon, TaskBar tb) { if (tb == null) throw new NullPointerException("No reference to the TaskBar."); if (name == null || name.length() == 0) throw new IllegalArgumentException("Must provide a name."); taskBar = tb; winSubMenu = new JMenu(name); winSubMenu.setIcon(icon); ...
public TopWindowGroup(String name, Icon icon, TaskBar tb) { if (tb == null) throw new NullPointerException("No reference to the TaskBar."); if (name == null || name.length() == 0) throw new IllegalArgumentException("Must provide a name."); taskBar = tb; winSubMenu = new JMenu(name); winSubMenu.setIcon(icon); ...
3,229,294
public void add(TopWindow window, String name, Icon icon) { if (window == null) return; if (name == null || name.length() == 0) throw new IllegalArgumentException("Must provide a name."); WindowConfig cfg = (WindowConfig) windows.get(window); if (cfg == null) { cfg = makeConfigFor(window); windows.put(window...
public void add(TopWindow window, String name, Icon icon) { if (window == null) return; if (name == null || name.length() == 0) throw new IllegalArgumentException("Must provide a name."); WindowConfig cfg = (WindowConfig) windows.get(window); if (cfg == null) { cfg = makeConfigFor(window); windows.put(window...
3,229,295
public void add(TopWindow window, String name, Icon icon) { if (window == null) return; if (name == null || name.length() == 0) throw new IllegalArgumentException("Must provide a name."); WindowConfig cfg = (WindowConfig) windows.get(window); if (cfg == null) { cfg = makeConfigFor(window); windows.put(window...
public void add(TopWindow window, String name, Icon icon) { if (window == null) return; if (name == null || name.length() == 0) throw new IllegalArgumentException("Must provide a name."); WindowConfig cfg = (WindowConfig) windows.get(window); if (cfg == null) { cfg = makeConfigFor(window); windows.put(window...
3,229,296
public void remove(JFrame window, boolean dispose) { if (window == null) return; remove(window); if (dispose) window.dispose(); }
public void remove(JFrame window, boolean dispose) { if (window == null) return; remove(window); if (dispose) window.dispose(); }
3,229,297
public void remove(JFrame window, boolean dispose) { if (window == null) return; remove(window); if (dispose) window.dispose(); }
public void remove(JFrame window, boolean dispose) { if (window == null) return; remove(window); if (dispose) window.dispose(); }
3,229,298
private void initListener() { tabPane.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { int index = -1; switch (tabPane.getSelectedIndex()) { case SEARCH_TAB: index = ClipBoard.SE...
void initListener() { tabPane.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { int index = -1; switch (tabPane.getSelectedIndex()) { case SEARCH_TAB: index = ClipBoard.SEARCH_PAN...
3,229,299
private void buildGUI() { setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED)); add(properties); add(annotate); add(classify); add(new JSeparator()); add(view); add(zoomIn); add(zoomOut); add(zoomFit); }
private void buildGUI() { setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED)); add(properties); add(annotate); add(classify); add(new JSeparator(SwingConstants.HORIZONTAL)); add(view); add(zoomIn); add(zoomOut); add(zoomFit); }
3,229,300
public void setAnnotations(Map map) { if (model.getState() != LOADING_ANNOTATION) throw new IllegalStateException("This method can only be invoked" + " in the LOADING_ANNOTATION state."); if (map == null) throw new IllegalArgumentException("No annotations."); mo...
public void setAnnotations(Map map) { if (model.getState() != LOADING_ANNOTATION) throw new IllegalStateException("This method can only be invoked" + " in the LOADING_ANNOTATION state."); if (map == null) throw new IllegalArgumentException("No annotations."); mo...
3,229,301
private void buildUI() { setLayout(new BorderLayout()); tabPane.add(searchView, SEARCH_TAB); tabPane.setTitleAt(SEARCH_TAB, SEARCH); tabPane.add(annotationView, ANNOTATE_TAB); tabPane.setTitleAt(ANNOTATE_TAB, ANNOTATIONS); add(tabPane, BorderLayout.CENTER); }
private void buildUI() { tabPane.add(searchView, SEARCH_TAB); tabPane.setTitleAt(SEARCH_TAB, SEARCH); tabPane.add(annotationView, ANNOTATE_TAB); tabPane.setTitleAt(ANNOTATE_TAB, ANNOTATIONS); add(tabPane, BorderLayout.CENTER); }
3,229,302
private void buildUI() { setLayout(new BorderLayout()); tabPane.add(searchView, SEARCH_TAB); tabPane.setTitleAt(SEARCH_TAB, SEARCH); tabPane.add(annotationView, ANNOTATE_TAB); tabPane.setTitleAt(ANNOTATE_TAB, ANNOTATIONS); add(tabPane, BorderLayout.CENTER); }
private void buildUI() { setLayout(new BorderLayout()); tabPane.add(searchView, SEARCH_TAB); tabPane.setTitleAt(SEARCH_TAB, SEARCH); tabPane.add(annotationView, ANNOTATE_TAB); tabPane.setTitleAt(ANNOTATE_TAB, ANNOTATIONS); setViewportView(tabPane); }
3,229,303
TreePopupMenu(ClipBoardUI clipBoard) { if (clipBoard == null) throw new IllegalArgumentException("No clipBoard."); initComponents(); buildUI(); new TreePopupMenuMng(this, clipBoard); }
TreePopupMenu(ClipBoardUI clipBoard, ClipBoardModel model) { if (clipBoard == null) throw new IllegalArgumentException("No clipBoard."); initComponents(); buildUI(); new TreePopupMenuMng(this, clipBoard); }
3,229,304
TreePopupMenu(ClipBoardUI clipBoard) { if (clipBoard == null) throw new IllegalArgumentException("No clipBoard."); initComponents(); buildUI(); new TreePopupMenuMng(this, clipBoard); }
TreePopupMenu(ClipBoardUI clipBoard) { if (clipBoard == null) throw new IllegalArgumentException("No clipBoard."); initComponents(); buildUI(); new TreePopupMenuMng(this, clipBoard, model); }
3,229,305
void setSearchResults(Set foundNodes) { pane = new SearchResultsPane(this, foundNodes); pane.addPropertyChangeListener(SearchResultsPane.LOCALIZE_IMAGE_DISPLAY, controller); treeHolder.removeAll(); treeHolder.add(new JScrollPane(pane), BorderLayo...
void setSearchResults(Set foundNodes) { pane = new SearchResultsPane(this, foundNodes); pane.addPropertyChangeListener(ClipBoard.LOCALIZE_IMAGE_DISPLAY, controller); treeHolder.removeAll(); treeHolder.add(new JScrollPane(pane), BorderLayout.CENTE...
3,229,306
public HeatMapDispatcher(HeatMapModel model, HeatMapStatus status, HeatMapGradient gradient) { this.model = model; this.status = status; this.gradient = gradient; }
public HeatMapDispatcher(HeatMapModel model, HeatMapStatus status, HeatMapGradient gradient) { this.model = model; this.status = status; this.gradient = gradient; }
3,229,308
public HeatMapDispatcher(HeatMapModel model, HeatMapStatus status, HeatMapGradient gradient) { this.model = model; this.status = status; this.gradient = gradient; }
public HeatMapDispatcher(HeatMapModel model, HeatMapStatus status, HeatMapGradient gradient) { this.model = model; this.status = status; this.gradient = gradient; }
3,229,309
public synchronized RubyFixnum id() { if (id == 0) { id = getRuntime().getObjectSpace().createId(this); } return getRuntime().newFixnum(id); }
public synchronized RubyFixnum id() { if (id == 0) { id = getRuntime().getObjectSpace().createId(this); } return getRuntime().newFixnum(id); }
3,229,310
public long createId(IRubyObject object) { synchronized (identities) { cleanIdentities(); maxId += 2; // id must always be even identities.put(Long.valueOf(maxId), new IdReference(object, maxId, deadIdentityReferences)); return maxId; } }
public long createId(IRubyObject object) { synchronized (identities) { cleanIdentities(); maxId += 2; // id must always be even identities.put(Long.valueOf(maxId), new IdReference(object, maxId, deadIdentityReferences)); return maxId; } }
3,229,311
public final int hashCode() { return (int) RubyNumeric.fix2long(callMethod(getRuntime().getCurrentContext(), "hash")); }
public int hashCode() { return (int) RubyNumeric.fix2long(callMethod(getRuntime().getCurrentContext(), "hash")); }
3,229,312
public static Criteria buildDatasetCriteria(int id) { Criteria c = new Criteria(); //Specify which fields we want for the dataset. c.addWantedField("name"); c.addWantedField("description"); c.addWantedField("owner"); c.addWantedField("images"); //Specify which fields we want for the owner. c.addWantedField("o...
public static Criteria buildDatasetCriteria(int id) { Criteria c = new Criteria(); //Specify which fields we want for the dataset. c.addWantedField("name"); c.addWantedField("description"); c.addWantedField("owner"); c.addWantedField("images"); //Specify which fields we want for the owner. c.addWantedField("o...
3,229,313
public static Criteria buildDatasetsTree(List datasetIDs) { Criteria c = new Criteria(); c.addWantedField("name"); c.addWantedField("images"); //Specify which fields we want for the images. c.addWantedField("images", "name"); c.addWantedField("images", "created"); ...
public static Criteria buildDatasetsTree(List datasetIDs) { Criteria c = new Criteria(); c.addWantedField("name"); c.addWantedField("images"); //Specify which fields we want for the images. c.addWantedField("images", "name"); c.addWantedField("images", "created"); ...
3,229,314
public static Criteria buildFullUserDatasetsCriteria(int userID) { Criteria c = new Criteria(); //Specify which fields we want for the dataset. c.addWantedField("name"); c.addWantedField("description"); c.addWantedField("owner"); c.addWantedField("images"); UserMapper.objectOwnerCriteria(c); //Specify ...
publicstaticCriteriabuildFullUserDatasetsCriteria(intuserID) { Criteriac=newCriteria(); //Specifywhichfieldswewantforthedataset. c.addWantedField("name"); c.addWantedField("description"); c.addWantedField("owner"); c.addWantedField("images");UserMapper.objectOwnerCriteria(c); //Specifywhichfieldswewantforthei...
3,229,315
public static Criteria buildFullUserDatasetsCriteria(int userID) { Criteria c = new Criteria(); //Specify which fields we want for the dataset. c.addWantedField("name"); c.addWantedField("description"); c.addWantedField("owner"); c.addWantedField("images"); UserMapper.objectOwnerCriteria(c); //Specify ...
public static Criteria buildFullUserDatasetsCriteria(int userID) { Criteria c = new Criteria(); //Specify which fields we want for the dataset. c.addWantedField("name"); c.addWantedField("description"); c.addWantedField("owner"); c.addWantedField("images"); UserMapper.objectOwnerCriteria(c); //Specify ...
3,229,316
public static Criteria buildImagesCriteria(List datasetIDs, Map filters, Map complexFilters) { Criteria c = new Criteria(); //Specify which fields we want for the images. c.addWantedField("images"); c.addWantedField("images", "name"); c.addWantedField("images", "created"...
public static Criteria buildImagesCriteria(List datasetIDs, Map filters, Map complexFilters) { Criteria c = new Criteria(); //Specify which fields we want for the images. c.addWantedField("images"); c.addWantedField("images", "name"); c.addWantedField("images", "created"...
3,229,317
public static void fillDataset(Dataset dataset, DatasetData empty) { //Fill up the DataObject with the data coming from Project. empty.setID(dataset.getID()); empty.setName(dataset.getName()); empty.setDescription(dataset.getDescription()); //Fill up the DataObject with data coming from Experimenter. Experim...
public static void fillDataset(Dataset dataset, DatasetData empty) { //Fill up the DataObject with the data coming from Project. empty.setID(dataset.getID()); empty.setName(dataset.getName()); empty.setDescription(dataset.getDescription()); //Fill up the DataObject with data coming from Experimenter. Experim...
3,229,318
public static void fillDatasetsTree(List datasets, List results, List datasetIDs) { Iterator i = datasets.iterator(), k; Map imagesMap = new HashMap(); DatasetSummaryLinked ds; Dataset d; Image img; ImageSummary is; List ima...
public static void fillDatasetsTree(List datasets, List results, List datasetIDs) { Iterator i = datasets.iterator(), k; Map imagesMap = new HashMap(); DatasetSummaryLinked ds; Dataset d; Image img; ImageSummary is; List ima...
3,229,319
public static List fillImagesInUserDatasets(List datasets, ImageSummary iProto, List datasetIDs) { List images = new ArrayList(); HashMap map = new HashMap(); Iterator d = datasets.iterator(); Iterator i; Image image; ImageSummary is; Integer i...
public static List fillImagesInUserDatasets(List datasets, ImageSummary iProto, List datasetIDs) { List images = new ArrayList(); HashMap map = new HashMap(); Iterator d = datasets.iterator(); Iterator i; Image image; ImageSummary is; Integer i...
3,229,320
public static List fillListAnnotatedImages(Dataset dataset, ImageSummary iProto, List annotations, List images) { Iterator i = dataset.getImages().iterator(); Image image; ImageSummary is; int id; ...
public static List fillListAnnotatedImages(Dataset dataset, ImageSummary iProto, List annotations, List images) { Iterator i = dataset.getImages().iterator(); Image image; ImageSummary is; int id; ...
3,229,321
public static Map reverseListImageAnnotations(List annotations, int userID) { Map map = new HashMap(); Iterator i = annotations.iterator(); ImageAnnotation annotation; while (i.hasNext()) { annotation = (ImageAnnotation) i.next(); if (userID == an...
public static Map reverseListImageAnnotations(List annotations) { Map map = new HashMap(); Iterator i = annotations.iterator(); ImageAnnotation annotation; while (i.hasNext()) { annotation = (ImageAnnotation) i.next(); if (userID == annotation.get...
3,229,322
public static Map reverseListImageAnnotations(List annotations, int userID) { Map map = new HashMap(); Iterator i = annotations.iterator(); ImageAnnotation annotation; while (i.hasNext()) { annotation = (ImageAnnotation) i.next(); if (userID == an...
public static Map reverseListImageAnnotations(List annotations, int userID) { Map map = new HashMap(); Iterator i = annotations.iterator(); ImageAnnotation annotation; while (i.hasNext()) { annotation = (ImageAnnotation) i.next(); if (userID == an...
3,229,323
public static Map reverseListDatasetAnnotations(List annotations, int userID) { Map map = new HashMap(); Iterator i = annotations.iterator(); DatasetAnnotation annotation; while (i.hasNext()) { annotation = (DatasetAnnotat...
public static Map reverseListDatasetAnnotations(List annotations, int userID) { Map map = new HashMap(); Iterator i = annotations.iterator(); DatasetAnnotation annotation; while (i.hasNext()) { annotation = (DatasetAnnotat...
3,229,324
public static Map reverseListDatasetAnnotations(List annotations, int userID) { Map map = new HashMap(); Iterator i = annotations.iterator(); DatasetAnnotation annotation; while (i.hasNext()) { annotation = (DatasetAnnotat...
public static Map reverseListDatasetAnnotations(List annotations, int userID) { Map map = new HashMap(); Iterator i = annotations.iterator(); DatasetAnnotation annotation; while (i.hasNext()) { annotation = (DatasetAnnotat...
3,229,325