bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public abstract FontMetrics getFontMetrics(Font font); | public abstract FontMetrics getFontMetrics(Font font); | 14,889 |
public void setText(String text) { this.text = text; revalidate(); repaint(); } | public void setText(String text) { this.text = text; revalidate(); repaint(); } | 14,890 |
public void setIcon(Icon defaultIcon) { if (default_icon == defaultIcon) return; default_icon = defaultIcon; if (default_icon != null) { // XXX FIXME - icons do not know their parent // default_icon.setParent(this); } revalidate(); repaint(); } | public void setIcon(Icon defaultIcon) { if (default_icon == defaultIcon) return; default_icon = defaultIcon; if (default_icon != null) { // XXX FIXME - icons do not know their parent // default_icon.setParent(this); } revalidate(); repaint(); } | 14,891 |
public AWTEvent(Object source, int id) { super(source); this.id = id; } | public AWTEvent(Event event) { super(source); this.id = id; } | 14,892 |
public AWTEvent(Object source, int id) { super(source); this.id = id; } | public AWTEvent(Object source, int id) { super(source); this.id = id; } | 14,893 |
public JScrollPane(Component view, int vsbPolicy, int hsbPolicy) { scrollListener = createScrollListener(); setVerticalScrollBarPolicy(vsbPolicy); setVerticalScrollBar(createVerticalScrollBar()); setHorizontalScrollBarPolicy(hsbPolicy); setHorizontalScrollBar(createHorizontalScrollBar()); setViewp... | public JScrollPane() { scrollListener = createScrollListener(); setVerticalScrollBarPolicy(vsbPolicy); setVerticalScrollBar(createVerticalScrollBar()); setHorizontalScrollBarPolicy(hsbPolicy); setHorizontalScrollBar(createHorizontalScrollBar()); setViewportView(view); setLayout(new ScrollPaneLa... | 14,894 |
public JScrollPane(Component view, int vsbPolicy, int hsbPolicy) { scrollListener = createScrollListener(); setVerticalScrollBarPolicy(vsbPolicy); setVerticalScrollBar(createVerticalScrollBar()); setHorizontalScrollBarPolicy(hsbPolicy); setHorizontalScrollBar(createHorizontalScrollBar()); setViewp... | public JScrollPane(Component view, int vsbPolicy, int hsbPolicy) { scrollListener = createScrollListener(); setVerticalScrollBarPolicy(vsbPolicy); setVerticalScrollBar(createVerticalScrollBar()); setHorizontalScrollBarPolicy(hsbPolicy); setHorizontalScrollBar(createHorizontalScrollBar()); setViewp... | 14,895 |
public Image createImage (int width, int height) { Image returnValue = null; if (!GraphicsEnvironment.isHeadless ()) { if (isLightweight () && parent != null) returnValue = parent.createImage (width, height); else if (peer != null) returnValue = peer.createImage (width, height); } return returnVal... | public Image createImage(ImageProducer producer) { Image returnValue = null; if (!GraphicsEnvironment.isHeadless ()) { if (isLightweight () && parent != null) returnValue = parent.createImage (width, height); else if (peer != null) returnValue = peer.createImage (width, height); } return returnVal... | 14,896 |
public Image createImage (int width, int height) { Image returnValue = null; if (!GraphicsEnvironment.isHeadless ()) { if (isLightweight () && parent != null) returnValue = parent.createImage (width, height); else if (peer != null) returnValue = peer.createImage (width, height); } return returnVal... | public Image createImage (int width, int height) { Image returnValue = null; if (!GraphicsEnvironment.isHeadless ()) { if (isLightweight () && parent != null) returnValue = parent.createImage (width, height); else if (peer != null) returnValue = peer.createImage (width, height); } return returnVal... | 14,897 |
public Image createImage(int width, int height) { Component parent = awtComponent.getParent(); ComponentPeer parentPeer = parent.getPeer(); return parentPeer.createImage(width, height); } | public Image createImage(ImageProducer prod) { Component parent = awtComponent.getParent(); ComponentPeer parentPeer = parent.getPeer(); return parentPeer.createImage(width, height); } | 14,898 |
public Image createImage(int width, int height) { Component parent = awtComponent.getParent(); ComponentPeer parentPeer = parent.getPeer(); return parentPeer.createImage(width, height); } | public Image createImage(int width, int height) { Component parent = awtComponent.getParent(); ComponentPeer parentPeer = parent.getPeer(); return parentPeer.createImage(width, height); } | 14,899 |
public void replaceRange(String text, int start, int end) { Document doc = getDocument(); if (start > end || start < doc.getStartPosition().getOffset() || end >= doc.getEndPosition().getOffset()) throw new IllegalArgumentException(); try { doc.remove(start, end - start); doc.insertStrin... | public void replaceRange(String text, int start, int end) { Document doc = getDocument(); if (start > end || start < doc.getStartPosition().getOffset() || end >= doc.getEndPosition().getOffset()) throw new IllegalArgumentException(); try { doc.remove(start, end - start); doc.insertStrin... | 14,900 |
public BeanDescriptor(Class beanClass, Class customizerClass) { this.beanClass = beanClass; this.customizerClass = customizerClass; } | public BeanDescriptor(Class beanClass, Class customizerClass) { this.beanClass = beanClass; this.customizerClass = customizerClass; } | 14,901 |
private Pattern (String regex) throws PatternSyntaxException { this (regex, 0); } | private Pattern (String regex, int flags) throws PatternSyntaxException { this (regex, 0); } | 14,902 |
private Pattern (String regex) throws PatternSyntaxException { this (regex, 0); } | private Pattern (String regex) throws PatternSyntaxException { this.regex = regex; this.flags = flags; int gnuFlags = 0; if ((flags & CASE_INSENSITIVE) != 0) gnuFlags |= RE.REG_ICASE; if ((flags & MULTILINE) != 0) gnuFlags |= RE.REG_MULTILINE; if ((flags & DOTALL) != 0) gnuFlags |= RE.REG_DOT_NEWLINE; RE... | 14,903 |
public RESyntax(RESyntax other) { bits = (BitSet) other.bits.clone(); } | public RESyntax(RESyntax other) { bits = (BitSet) other.bits.clone(); } | 14,905 |
public RE(Object pattern, int cflags, RESyntax syntax) throws REException { this(pattern,cflags,syntax,0,0); } | public RE(Object pattern, int cflags, RESyntax syntax) throws REException { this(pattern,cflags,syntax,0,0); } | 14,906 |
public Number parse (String sourceStr) throws ParseException { ParsePosition pp = new ParsePosition (0); Number r = parse (sourceStr, pp); if (r == null) { int index = pp.getErrorIndex(); if (index < 0) index = pp.getIndex(); throw new ParseException ("couldn't parse number", index); } return... | public Number parse (String sourceStr) throws ParseException { ParsePosition pp = new ParsePosition (0); Number r = parse (sourceStr, pp); if (r == null) { int index = pp.getErrorIndex(); if (index < 0) index = pp.getIndex(); throw new ParseException ("couldn't parse number", index); } return... | 14,907 |
public SwingToolkit() { } | public SwingToolkit() { } | 14,908 |
public static void add(Component component, JComponent peer) { final ISwingContainerPeer containerPeer = getContainerPeer(component); if (containerPeer != null) { containerPeer.addAWTComponent(component, peer); } } | public static void add(Component component, JComponent peer) { final ISwingContainerPeer containerPeer = getContainerPeer(component); if (containerPeer != null) { containerPeer.addAWTComponent(component, peer); } } | 14,909 |
final static void copyAwtProperties(Component awtComponent, JComponent peer) { Color c; Font f; if ((c = awtComponent.getForeground()) != null) { peer.setForeground(c); } if ((c = awtComponent.getBackground()) != null) { peer.setBackground(c); } ... | final static void copyAwtProperties(Component awtComponent, JComponent peer) { Color c; Font f; if ((c = awtComponent.getForeground()) != null) { peer.setForeground(c); } if ((c = awtComponent.getBackground()) != null) { peer.setBackground(c); } ... | 14,910 |
protected ButtonPeer createButton(Button target) { return new SwingButtonPeer(this, target); } | protected ButtonPeer createButton(Button target) { return new SwingButtonPeer(this, target); } | 14,911 |
protected CanvasPeer createCanvas(Canvas target) { // return super.createCanvas( target ); return new SwingCanvasPeer(this, target); } | protected CanvasPeer createCanvas(Canvas target) { // return super.createCanvas( target ); return new SwingCanvasPeer(this, target); } | 14,912 |
protected CheckboxPeer createCheckbox(Checkbox target) { return new SwingCheckboxPeer(this, target); } | protected CheckboxPeer createCheckbox(Checkbox target) { return new SwingCheckboxPeer(this, target); } | 14,913 |
protected CheckboxMenuItemPeer createCheckboxMenuItem( CheckboxMenuItem target) { return new SwingCheckboxMenuItemPeer(this, target); } | protected CheckboxMenuItemPeer createCheckboxMenuItem( CheckboxMenuItem target) { return new SwingCheckboxMenuItemPeer(this, target); } | 14,914 |
protected ChoicePeer createChoice(Choice target) { return new SwingChoicePeer(this, target); } | protected ChoicePeer createChoice(Choice target) { return new SwingChoicePeer(this, target); } | 14,915 |
protected LightweightPeer createComponent(Component target) { if (target instanceof Container) return new SwingLightweightContainerPeer(this, (Container) target); else return new SwingLightweightPeer(this, target); } | protected LightweightPeer createComponent(Component target) { if (target instanceof Container) return new SwingLightweightContainerPeer(this, (Container) target); else return new SwingLightweightPeer(this, target); } | 14,916 |
protected DialogPeer createDialog(Dialog target) { return new SwingDialogPeer(this, target); } | protected DialogPeer createDialog(Dialog target) { return new SwingDialogPeer(this, target); } | 14,917 |
public DragSourceContextPeer createDragSourceContextPeer( DragGestureEvent dge) { return null; } | public DragSourceContextPeer createDragSourceContextPeer( DragGestureEvent dge) { return null; } | 14,918 |
protected FileDialogPeer createFileDialog(FileDialog target) { return null; } | protected FileDialogPeer createFileDialog(FileDialog target) { return null; } | 14,919 |
protected FramePeer createFrame(Frame target) { if (!isGuiActive()) { throw new AWTError("AWT is currently not available"); } if (target instanceof DesktopFrame) { setTop(target); log.debug("createFrame:desktopFramePeer(" + target + ")"); // Only desk... | protected FramePeer createFrame(Frame target) { if (!isGuiActive()) { throw new AWTError("AWT is currently not available"); } if (target instanceof DesktopFrame) { setTop(target); log.debug("createFrame:desktopFramePeer(" + target + ")"); // Only desk... | 14,920 |
protected LabelPeer createLabel(Label target) { return new SwingLabelPeer(this, target); } | protected LabelPeer createLabel(Label target) { return new SwingLabelPeer(this, target); } | 14,921 |
protected ListPeer createList(java.awt.List target) { return new SwingListPeer(this, target); } | protected ListPeer createList(java.awt.List target) { return new SwingListPeer(this, target); } | 14,922 |
protected MenuPeer createMenu(Menu target) { return new SwingMenuPeer(this, target); } | protected MenuPeer createMenu(Menu target) { return new SwingMenuPeer(this, target); } | 14,923 |
protected MenuBarPeer createMenuBar(MenuBar target) { return new SwingMenuBarPeer(this, target); } | protected MenuBarPeer createMenuBar(MenuBar target) { return new SwingMenuBarPeer(this, target); } | 14,924 |
protected MenuItemPeer createMenuItem(MenuItem target) { return new SwingMenuItemPeer(this, target); } | protected MenuItemPeer createMenuItem(MenuItem target) { return new SwingMenuItemPeer(this, target); } | 14,925 |
protected PanelPeer createPanel(Panel target) { return new SwingPanelPeer(this, target); } | protected PanelPeer createPanel(Panel target) { return new SwingPanelPeer(this, target); } | 14,926 |
protected PopupMenuPeer createPopupMenu(PopupMenu target) { return new SwingPopupMenuPeer(this, target); } | protected PopupMenuPeer createPopupMenu(PopupMenu target) { return new SwingPopupMenuPeer(this, target); } | 14,927 |
protected ScrollPanePeer createScrollPane(ScrollPane target) { return new SwingScrollPanePeer(this, target); } | protected ScrollPanePeer createScrollPane(ScrollPane target) { return new SwingScrollPanePeer(this, target); } | 14,928 |
protected ScrollbarPeer createScrollbar(Scrollbar target) { return new SwingScrollbarPeer(this, target); } | protected ScrollbarPeer createScrollbar(Scrollbar target) { return new SwingScrollbarPeer(this, target); } | 14,929 |
protected TextAreaPeer createTextArea(TextArea target) { return new SwingTextAreaPeer(this, target); } | protected TextAreaPeer createTextArea(TextArea target) { return new SwingTextAreaPeer(this, target); } | 14,930 |
protected TextFieldPeer createTextField(TextField target) { return new SwingTextFieldPeer(this, target); } | protected TextFieldPeer createTextField(TextField target) { return new SwingTextFieldPeer(this, target); } | 14,931 |
protected WindowPeer createWindow(Window target) { return new SwingWindowPeer(this, target); } | protected WindowPeer createWindow(Window target) { return new SwingWindowPeer(this, target); } | 14,932 |
public JNodeAwtContext getAwtContext() { return desktopFrame; } | public JNodeAwtContext getAwtContext() { return desktopFrame; } | 14,933 |
private static ISwingContainerPeer getContainerPeer(Component component) { final Component parent = component.getParent(); if (parent == null) { return null; } else { final ComponentPeer parentPeer = parent.getPeer(); if (parentPeer instanceof ISwingContainerPee... | private static ISwingContainerPeer getContainerPeer(Component component) { final Component parent = component.getParent(); if (parent == null) { return null; } else { final ComponentPeer parentPeer = parent.getPeer(); if (parentPeer instanceof ISwingContainerPee... | 14,934 |
public Component getTopComponentAt(int x, int y) { Component comp = super.getTopComponentAt(x, y); SwingFramePeer.SwingFrame sfp = (SwingFramePeer.SwingFrame) SwingUtilities .getAncestorOfClass(SwingFramePeer.SwingFrame.class, comp); if (sfp != null) { Rectangle r = sf... | public Component getTopComponentAt(int x, int y) { Component comp = super.getTopComponentAt(x, y); SwingFramePeer.SwingFrame sfp = (SwingFramePeer.SwingFrame) SwingUtilities .getAncestorOfClass(SwingFramePeer.SwingFrame.class, comp); if (sfp != null) { Rectangle r = sf... | 14,935 |
protected void onClose() { log.debug("onClose"); desktopFrame.dispose(); desktopFrame = null; } | protected void onClose() { log.debug("onClose"); desktopFrame.dispose(); desktopFrame = null; } | 14,936 |
final void onDisposeFrame() { // Nothing to do } | final void onDisposeFrame() { // Nothing to do } | 14,937 |
protected void onInitialize() { log.debug("onInitialize"); desktopFrame = new DesktopFrame(getScreenSize()); desktopFrame.show(); } | protected void onInitialize() { log.debug("onInitialize"); desktopFrame = new DesktopFrame(getScreenSize()); desktopFrame.show(); } | 14,938 |
public static void paintLightWeightChildren(Container awtContainer, Graphics g, int dx, int dy) { final Shape oldClip = g.getClip(); try { final Component[] comps = awtContainer.getComponents(); final int cnt = comps.length; for (int i = 0; i < cnt; i++) { ... | public static void paintLightWeightChildren(Container awtContainer, Graphics g, int dx, int dy) { final Shape oldClip = g.getClip(); try { final Component[] comps = awtContainer.getComponents(); final int cnt = comps.length; for (int i = 0; i < cnt; i++) { ... | 14,939 |
protected LightweightPeer createComponent(Component target) { return new gnu.java.awt.peer.GLightweightPeer (target); } | protected LightweightPeer createComponent(Component target) { return new gnu.java.awt.peer.GLightweightPeer (target); } | 14,940 |
public SwingPopupMenuPeer(SwingToolkit toolkit, PopupMenu popupMenu) { super(toolkit, popupMenu, new JPopupMenu()); int ic = popupMenu.getItemCount(); for(int i = 0; i < ic ; i++){ MenuItem mi = popupMenu.getItem(i); JMenuItem jmi = new JMenuItem(mi.getLabel()); } ... | public SwingPopupMenuPeer(SwingToolkit toolkit, PopupMenu popupMenu) { super(toolkit, popupMenu, new JPopupMenu()); int ic = popupMenu.getItemCount(); for(int i = 0; i < ic ; i++){ MenuItem mi = popupMenu.getItem(i); JMenuItem jmi = new JMenuItem(mi.getLabel()); } ... | 14,941 |
public abstract void insert_Object(org.omg.CORBA.Object x); | public abstract void insert_Object(org.omg.CORBA.Object x); | 14,942 |
public BAD_OPERATION() { super("", 0, CompletionStatus.COMPLETED_NO); } | public BAD_OPERATION(String message) { super("", 0, CompletionStatus.COMPLETED_NO); } | 14,943 |
public BAD_OPERATION() { super("", 0, CompletionStatus.COMPLETED_NO); } | public BAD_OPERATION() { super(message, 0, CompletionStatus.COMPLETED_NO); } | 14,944 |
private void readManifest(boolean verify) throws IOException { firstEntry = (JarEntry) super.getNextEntry(); while ((firstEntry != null) && firstEntry.getName().startsWith("META-INF/")) { if (firstEntry.getName().equals(JarFile.MANIFEST_NAME)) { manifest = new Manifest(this); } firstEntry = (Ja... | private void readManifest(boolean verify) throws IOException { firstEntry = (JarEntry) super.getNextEntry(); while ((firstEntry != null) && firstEntry.getName().startsWith("META-INF/")) { if (firstEntry.getName().equals(JarFile.MANIFEST_NAME)) { manifest = new Manifest(this); } firstEntry = (Ja... | 14,945 |
public JarEntry(ZipEntry entry) { super(entry); attr = null; certs = null; } | public JarEntry(String name) throws NullPointerException, IllegalArgumentException { super(entry); attr = null; certs = null; } | 14,946 |
public JarEntry(ZipEntry entry) { super(entry); attr = null; certs = null; } | public JarEntry(ZipEntry entry) { super(name); attr = null; certs = null; } | 14,947 |
public int read(byte[] b, int off, int len) throws IOException { if (len == 0) return 0; if (crc == null) throw new IOException("Stream closed."); if (entry == null) return -1; boolean finished = false; switch (method) { case ZipOutputStream.DEFLATED: len = super.read(b, off, len); if ... | public int read() throws IOException { if (len == 0) return 0; if (crc == null) throw new IOException("Stream closed."); if (entry == null) return -1; boolean finished = false; switch (method) { case ZipOutputStream.DEFLATED: len = super.read(b, off, len); if (len < 0) { if (!inf... | 14,948 |
public int read(byte[] b, int off, int len) throws IOException { if (len == 0) return 0; if (crc == null) throw new IOException("Stream closed."); if (entry == null) return -1; boolean finished = false; switch (method) { case ZipOutputStream.DEFLATED: len = super.read(b, off, len); if ... | public int read(byte[] b, int off, int len) throws IOException { if (len == 0) return 0; if (crc == null) throw new IOException("Stream closed."); if (entry == null) return -1; boolean finished = false; switch (method) { case ZipOutputStream.DEFLATED: len = super.read(b, off, len); if ... | 14,949 |
public int read(byte[] b, int off, int len) throws IOException { if (len == 0) return 0; if (crc == null) throw new IOException("Stream closed."); if (entry == null) return -1; boolean finished = false; switch (method) { case ZipOutputStream.DEFLATED: len = super.read(b, off, len); if ... | public int read(byte[] b, int off, int len) throws IOException { if (len == 0) return 0; if (crc == null) throw new IOException("Stream closed."); if (entry == null) return -1; boolean finished = false; switch (method) { case ZipOutputStream.DEFLATED: len = super.read(b, off, len); if ... | 14,950 |
public String getName() { return name; } | public String getName() { return name; } | 14,951 |
public String[] list(String directory) throws IOException { final FSEntry entry = getEntry(directory); if (entry == null) { throw new FileNotFoundException(directory); } if (!entry.isDirectory()) { throw new IOException("Cannot list on non-directories " + directory)... | public String[] list(String directory) throws IOException { final FSEntry entry = getEntry(directory); if (entry == null) { throw new FileNotFoundException(directory); } if (!entry.isDirectory()) { throw new IOException("Cannot list on non-directories " + directory)... | 14,952 |
public static DataBuffer createBuffer(int dataType, int size) { return createBuffer(dataType, size, 1); } | public static DataBuffer createBuffer(int dataType, int size) { return createBuffer(dataType, size, 1); } | 14,953 |
<T> T[] toArray(T[] a); | <T> T[] toArray(T[] a); | 14,954 |
public View create(Element elem); | public View create(Element elem); | 14,956 |
public Object getValue(String key); | public Object getValue(String key); | 14,957 |
public Object get(Object key) { // XXX Obey 1.4 specs return super.get(key); } | public Object get(Object key) { // XXX Obey 1.4 specs return this.get (key, getDefaultLocale ()); } | 14,958 |
public Object put(Object key, Object value) { throw new Error("not implemented"); } | public Object put(Object key, Object value) { Object old = super.put (key, value); if (key instanceof String && old != value) firePropertyChange ((String) key, old, value); return old; } | 14,959 |
public Dimension getPreferredSize(JComponent c) { // FIXME: integrate with Scrollable Dimension d = new Dimension(100,100); return d; } | public Dimension getPreferredSize(JComponent c) { // FIXME: integrate with Scrollable Dimension d = new Dimension(100,100); return d; } | 14,960 |
public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); Dimension viewportSize = new Dimension(0,0); Dimen... | public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Rectangle scrollPaneBounds = sc.getBounds(); Dimension viewportSize = new Dimension(0,0); Dimen... | 14,964 |
public void setSize(int w, int h) { width = w; height = h; } | public void setSize(double w, double h) { width = w; height = h; } | 14,967 |
public void setSize(int w, int h) { width = w; height = h; } | public void setSize(int w, int h) { width = w; height = h; } | 14,968 |
public Object nextElement() { if(queue.isEmpty()) throw new NoSuchElementException("No more elements left."); TreeNode node = (TreeNode) queue.removeFirst(); Enumeration children = node.children(); while (children.hasMoreElements()) queue.add(chil... | public Object nextElement() { if (queue.isEmpty()) throw new NoSuchElementException("No more elements left."); TreeNode node = (TreeNode) queue.removeFirst(); Enumeration children = node.children(); while (children.hasMoreElements()) queue.add(chi... | 14,970 |
public Object nextElement() { if( nodes.isEmpty() ) throw new NoSuchElementException("No more elements left!"); Enumeration children = (Enumeration) childrenEnums.peek(); return traverse(children); } | public Object nextElement() { if (nodes.isEmpty()) throw new NoSuchElementException("No more elements left!"); Enumeration children = (Enumeration) childrenEnums.peek(); return traverse(children); } | 14,971 |
private Object traverse(Enumeration children) { if ( children.hasMoreElements() ) { TreeNode node = (TreeNode) children.nextElement(); nodes.push(node); Enumeration newChildren = node.children(); childrenEnums.push(newChildren); ... | private Object traverse(Enumeration children) { if (children.hasMoreElements()) { TreeNode node = (TreeNode) children.nextElement(); nodes.push(node); Enumeration newChildren = node.children(); childrenEnums.push(newChildren); ... | 14,972 |
public Object nextElement() { if( next == null ) throw new NoSuchElementException("No more elements left."); Object current = next; Enumeration children = (Enumeration) childrenEnums.peek(); // Retrieves the next element. next = traverse(children); ... | public Object nextElement() { if (next == null) throw new NoSuchElementException("No more elements left."); Object current = next; Enumeration children = (Enumeration) childrenEnums.peek(); // Retrieves the next element. next = traverse(children); ... | 14,973 |
private TreeNode traverse(Enumeration children) { // If more children are available step down. if( children.hasMoreElements() ) { TreeNode child = (TreeNode) children.nextElement(); childrenEnums.push(child.children()); return child; ... | private TreeNode traverse(Enumeration children) { // If more children are available step down. if (children.hasMoreElements()) { TreeNode child = (TreeNode) children.nextElement(); childrenEnums.push(child.children()); return child; }... | 14,974 |
private TreeNode traverse(Enumeration children) { // If more children are available step down. if( children.hasMoreElements() ) { TreeNode child = (TreeNode) children.nextElement(); childrenEnums.push(child.children()); return child; ... | private TreeNode traverse(Enumeration children) { // If more children are available step down. if( children.hasMoreElements() ) { TreeNode child = (TreeNode) children.nextElement(); childrenEnums.push(child.children()); return child; ... | 14,975 |
public boolean isNodeSibling(TreeNode node) { if (node == null) return false; if (node == this) return true; return (node.getParent() == getParent() && getParent() != null); } | public boolean isNodeSibling(TreeNode node) { if (node == null) return false; if (node == this) return true; return (node.getParent() == getParent() && getParent() != null); } | 14,976 |
public KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar) { this(source, id, when, modifiers, keyCode, keyChar, KEY_LOCATION_UNKNOWN); } | public KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar, int keyLocation) { this(source, id, when, modifiers, keyCode, keyChar, KEY_LOCATION_UNKNOWN); } | 14,977 |
public KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar) { this(source, id, when, modifiers, keyCode, keyChar, KEY_LOCATION_UNKNOWN); } | public KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar) { super(source, id, when, modifiers); this.keyCode = keyCode; this.keyChar = keyChar; this.keyLocation = keyLocation; if ((id == KEY_TYPED && (keyCode != VK_UNDEFINED || keyChar == CHAR_UNDEFINED)) || k... | 14,978 |
public Windows1251() { super("Windows-1251", new String[] { "Windows1251", "cp1251", "cp-1251", "cp_1251", "windows1251", "windows_1251" }); lookupTable = lookup; } | public Windows1251() { super("Windows-1251", new String[] { "Windows1251", "cp1251", "cp-1251", "cp_1251", "windows1251", "windows_1251" }); lookupTable = lookup; } | 14,979 |
public void emitMagic(EmitterContext ec, VmMethod method, boolean isstatic, X86BytecodeVisitor bcv, VmMethod caller) { //final int type = getClass(method); final MagicMethod mcode = MagicMethod.get(method); final VirtualStack vstack = ec.getVStack(); final X86Assembler os = ec.getStream(... | public void emitMagic(EmitterContext ec, VmMethod method, boolean isstatic, X86BytecodeVisitor bcv, VmMethod caller) { //final int type = getClass(method); final MagicMethod mcode = MagicMethod.get(method); final VirtualStack vstack = ec.getVStack(); final X86Assembler os = ec.getStream(... | 14,980 |
public void emitMagic(EmitterContext ec, VmMethod method, boolean isstatic, X86BytecodeVisitor bcv, VmMethod caller) { //final int type = getClass(method); final MagicMethod mcode = MagicMethod.get(method); final VirtualStack vstack = ec.getVStack(); final X86Assembler os = ec.getStream(... | public void emitMagic(EmitterContext ec, VmMethod method, boolean isstatic, X86BytecodeVisitor bcv, VmMethod caller) { //final int type = getClass(method); final MagicMethod mcode = MagicMethod.get(method); final VirtualStack vstack = ec.getVStack(); final X86Assembler os = ec.getStream(... | 14,981 |
public DoubleWordItem createReg(EmitterContext ec, int jvmType, X86Register.GPR lsb, X86Register.GPR msb) { if (!ec.getStream().isCode32()) { throw new IllegalModeException("Only supported in 32-bit mode"); } final DoubleWordItem item = (DoubleWordItem) getOrCreate(jvmType); item.initiali... | public DoubleWordItem createReg(EmitterContext ec, int jvmType, X86Register.GPR lsb, X86Register.GPR msb) { if (!ec.getStream().isCode32()) { throw new IllegalModeException("Only supported in 32-bit mode"); } final DoubleWordItem item = (DoubleWordItem) getOrCreate(jvmType); item.initiali... | 14,982 |
public abstract Object getAttribute(String name) throws IllegalArgumentException; | public abstract Object getAttribute(String name) throws IllegalArgumentException; | 14,983 |
public abstract DocumentBuilder newDocumentBuilder() throws ParserConfigurationException; | public abstract DocumentBuilder newDocumentBuilder() throws ParserConfigurationException; | 14,984 |
public boolean isNamespaceAware() { return namespaceAware; } // isNamespaceAware() | public boolean isNamespaceAware() { return namespaceAware; } // isNamespaceAware() | 14,985 |
public boolean isNamespaceAware() { return namespaceAware; } // isNamespaceAware() | public boolean isNamespaceAware() { return namespaceAware; } // isNamespaceAware() | 14,986 |
public boolean isIgnoringElementContentWhitespace() { return whitespace; } // isIgnoringElementContentWhitespace() | public boolean isIgnoringElementContentWhitespace() { return whitespace; } // isIgnoringElementContentWhitespace() | 14,987 |
public boolean isIgnoringComments() { return ignoreComments; } // isIgnoringComments() | public boolean isIgnoringComments() { return ignoreComments; } // isIgnoringComments() | 14,988 |
public boolean isExpandEntityReferences() { return expandEntityRef; } // isExpandEntityReferences() | public boolean isExpandEntityReferences() { return expandEntityRef; } // isExpandEntityReferences() | 14,989 |
public boolean isCoalescing() { return coalescing; } // isCoalescing() | public boolean isCoalescing() { return coalescing; } // isCoalescing() | 14,990 |
public boolean isValidating() { return validating; } // isValidating() | public boolean isValidating() { return validating; } // isValidating() | 14,991 |
public boolean isValidating() { return validating; } // isValidating() | public boolean isValidating() { return validating; } // isValidating() | 14,992 |
public ParserConfigurationException(String message) { super(message); } // ParserConfigurationException() | public ParserConfigurationException(String message) { super(message); } // ParserConfigurationException() | 14,993 |
public void removeAll() { synchronized (getTreeLock ()) { while (ncomponents > 0) remove(0); } } | public void removeAll() { synchronized (getTreeLock ()) { while (ncomponents > 0) remove(0); } } | 14,994 |
public void list(PrintStream out, int indent) { for (int i = 0; i < indent; ++i) out.print(' '); out.println(toString()); } | public void list() { for (int i = 0; i < indent; ++i) out.print(' '); out.println(toString()); } | 14,996 |
public void list(PrintStream out, int indent) { for (int i = 0; i < indent; ++i) out.print(' '); out.println(toString()); } | public void list(PrintStream out, int indent) { for (int i = 0; i < indent; ++i) out.print(' '); out.println(toString()); } | 14,997 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.