bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public int getSelectionEnd() { return 0; // TODO } // getSelectionEnd()
public int getSelectionEnd() { return 0; // TODO } // getSelectionEnd()
30,579
public int getSelectionEnd() { return 0; // TODO } // getSelectionEnd()
public int getSelectionEnd() { return 0; // TODO } // getSelectionEnd()
30,580
public int getSelectionStart() { return 0; // TODO } // getSelectionStart()
public int getSelectionStart() { return 0; // TODO } // getSelectionStart()
30,581
public int getSelectionStart() { return 0; // TODO } // getSelectionStart()
public int getSelectionStart() { return 0; // TODO } // getSelectionStart()
30,582
public void insertUpdate(DocumentEvent value0) { // TODO } // insertUpdate()
public void insertUpdate(DocumentEvent value0) { // TODO } // insertUpdate()
30,583
public void insertUpdate(DocumentEvent value0) { // TODO } // insertUpdate()
public void insertUpdate(DocumentEvent value0) { // TODO } // insertUpdate()
30,584
public void removeUpdate(DocumentEvent value0) { // TODO } // removeUpdate()
public void removeUpdate(DocumentEvent value0) { // TODO } // removeUpdate()
30,585
public void removeUpdate(DocumentEvent value0) { // TODO } // removeUpdate()
public void removeUpdate(DocumentEvent value0) { // TODO } // removeUpdate()
30,586
public JTextComponent() { this("", null, 0); }
public JTextComponent() { enableEvents(AWTEvent.KEY_EVENT_MASK); updateUI(); }
30,587
public AccessibleContext getAccessibleContext() { // Get the AccessibleContext of this object return null; }
publicAccessibleContextgetAccessibleContext(){ //GettheAccessibleContextofthisobject returnnull;}
30,588
public Insets getMargin() { // FIXME: Not implemented. return null; }
public Insets getMargin() { // FIXME: Not implemented. return null; }
30,589
public Dimension getPreferredScrollableViewportSize() { return null; }
public Dimension getPreferredScrollableViewportSize() { return null; }
30,590
public Dimension getPreferredScrollableViewportSize() { return null; }
public Dimension getPreferredScrollableViewportSize() { return null; }
30,591
public int getScrollableBlockIncrement(Rectangle visible, int orientation, int direction) { return 0; }
public int getScrollableBlockIncrement(Rectangle visible, int orientation, int direction) { return 0; }
30,592
public int getScrollableUnitIncrement(Rectangle visible, int orientation, int direction) { return 0; }
public int getScrollableUnitIncrement(Rectangle visible, int orientation, int direction) { return 0; }
30,593
public String getText() { return getDocument().getText(0, getDocument().getLength()); }
public String getText() { return getDocument().getText(0, getDocument().getLength()); }
30,594
public TextUI getUI() { return (TextUI) UIManager.getUI(this); }
public TextUI getUI() { return (TextUI) UIManager.getUI(this); }
30,595
public String getUIClassID() { // Returns a string that specifies the name of the l&f class that renders this component. return "TextComponentUI"; }
public String getUIClassID() { // Returns a string that specifies the name of the l&f class that renders this component. return "TextComponentUI"; }
30,596
protected String paramString() { // Returns a string representation of this JTextComponent. return "JTextComponent"; }
protected String paramString() { // Returns a string representation of this JTextComponent. return "JTextComponent"; }
30,597
protected String paramString() { // Returns a string representation of this JTextComponent. return "JTextComponent"; }
protected String paramString() { // Returns a string representation of this JTextComponent. return "JTextComponent"; }
30,598
public void setText(String text) { getDocument().remove(0,doc.getLength()); getDocument().insertString(0, text, null); }
public void setText(String text) { getDocument().remove(0,doc.getLength()); getDocument().insertString(0, text, null); }
30,599
String getLang(Node node) { if (node.getNodeType() == Node.ELEMENT_NODE) { return ((Element) node).getAttribute("xml:lang"); } return null; }
String getLang(Node node) { if (node.getNodeType() == Node.ELEMENT_NODE) { String lang = ((Element) node).getAttribute("xml:lang"); if (lang != null) return lang; } node = node.getParentNode(); } return null; }
30,601
protected void readAttributes(String element) { Token name; Token value; Token next; String attrValue; attributes = new htmlAttributeSet(); optional(WS); attributeReading: while (getTokenAhead().kind == NUMTOKEN) { name = getNextToken(); optional(WS); next = getToke...
protected void readAttributes(String element) { Token name; Token value; Token next; String attrValue; attributes = new htmlAttributeSet(); optional(WS); attributeReading: while (getTokenAhead().kind == NUMTOKEN) { name = getNextToken(); optional(WS); next = getToke...
30,602
protected void readAttributes(String element) { Token name; Token value; Token next; String attrValue; attributes = new htmlAttributeSet(); optional(WS); attributeReading: while (getTokenAhead().kind == NUMTOKEN) { name = getNextToken(); optional(WS); next = getToke...
protected void readAttributes(String element) { Token name; Token value; Token next; String attrValue; attributes = new htmlAttributeSet(); optional(WS); attributeReading: while (getTokenAhead().kind == NUMTOKEN) { name = getNextToken(); optional(WS); next = getToke...
30,603
protected void readAttributes(String element) { Token name; Token value; Token next; String attrValue; attributes = new htmlAttributeSet(); optional(WS); attributeReading: while (getTokenAhead().kind == NUMTOKEN) { name = getNextToken(); optional(WS); next = getToke...
protected void readAttributes(String element) { Token name; Token value; Token next; String attrValue; attributes = new htmlAttributeSet(); optional(WS); attributeReading: while (getTokenAhead().kind == NUMTOKEN) { name = getNextToken(); optional(WS); next = getToke...
30,604
protected void readAttributes(String element) { Token name; Token value; Token next; String attrValue; attributes = new htmlAttributeSet(); optional(WS); attributeReading: while (getTokenAhead().kind == NUMTOKEN) { name = getNextToken(); optional(WS); next = getToke...
protected void readAttributes(String element) { Token name; Token value; Token next; String attrValue; attributes = new htmlAttributeSet(); optional(WS); attributeReading: while (getTokenAhead().kind == NUMTOKEN) { name = getNextToken(); optional(WS); next = getToke...
30,605
protected void readAttributes(String element) { Token name; Token value; Token next; String attrValue; attributes = new htmlAttributeSet(); optional(WS); attributeReading: while (getTokenAhead().kind == NUMTOKEN) { name = getNextToken(); optional(WS); next = getToke...
protected void readAttributes(String element) { Token name; Token value; Token next; String attrValue; attributes = new htmlAttributeSet(); optional(WS); attributeReading: while (getTokenAhead().kind == NUMTOKEN) { name = getNextToken(); optional(WS); next = getToke...
30,606
protected void readAttributes(String element) { Token name; Token value; Token next; String attrValue; attributes = new htmlAttributeSet(); optional(WS); attributeReading: while (getTokenAhead().kind == NUMTOKEN) { name = getNextToken(); optional(WS); next = getToke...
protected void readAttributes(String element) { Token name; Token value; Token next; String attrValue; attributes = new htmlAttributeSet(); optional(WS); attributeReading: while (getTokenAhead().kind == NUMTOKEN) { name = getNextToken(); optional(WS); next = getToke...
30,607
public void closeTag(TagElement tElement) { HTML.Tag tag = tElement.getHTMLTag(); hTag x; hTag close; if (!stack.isEmpty()) { ListIterator iter = stack.listIterator(stack.size()); while (iter.hasPrevious()) { x = (hTag) iter.previous(); if (tag.equals(x.t...
public boolean closeTag(TagElement tElement) { HTML.Tag tag = tElement.getHTMLTag(); hTag x; hTag close; if (!stack.isEmpty()) { ListIterator iter = stack.listIterator(stack.size()); while (iter.hasPrevious()) { x = (hTag) iter.previous(); if (tag.equals(...
30,608
public void closeTag(TagElement tElement) { HTML.Tag tag = tElement.getHTMLTag(); hTag x; hTag close; if (!stack.isEmpty()) { ListIterator iter = stack.listIterator(stack.size()); while (iter.hasPrevious()) { x = (hTag) iter.previous(); if (tag.equals(x.t...
public void closeTag(TagElement tElement) { HTML.Tag tag = tElement.getHTMLTag(); hTag x; hTag close; if (!stack.isEmpty()) { ListIterator iter = stack.listIterator(stack.size()); while (iter.hasPrevious()) { x = (hTag) iter.previous(); if (tag.equals(x.t...
30,609
protected void drawLine(int lineIndex, Graphics g, int x, int y) { try { metrics = g.getFontMetrics(); // FIXME: Selected text are not drawn yet. Element line = getDocument().getDefaultRootElement().getElement(lineIndex); drawUnselectedText(g, x, y, line.getStartOffset(), line.getEndOffset()); //drawSelected...
protected void drawLine(int lineIndex, Graphics g, int x, int y) { try { metrics = g.getFontMetrics(); // FIXME: Selected text are not drawn yet. Element line = getDocument().getDefaultRootElement().getElement(lineIndex); drawUnselectedText(g, x, y, line.getStartOffset(), line.getEndOffset()); //drawSelected...
30,611
public abstract void disable();
public abstract void disable();
30,614
public abstract void enable();
public abstract void enable();
30,615
Parser getParser() { log.entering(this.getClass().getName(), "getParser"); //$NON-NLS-1$ Parser result = new ClasspathToolParser(Main.PRINTCERT_CMD, true); result.setHeader(Messages.getString("PrintCertCmd.5")); //$NON-NLS-1$ result.setFooter(Messages.getString("PrintCertCmd.6")); //$NON-NLS-1$ Option...
ParsergetParser(){log.entering(this.getClass().getName(),"getParser");//$NON-NLS-1$Parserresult=newClasspathToolParser(Main.PRINTCERT_CMD,true);result.setHeader(Messages.getString("PrintCertCmd.5"));//$NON-NLS-1$result.setFooter(Messages.getString("PrintCertCmd.6"));//$NON-NLS-1$OptionGroupoptions=newOptionGroup(Messag...
30,616
Parser getParser() { log.entering(this.getClass().getName(), "getParser"); //$NON-NLS-1$ Parser result = new ClasspathToolParser(Main.PRINTCERT_CMD, true); result.setHeader(Messages.getString("PrintCertCmd.5")); //$NON-NLS-1$ result.setFooter(Messages.getString("PrintCertCmd.6")); //$NON-NLS-1$ Option...
if (Configuration.DEBUG) if (Configuration.DEBUG) Parserif (Configuration.DEBUG) getParser()if (Configuration.DEBUG) if (Configuration.DEBUG) {if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) log.entering(this.getClass().getName(),if (Configuration.DEBUG) "getParser");...
30,617
void setup() throws Exception { setInputStreamParam(_certFileName); log.finer("-printcert handler will use the following options:"); //$NON-NLS-1$ log.finer(" -file=" + _certFileName); //$NON-NLS-1$ log.finer(" -v=" + verbose); //$NON-NLS-1$ }
void setup() throws Exception { setInputStreamParam(_certFileName); log.finer("-printcert handler will use the following options:"); //$NON-NLS-1$ log.finer(" -file=" + _certFileName); //$NON-NLS-1$ log.finer(" -v=" + verbose); //$NON-NLS-1$ }
30,618
void start() throws CertificateException { log.entering(getClass().getName(), "start"); //$NON-NLS-1$ CertificateFactory x509Factory = CertificateFactory.getInstance(Main.X_509); Certificate certificate = x509Factory.generateCertificate(inStream); PrintWriter writer = new PrintWriter(System.out, true); ...
voidstart()throwsCertificateException{log.entering(getClass().getName(),"start");//$NON-NLS-1$CertificateFactoryx509Factory=CertificateFactory.getInstance(Main.X_509);Certificatecertificate=x509Factory.generateCertificate(inStream);PrintWriterwriter=newPrintWriter(System.out,true);writer.println();printVerbose(certific...
30,619
void start() throws CertificateException { log.entering(getClass().getName(), "start"); //$NON-NLS-1$ CertificateFactory x509Factory = CertificateFactory.getInstance(Main.X_509); Certificate certificate = x509Factory.generateCertificate(inStream); PrintWriter writer = new PrintWriter(System.out, true); ...
if (Configuration.DEBUG) if (Configuration.DEBUG) voidif (Configuration.DEBUG) start()if (Configuration.DEBUG) throwsif (Configuration.DEBUG) CertificateExceptionif (Configuration.DEBUG) if (Configuration.DEBUG) {if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) log.ent...
30,620
public AbstractElement(Element p, AttributeSet s) { parent = p; attr = s; }
public AbstractElement(Element p, AttributeSet s) { parent = p; attr = s; }
30,621
public Enumeration children() { return kids.elements(); }
public Enumeration children() { return Collections.enumeration(tree_children); }
30,622
public AttributeSet getAttributes() { return attr; }
public AttributeSet getAttributes() { return attributes; }
30,623
public TreeNode getChildAt(int index) { return (TreeNode) kids.elementAt(index); }
public TreeNode getChildAt(int index) { return (TreeNode) tree_children.get(index); }
30,624
public int getChildCount() { return kids.size(); }
public int getChildCount() { return tree_children.size(); }
30,625
public Element getElement(int index) { return (Element) elts.elementAt(index); }
public Element getElement(int index) { return (Element) element_children.get(index); }
30,626
public int getIndex(TreeNode node) { return kids.indexOf(node); }
public int getIndex(TreeNode node) { return tree_children.indexOf(node); }
30,627
public String getName() { return name; }
public String getName() { return (String) getAttribute(NameAttribute); }
30,628
public Element getParentElement() { return parent; }
public Element getParentElement() { return element_parent; }
30,629
public BranchElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); this.start = start; this.end = end; }
public BranchElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); this.start = start; this.end = end; }
30,630
public BranchElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); this.start = start; this.end = end; }
public BranchElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); this.start = start; this.end = end; }
30,631
public int getElementIndex(int offset) { return children.indexOf(positionToElement(offset)); }
public int getElementIndex(int offset) { if (children.size() == 0) return 0; Element element = positionToElement(offset); if (element == null) return 0; return children.indexOf(element); }
30,633
public int getEndOffset() { return end; }
public int getEndOffset() { return ((Element) children.lastElement()).getEndOffset(); }
30,634
public int getStartOffset() { return start; }
public int getStartOffset() { return ((Element) children.firstElement()).getStartOffset(); }
30,635
public int getLength() { return len; }
public int getLength() { return length; }
30,636
public int getOffset() { return off; }
public int getOffset() { return offset; }
30,637
public DocumentEvent.EventType getType() { return null; }
public DocumentEvent.EventType getType() { return type; }
30,638
protected AbstractDocument(Content doc) { this(doc, null); }
protected AbstractDocument(Content doc) { this(doc, StyleContext.getDefaultStyleContext()); }
30,639
protected Element createBranchElement(Element parent, AttributeSet a) { return new BranchElement(parent, a, 0, 0); }
protected Element createBranchElement(Element parent, AttributeSet attributes) { return new BranchElement(parent, a, 0, 0); }
30,640
protected Element createBranchElement(Element parent, AttributeSet a) { return new BranchElement(parent, a, 0, 0); }
protected Element createBranchElement(Element parent, AttributeSet a) { return new BranchElement(parent, attributes); }
30,641
protected Element createLeafElement(Element parent, AttributeSet a, int p0, int p1) { return new LeafElement(parent, a, p0, p1 - p0); }
protected Element createLeafElement(Element parent, AttributeSet a, int p0, int p1) { return new LeafElement(parent, a, p0, p1 - p0); }
30,642
protected Element createLeafElement(Element parent, AttributeSet a, int p0, int p1) { return new LeafElement(parent, a, p0, p1 - p0); }
protected Element createLeafElement(Element parent, AttributeSet a, int p0, int p1) { return new LeafElement(parent, attributes, start, end); }
30,643
protected AttributeContext getAttributeContext() { return null; }
protected AttributeContext getAttributeContext() { return context; }
30,644
public Position getEndPosition() { return null; }
public Position getEndPosition() { return new Position() { public int getOffset() { return getLength(); } }; }
30,645
public Element[] getRootElements() { return null; }
public Element[] getRootElements() { Element[] elements = new Element[1]; elements[0] = getDefaultRootElement(); return elements; }
30,646
public Position getStartPosition() { return null; }
public Position getStartPosition() { return new Position() { public int getOffset() { return 0; } }; }
30,647
public void insertString(int offs, String str, AttributeSet a) throws BadLocationException { content.insertString(offs, str); }
public void insertString(int offset, String text, AttributeSet attributes) throws BadLocationException { content.insertString(offs, str); }
30,648
public void insertString(int offs, String str, AttributeSet a) throws BadLocationException { content.insertString(offs, str); }
public void insertString(int offs, String str, AttributeSet a) throws BadLocationException { content.insertString(offs, str); }
30,649
public void remove(int offset, int length) throws BadLocationException { }
public void remove(int offset, int length) throws BadLocationException { }
30,650
public NameAlreadyBoundException (String msg) { super (msg); }
public NameAlreadyBoundException () { super (msg); }
30,651
public NameAlreadyBoundException (String msg) { super (msg); }
public NameAlreadyBoundException (String msg) { super (); }
30,652
public int getHeight(){ return biHeight; }
public int getHeight(){ return biHeight; }
30,654
public int getWidth(){ return biWidth; }
public int getWidth(){ return biWidth; }
30,655
public BMPInfoHeader(ImageInputStream in) throws IOException, BMPException { byte[] data = new byte[SIZE]; if (in.read(data) != SIZE) throw new IOException("Couldn't read header."); ByteBuffer buf = ByteBuffer.wrap(data); buf.order(ByteOrder.LITTLE_ENDIAN); int n; if((n=buf.getInt()) != SIZE) th...
public BMPInfoHeader(ImageInputStream in) throws IOException, BMPException { byte[] data = new byte[SIZE]; if (in.read(data) != SIZE) throw new IOException("Couldn't read header."); ByteBuffer buf = ByteBuffer.wrap(data); buf.order(ByteOrder.LITTLE_ENDIAN); int n; if((n=buf.getInt()) != SIZE) th...
30,656
public BMPInfoHeader(ImageInputStream in) throws IOException, BMPException { byte[] data = new byte[SIZE]; if (in.read(data) != SIZE) throw new IOException("Couldn't read header."); ByteBuffer buf = ByteBuffer.wrap(data); buf.order(ByteOrder.LITTLE_ENDIAN); int n; if((n=buf.getInt()) != SIZE) th...
public BMPInfoHeader(ImageInputStream in) throws IOException, BMPException { byte[] data = new byte[SIZE]; if (in.read(data) != SIZE) throw new IOException("Couldn't read header."); ByteBuffer buf = ByteBuffer.wrap(data); buf.order(ByteOrder.LITTLE_ENDIAN); int n; if((n=buf.getInt()) != SIZE) th...
30,657
protected void uninstallKeyboardActions() throws NotImplementedException { // FIXME: Uninstall keyboard actions here. }
protected void uninstallKeyboardActions() { // FIXME: Uninstall keyboard actions here. }
30,658
protected void uninstallKeyboardActions() throws NotImplementedException { // FIXME: Uninstall keyboard actions here. }
SwingUtilities.replaceUIInputMap(textComponent, JComponent.WHEN_FOCUSED, null); SwingUtilities.replaceUIActionMap(textComponent, null); SwingUtilities.replaceUIInputMap(textComponent, JComponent.WHEN_FOCUSED, null); SwingUtilities.replaceUIActionMap(textComponent, null); protectedSwingUtilities.replaceUIInputMap(textCo...
30,659
public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); if (t != null) { try { int pos = t.getCaret().getDot(); if (pos < t.getDocument().getEndPosition().getOffset()) { ...
public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); if (t != null) { try { int pos = t.getCaret().getDot(); if (pos < t.getDocument().getEndPosition().getOffset()) { ...
30,660
public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); if (t != null) { try { int pos = t.getCaret().getDot(); if (pos > t.getDocument().getStartPosition().getOffset()) { ...
public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); if (t != null) { try { int pos = t.getCaret().getDot(); if (pos > t.getDocument().getStartPosition().getOffset()) { ...
30,661
public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); if (t != null) { try { t.getDocument().insertString(t.getCaret().getDot(), event.getActionCommand(), null); t.getCaret().setDot(Math.min(t.getCaret().getDot(...
public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); if (t != null) { try { t.getDocument().insertString(t.getCaret().getDot(), event.getActionCommand(), null); t.getCaret().setDot(Math.min(t.getCaret().getDot(...
30,662
public void flushBefore(long position) throws IOException { // FIXME: Implement me. throw new Error("not implemented"); }
public void flushBefore(long position) throws IOException, NotImplementedException { // FIXME: Implement me. throw new Error("not implemented"); }
30,663
public IllegalAccessError(String s) { super(s); }
public IllegalAccessError() { super(s); }
30,664
public IllegalAccessError(String s) { super(s); }
public IllegalAccessError(String s) { }
30,665
public void addBeanContextMembershipListener(BeanContextMembershipListener listener);
public void addBeanContextMembershipListener(BeanContextMembershipListener listener);
30,666
public URL getResource(String resourceName, BeanContextChild requestor);
public URL getResource(String resourceName, BeanContextChild requestor);
30,667
public InputStream getResourceAsStream(String resourceName, BeanContextChild requestor);
public InputStream getResourceAsStream(String resourceName, BeanContextChild requestor);
30,668
public Object instantiateChild(String beanName) throws IOException, ClassNotFoundException;
Object instantiateChild(String beanName) throws IOException, ClassNotFoundException;
30,669
public void removeBeanContextMembershipListener(BeanContextMembershipListener listener);
public void removeBeanContextMembershipListener(BeanContextMembershipListener listener);
30,670
public Window getWindowAncestor(Component comp) { return (Window) getAncestorOfClass(Window.class, comp); }
public static Window getWindowAncestor(Component comp) { return (Window) getAncestorOfClass(Window.class, comp); }
30,671
public static void replaceUIActionMap(JComponent component, ActionMap uiActionMap) { ActionMap child = component.getActionMap(); if (child == null) component.setActionMap(uiActionMap); else { while(child.getParent() != null && !(child.get...
public static void replaceUIActionMap(JComponent component, ActionMap uiActionMap) { ActionMap child = component.getActionMap(); if (child == null) component.setActionMap(uiActionMap); else { while(child.getParent() != null && !(child.get...
30,672
public synchronized void setData(byte[] buf, int offset, int length) { // This form of setData must be used if offset is to be changed. if (buf == null) throw new NullPointerException("Null buffer"); if (offset < 0) throw new IllegalArgumentException("Invalid offset: " + offset); buffer = buf; this.offset =...
public void setData(byte[] buf) { // This form of setData must be used if offset is to be changed. if (buf == null) throw new NullPointerException("Null buffer"); if (offset < 0) throw new IllegalArgumentException("Invalid offset: " + offset); buffer = buf; this.offset = offset; setLength(length); }
30,673
public synchronized void setData(byte[] buf, int offset, int length) { // This form of setData must be used if offset is to be changed. if (buf == null) throw new NullPointerException("Null buffer"); if (offset < 0) throw new IllegalArgumentException("Invalid offset: " + offset); buffer = buf; this.offset =...
public synchronized void setData(byte[] buf, int offset, int length) { // This form of setData must be used if offset is to be changed. if (buf == null) throw new NullPointerException("Null buffer"); if (offset < 0) throw new IllegalArgumentException("Invalid offset: " + offset); buffer = buf; this.offset =...
30,674
public SocketBuffer(byte[] data, int offset, int length) { this.data = data; this.start = offset; this.size = length; testBuffer(); }
public SocketBuffer(byte[] data, int offset, int length) { this.data = data; this.start = offset; this.size = length; testBuffer(); }
30,675
public static ComponentUI createUI(JComponent component) { if (instance == null) instance = new MetalScrollBarUI(); return instance; }
public static ComponentUI createUI(JComponent component) { if (instances == null) instances = new HashMap(); Object o = instances.get(component); MetalScrollBarUI instance; if (o == null) { instance = new MetalScrollBarUI(); return instance; }
30,676
public DirectByteBufferImpl (RawData address, long len) { this (null, address, (int) len, (int) len, 0, false); }
DirectByteBufferImpl(int capacity) { this (null, address, (int) len, (int) len, 0, false); }
30,678
public DirectByteBufferImpl (RawData address, long len) { this (null, address, (int) len, (int) len, 0, false); }
public DirectByteBufferImpl (RawData address, long len) { super(capacity, capacity, 0, -1); this.owner = this; this.address = VMDirectByteBuffer.allocate(capacity); }
30,679
public CharBuffer asCharBuffer () { return new CharViewBufferImpl (this, remaining() >> 1); }
public CharBuffer asCharBuffer() { return new CharViewBufferImpl (this, remaining() >> 1); }
30,680
public CharBuffer asCharBuffer () { return new CharViewBufferImpl (this, remaining() >> 1); }
public CharBuffer asCharBuffer () { return new CharViewBufferImpl(this, remaining() >> 1); }
30,681
public DoubleBuffer asDoubleBuffer () { return new DoubleViewBufferImpl (this, remaining() >> 3); }
public DoubleBuffer asDoubleBuffer() { return new DoubleViewBufferImpl (this, remaining() >> 3); }
30,682
public DoubleBuffer asDoubleBuffer () { return new DoubleViewBufferImpl (this, remaining() >> 3); }
public DoubleBuffer asDoubleBuffer () { return new DoubleViewBufferImpl(this, remaining() >> 3); }
30,683
public FloatBuffer asFloatBuffer () { return new FloatViewBufferImpl (this, remaining() >> 2); }
public FloatBuffer asFloatBuffer() { return new FloatViewBufferImpl (this, remaining() >> 2); }
30,684
public FloatBuffer asFloatBuffer () { return new FloatViewBufferImpl (this, remaining() >> 2); }
public FloatBuffer asFloatBuffer () { return new FloatViewBufferImpl(this, remaining() >> 2); }
30,685