rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k |
|---|---|---|
focusColor = UIManager.getColor(getPropertyPrefix() + "focus"); | protected Color getFocusColor() { return focusColor; } | |
selectColor = UIManager.getColor(getPropertyPrefix() + "select"); | protected Color getSelectColor() { return selectColor; } | |
button.setRolloverEnabled(UIManager.getBoolean( getPropertyPrefix() + "rollover")); | public void installDefaults(AbstractButton button) { super.installDefaults(button); button.setRolloverEnabled(UIManager.getBoolean( getPropertyPrefix() + "rollover")); } | |
g.setColor(selectColor); | g.setColor(getSelectColor()); | protected void paintButtonPressed(Graphics g, AbstractButton b) { if (b.isContentAreaFilled()) { Rectangle area = b.getVisibleRect(); g.setColor(selectColor); g.fillRect(area.x, area.y, area.width, area.height); } } |
button.setRolloverEnabled(false); | public void uninstallDefaults(AbstractButton button) { super.uninstallDefaults(button); button.setRolloverEnabled(false); } | |
int pixelY = y; FontMetrics metrics = g.getFontMetrics(); int ascent = metrics.getAscent(); | int pixelY = y - ascent; | public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The current x and y pixel coordinates. int pixelX = x; int pixelY = y; // The font... |
if (selectionMode == SINGLE_SELECTION || selectionMode == SINGLE_INTERVAL_SELECTION) | int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); oldSel = sel.clone(); if (selectionMode == SINGLE_SELECTION) sel.clear(); if (selectionMode == SINGLE_INTERVAL_SELECTION) if (!(isSelectedIndex(index0) || isSelectedIndex(index1) || isSelectedIndex(Math.max(lo-1,0)) || isSelectedIndex(Math.min(... | public void addSelectionInterval(int index0, int index1) { if (selectionMode == SINGLE_SELECTION || selectionMode == SINGLE_INTERVAL_SELECTION) sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); ... |
int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); | public void addSelectionInterval(int index0, int index1) { if (selectionMode == SINGLE_SELECTION || selectionMode == SINGLE_INTERVAL_SELECTION) sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); ... | |
if (((index0 - 1 == leadSelectionIndex && (index1 >= index0) | if ((isSelectedIndex(leadSelectionIndex)) && ((index0 - 1 == leadSelectionIndex && (index1 >= index0) | public void addSelectionInterval(int index0, int index1) { if (selectionMode == SINGLE_SELECTION || selectionMode == SINGLE_INTERVAL_SELECTION) sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); ... |
if (sel.equals(oldSel) == false) | public void addSelectionInterval(int index0, int index1) { if (selectionMode == SINGLE_SELECTION || selectionMode == SINGLE_INTERVAL_SELECTION) sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); ... | |
if (sel.equals(oldSel) == false) | public void clearSelection() { int sz = sel.size(); sel.clear(); fireValueChanged(0, sz, valueIsAdjusting); } | |
if (sel.equals(oldSel) == false) | public void removeSelectionInterval(int index0, int index1) { int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); sel.clear(lo, hi+1); //update anchorSelectionIndex and leadSelectionIndex variables //TODO: will probably need MouseDragged to test ... | |
if (sel.equals(oldSel) == false) | public void setLeadSelectionIndex(int leadIndex) { int oldLeadIndex = leadSelectionIndex; leadSelectionIndex = leadIndex; if (anchorSelectionIndex == -1) return; int R1 = Math.min(anchorSelectionIndex, oldLeadIndex); int R2 = Math.max(anchorSelectionIndex, oldLeadIndex); int S1 = Math.min(anch... | |
fireValueChanged(lo, hi, valueIsAdjusting); | public void setSelectionInterval(int index0, int index1) { sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); sel.set(lo, hi+1); fireValueChanged(lo, hi, valueIsAdjusting); // update the anchorSelectionI... | |
if (sel.equals(oldSel) == false) fireValueChanged(lo, hi, valueIsAdjusting); | public void setSelectionInterval(int index0, int index1) { sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); sel.set(lo, hi+1); fireValueChanged(lo, hi, valueIsAdjusting); // update the anchorSelectionI... | |
&& thread.getThreadGroup().getParent() != null) | && thread.getThreadGroup().getParent() == null) | public void checkAccess(Thread thread) { if (thread.getThreadGroup() != null && thread.getThreadGroup().getParent() != null) checkPermission(new RuntimePermission("modifyThread")); } |
stackOffset = currentBlock.getStackOffset(); | public void startInstruction(int address) { this.address = address; if (address >= currentBlock.getEndPC()) { currentBlock.resolvePhiReferences(); currentBlock = (IRBasicBlock) basicBlockIterator.next(); Iterator pi = currentBlock.getPredecessors().iterator(); if (!pi.hasNext()) { // this must be the firs... | |
setSuccessorStackOffset(); | public void visit_goto(int address) { quadList.add(new UnconditionalBranchQuad(this.address, currentBlock, address)); } | |
setSuccessorStackOffset(); | public void visit_if_acmpeq(int address) { int s1 = stackOffset - 2; int s2 = stackOffset - 1; Variable[] variables = currentBlock.getVariables(); variables[s1].setType(Operand.REFERENCE); variables[s2].setType(Operand.REFERENCE); quadList.add(new ConditionalBranchQuad(this.address, currentBlock, s1, Condition... | |
setSuccessorStackOffset(); | public void visit_if_acmpne(int address) { int s1 = stackOffset - 2; int s2 = stackOffset - 1; Variable[] variables = currentBlock.getVariables(); variables[s1].setType(Operand.REFERENCE); variables[s2].setType(Operand.REFERENCE); quadList.add(new ConditionalBranchQuad(this.address, currentBlock, s1, Condition... | |
setSuccessorStackOffset(); | public void visit_if_icmpeq(int address) { int s1 = stackOffset - 2; int s2 = stackOffset - 1; Variable[] variables = currentBlock.getVariables(); variables[s1].setType(Operand.INT); variables[s2].setType(Operand.INT); quadList.add(new ConditionalBranchQuad(this.address, currentBlock, s1, ConditionalBranchQuad... | |
setSuccessorStackOffset(); | public void visit_if_icmpge(int address) { int s1 = stackOffset - 2; int s2 = stackOffset - 1; Variable[] variables = currentBlock.getVariables(); variables[s1].setType(Operand.INT); variables[s2].setType(Operand.INT); quadList.add(new ConditionalBranchQuad(this.address, currentBlock, s1, ConditionalBranchQuad... | |
setSuccessorStackOffset(); | public void visit_if_icmpgt(int address) { int s1 = stackOffset - 2; int s2 = stackOffset - 1; Variable[] variables = currentBlock.getVariables(); variables[s1].setType(Operand.INT); variables[s2].setType(Operand.INT); quadList.add(new ConditionalBranchQuad(this.address, currentBlock, s1, ConditionalBranchQuad... | |
setSuccessorStackOffset(); | public void visit_if_icmple(int address) { int s1 = stackOffset - 2; int s2 = stackOffset - 1; Variable[] variables = currentBlock.getVariables(); variables[s1].setType(Operand.INT); variables[s2].setType(Operand.INT); quadList.add(new ConditionalBranchQuad(this.address, currentBlock, s1, ConditionalBranchQuad... | |
setSuccessorStackOffset(); | public void visit_if_icmplt(int address) { int s1 = stackOffset - 2; int s2 = stackOffset - 1; Variable[] variables = currentBlock.getVariables(); variables[s1].setType(Operand.INT); variables[s2].setType(Operand.INT); quadList.add(new ConditionalBranchQuad(this.address, currentBlock, s1, ConditionalBranchQuad... | |
setSuccessorStackOffset(); | public void visit_if_icmpne(int address) { int s1 = stackOffset - 2; int s2 = stackOffset - 1; Variable[] variables = currentBlock.getVariables(); variables[s1].setType(Operand.INT); variables[s2].setType(Operand.INT); quadList.add(new ConditionalBranchQuad(this.address, currentBlock, s1, ConditionalBranchQuad... | |
setSuccessorStackOffset(); | public void visit_ifeq(int address) { int s1 = stackOffset - 1; Variable[] variables = currentBlock.getVariables(); variables[s1].setType(Operand.INT); quadList.add(new ConditionalBranchQuad(this.address, currentBlock, s1, ConditionalBranchQuad.IFEQ, address)); stackOffset -= 1; } | |
setSuccessorStackOffset(); | public void visit_ifge(int address) { int s1 = stackOffset - 1; Variable[] variables = currentBlock.getVariables(); variables[s1].setType(Operand.INT); quadList.add(new ConditionalBranchQuad(this.address, currentBlock, s1, ConditionalBranchQuad.IFGE, address)); stackOffset -= 1; } | |
setSuccessorStackOffset(); | public void visit_ifgt(int address) { int s1 = stackOffset - 1; Variable[] variables = currentBlock.getVariables(); variables[s1].setType(Operand.INT); quadList.add(new ConditionalBranchQuad(this.address, currentBlock, s1, ConditionalBranchQuad.IFGT, address)); stackOffset -= 1; } | |
setSuccessorStackOffset(); | public void visit_ifle(int address) { int s1 = stackOffset - 1; Variable[] variables = currentBlock.getVariables(); variables[s1].setType(Operand.INT); quadList.add(new ConditionalBranchQuad(this.address, currentBlock, s1, ConditionalBranchQuad.IFLE, address)); stackOffset -= 1; } | |
setSuccessorStackOffset(); | public void visit_iflt(int address) { int s1 = stackOffset - 1; Variable[] variables = currentBlock.getVariables(); variables[s1].setType(Operand.INT); quadList.add(new ConditionalBranchQuad(this.address, currentBlock, s1, ConditionalBranchQuad.IFLT, address)); stackOffset -= 1; } | |
setSuccessorStackOffset(); | public void visit_ifne(int address) { int s1 = stackOffset - 1; Variable[] variables = currentBlock.getVariables(); variables[s1].setType(Operand.INT); quadList.add(new ConditionalBranchQuad(this.address, currentBlock, s1, ConditionalBranchQuad.IFNE, address)); stackOffset -= 1; } | |
setSuccessorStackOffset(); | public void visit_ifnonnull(int address) { int s1 = stackOffset - 1; Variable[] variables = currentBlock.getVariables(); variables[s1].setType(Operand.REFERENCE); quadList.add(new ConditionalBranchQuad(this.address, currentBlock, s1, ConditionalBranchQuad.IFNONNULL, address)); stackOffset -= 1; } | |
setSuccessorStackOffset(); | public void visit_ifnull(int address) { int s1 = stackOffset - 1; Variable[] variables = currentBlock.getVariables(); variables[s1].setType(Operand.REFERENCE); quadList.add(new ConditionalBranchQuad(this.address, currentBlock, s1, ConditionalBranchQuad.IFNULL, address)); stackOffset -= 1; } | |
put("KeyAgreement.DiffieHellman", gnu.javax.crypto.DiffieHellmanImpl.class.getName()); put("Alg.Alias.KeyAgreement.DH", "DiffieHellman"); | put("KeyAgreement.DH", gnu.javax.crypto.jce.DiffieHellmanImpl.class.getName()); put("Alg.Alias.KeyAgreement.DiffieHellman", "DH"); | public GnuCrypto() { super(Registry.GNU_CRYPTO, 2.1, "GNU Crypto JCE Provider"); AccessController.doPrivileged(new PrivilegedAction() { public Object run() { // Cipher put("Cipher.ANUBIS", gnu.javax.crypto.jce.cipher.AnubisSpi.class.getName()); put("Cipher.ANUBIS Im... |
put("AlgorithmParameters.DH", gnu.javax.crypto.jce.sig.DHParameters.class.getName()); put("Alg.Alias.AlgorithmParameters.DiffieHellman", "DH"); put("AlgorithmParameterGenerator.DH", gnu.javax.crypto.jce.sig.DHParametersGenerator.class.getName()); put("Alg.Alias.AlgorithmParameterGenerator.DiffieHellman", "DH"); | public GnuCrypto() { super(Registry.GNU_CRYPTO, 2.1, "GNU Crypto JCE Provider"); AccessController.doPrivileged(new PrivilegedAction() { public Object run() { // Cipher put("Cipher.ANUBIS", gnu.javax.crypto.jce.cipher.AnubisSpi.class.getName()); put("Cipher.ANUBIS Im... | |
put("KeyAgreement.DiffieHellman", gnu.javax.crypto.DiffieHellmanImpl.class.getName()); put("Alg.Alias.KeyAgreement.DH", "DiffieHellman"); | put("KeyAgreement.DH", gnu.javax.crypto.jce.DiffieHellmanImpl.class.getName()); put("Alg.Alias.KeyAgreement.DiffieHellman", "DH"); | public Object run() { // Cipher put("Cipher.ANUBIS", gnu.javax.crypto.jce.cipher.AnubisSpi.class.getName()); put("Cipher.ANUBIS ImplementedIn", "Software"); put("Cipher.ARCFOUR", gnu.javax.crypto.jce.cipher.ARCFourSpi.class.getName()); put("Cipher.ARCF... |
put("AlgorithmParameters.DH", gnu.javax.crypto.jce.sig.DHParameters.class.getName()); put("Alg.Alias.AlgorithmParameters.DiffieHellman", "DH"); put("AlgorithmParameterGenerator.DH", gnu.javax.crypto.jce.sig.DHParametersGenerator.class.getName()); put("Alg.Alias.AlgorithmParameterGenerator.DiffieHellman", "DH"); | public Object run() { // Cipher put("Cipher.ANUBIS", gnu.javax.crypto.jce.cipher.AnubisSpi.class.getName()); put("Cipher.ANUBIS ImplementedIn", "Software"); put("Cipher.ARCFOUR", gnu.javax.crypto.jce.cipher.ARCFourSpi.class.getName()); put("Cipher.ARCF... | |
ex.printStackTrace(); | protected void buildPlugin(File descriptor) throws BuildException { final PluginDescriptorModel descr; try { final XMLElement root = new XMLElement(new Hashtable(), true, false); try { final FileReader r = new FileReader(descriptor); try { root.parseFromReader(r); } finally { r.close(); } }... | |
if (GraphicsEnvironment.isHeadless()) throw new HeadlessException("No custom cursor in an headless graphics " + "environment."); | public Cursor createCustomCursor(Image cursor, Point hotSpot, String name) { // Presumably the only reason this isn't abstract is for backwards // compatibility? FIXME? return null; } | |
if (GraphicsEnvironment.isHeadless()) throw new HeadlessException("No best cursor size in an headless " + "graphics environment."); | public Dimension getBestCursorSize(int preferredWidth, int preferredHeight) { return new Dimension (0,0); } | |
bad.minor = Minor.CDR; | public void _write(OutputStream output) { try { output.write_string(typecode.id()); } catch (Exception ex) { BAD_OPERATION bad = new BAD_OPERATION(); bad.initCause(ex); throw bad; } } | |
super("TODO"); | super(nm); this.a = a; | public AlignmentAction(String nm, int a) { super("TODO"); // TODO } |
SimpleAttributeSet atts = new SimpleAttributeSet(); StyleConstants.setAlignment(atts, a); setParagraphAttributes(getEditor(event), atts, false); | public void actionPerformed(ActionEvent event) { // TODO } | |
JEditorPane editor = getEditor(event); StyledDocument doc = getStyledDocument(editor); Element el = doc.getCharacterElement(editor.getSelectionStart()); boolean isBold = StyleConstants.isBold(el.getAttributes()); SimpleAttributeSet atts = new SimpleAttributeSet(); StyleConstants.setItalic(atts, ! isBold); setCharacterA... | public void actionPerformed(ActionEvent event) { // TODO } | |
super("TODO"); | super(nm); this.family = family; | public FontFamilyAction(String nm, String family) { super("TODO"); // TODO } |
SimpleAttributeSet atts = new SimpleAttributeSet(); StyleConstants.setFontFamily(atts, family); setCharacterAttributes(getEditor(event), atts, false); | public void actionPerformed(ActionEvent event) { // TODO } | |
super("TODO"); | super(nm); this.size = size; | public FontSizeAction(String nm, int size) { super("TODO"); // TODO } |
SimpleAttributeSet atts = new SimpleAttributeSet(); StyleConstants.setFontSize(atts, size); setCharacterAttributes(getEditor(event), atts, false); | public void actionPerformed(ActionEvent event) { // TODO } | |
super("TODO"); | super(nm); this.fg = fg; | public ForegroundAction(String nm, Color fg) { super("TODO"); // TODO } |
SimpleAttributeSet atts = new SimpleAttributeSet(); StyleConstants.setForeground(atts, fg); setCharacterAttributes(getEditor(event), atts, false); | public void actionPerformed(ActionEvent event) { // TODO } | |
JEditorPane editor = getEditor(event); StyledDocument doc = getStyledDocument(editor); Element el = doc.getCharacterElement(editor.getSelectionStart()); boolean isItalic = StyleConstants.isItalic(el.getAttributes()); SimpleAttributeSet atts = new SimpleAttributeSet(); StyleConstants.setItalic(atts, ! isItalic); setChar... | public void actionPerformed(ActionEvent event) { // TODO } | |
return null; | return (JEditorPane) getTextComponent(event); | protected final JEditorPane getEditor(ActionEvent event) { return null; // TODO } |
protected final StyledDocument getStyledDocument(JEditorPane value0) | protected final StyledDocument getStyledDocument(JEditorPane editor) | protected final StyledDocument getStyledDocument(JEditorPane value0) { return null; // TODO } |
return null; | Document doc = editor.getDocument(); if (!(doc instanceof StyledDocument)) throw new AssertionError("The Document for StyledEditorKits is " + "expected to be a StyledDocument."); return (StyledDocument) doc; | protected final StyledDocument getStyledDocument(JEditorPane value0) { return null; // TODO } |
protected final StyledEditorKit getStyledEditorKit(JEditorPane value0) | protected final StyledEditorKit getStyledEditorKit(JEditorPane editor) | protected final StyledEditorKit getStyledEditorKit(JEditorPane value0) { return null; // TODO } |
return null; | EditorKit kit = editor.getEditorKit(); if (!(kit instanceof StyledEditorKit)) throw new AssertionError("The EditorKit for StyledDocuments is " + "expected to be a StyledEditorKit."); return (StyledEditorKit) kit; | protected final StyledEditorKit getStyledEditorKit(JEditorPane value0) { return null; // TODO } |
protected final void setCharacterAttributes(JEditorPane value0, AttributeSet value1, boolean value2) | protected final void setCharacterAttributes(JEditorPane editor, AttributeSet atts, boolean replace) | protected final void setCharacterAttributes(JEditorPane value0, AttributeSet value1, boolean value2) { // TODO } |
Document doc = editor.getDocument(); if (doc instanceof StyledDocument) { StyledDocument styleDoc = (StyledDocument) editor.getDocument(); EditorKit kit = editor.getEditorKit(); if (!(kit instanceof StyledEditorKit)) { StyledEditorKit styleKit = (StyledEditorKit) kit; int start = editor.getSelectionStart(); int end = e... | protected final void setCharacterAttributes(JEditorPane value0, AttributeSet value1, boolean value2) { // TODO } | |
protected final void setParagraphAttributes(JEditorPane value0, AttributeSet value1, boolean value2) | protected final void setParagraphAttributes(JEditorPane editor, AttributeSet atts, boolean replace) | protected final void setParagraphAttributes(JEditorPane value0, AttributeSet value1, boolean value2) { // TODO } |
Document doc = editor.getDocument(); if (doc instanceof StyledDocument) { StyledDocument styleDoc = (StyledDocument) editor.getDocument(); EditorKit kit = editor.getEditorKit(); if (!(kit instanceof StyledEditorKit)) { StyledEditorKit styleKit = (StyledEditorKit) kit; int start = editor.getSelectionStart(); int end = e... | protected final void setParagraphAttributes(JEditorPane value0, AttributeSet value1, boolean value2) { // TODO } | |
public View create(Element value0) | public View create(Element element) | public View create(Element value0) { return null; // TODO } |
return null; | String name = element.getName(); View view = null; if (name.equals(AbstractDocument.ContentElementName)) view = new LabelView(element); else if (name.equals(AbstractDocument.ParagraphElementName)) view = new ParagraphView(element); else if (name.equals(AbstractDocument.SectionElementName)) view = new BoxView(element); ... | public View create(Element value0) { return null; // TODO } |
JEditorPane editor = getEditor(event); StyledDocument doc = getStyledDocument(editor); Element el = doc.getCharacterElement(editor.getSelectionStart()); boolean isUnderline = StyleConstants.isUnderline(el.getAttributes()); SimpleAttributeSet atts = new SimpleAttributeSet(); StyleConstants.setUnderline(atts, ! isUnderli... | public void actionPerformed(ActionEvent event) { // TODO } | |
inputAttributes = new SimpleAttributeSet(); | public StyledEditorKit() { // TODO } | |
return null; | StyledEditorKit clone = (StyledEditorKit) super.clone(); return clone; | public Object clone() { return null; // TODO } |
return null; | return new DefaultStyledDocument(); | public Document createDefaultDocument() { return null; // TODO } |
AttributeSet atts = element.getAttributes(); set.removeAttributes(set); set.addAttributes(atts); | protected void createInputAttributes(Element element, MutableAttributeSet set) { // TODO } | |
CaretTracker t = caretTracker; if (t != null) component.removeCaretListener(t); caretTracker = null; | public void deinstall(JEditorPane component) { // TODO } | |
return null; | Action[] actions1 = super.getActions(); Action[] myActions = new Action[] { new BoldAction(), new ItalicAction(), new UnderlineAction() }; return TextAction.augmentList(actions1, myActions); | public Action[] getActions() { return null; // TODO } |
return null; | return currentRun; | public Element getCharacterAttributeRun() { return null; // TODO } |
return null; | return inputAttributes; | public MutableAttributeSet getInputAttributes() { return null; // TODO } |
return null; | if (viewFactory == null) viewFactory = new StyledViewFactory(); return viewFactory; | public ViewFactory getViewFactory() { return null; // TODO } |
CaretTracker tracker = new CaretTracker(); component.addCaretListener(tracker); | public void install(JEditorPane component) { // TODO } | |
public String getContentType() | public final String getContentType() | public String getContentType() { return getEditorKit().getContentType(); } |
public void setContentType(String type) | public final void setContentType(String type) | public void setContentType(String type) { if (editorKit != null && editorKit.getContentType().equals(type)) return; EditorKit kit = getEditorKitForContentType(type); if (kit != null) setEditorKit(kit); } |
if (table == null) return this; | public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { if (value!=null) super.setTex... | |
this.set = attributeSet; | attrset = attributeSet; | public SynchronizedAttributeSet(AttributeSet attributeSet) { if (attributeSet == null) throw new NullPointerException("attributeSet may not be null"); this.set = attributeSet; } |
return set.add(attribute); | return attrset.add(attribute); | public synchronized boolean add(Attribute attribute) { return set.add(attribute); } |
return set.addAll(attributes); | return attrset.addAll(attributes); | public synchronized boolean addAll(AttributeSet attributes) { return set.addAll(attributes); } |
set.clear(); | attrset.clear(); | public synchronized void clear() { set.clear(); } |
return set.containsKey(category); | return attrset.containsKey(category); | public synchronized boolean containsKey(Class category) { return set.containsKey(category); } |
return set.containsValue(attribute); | return attrset.containsValue(attribute); | public synchronized boolean containsValue(Attribute attribute) { return set.containsValue(attribute); } |
return set.equals(obj); | return attrset.equals(obj); | public synchronized boolean equals(Object obj) { return set.equals(obj); } |
return set.get(interfaceName); | return attrset.get(interfaceName); | public synchronized Attribute get(Class interfaceName) { return set.get(interfaceName); } |
return set.hashCode(); | return attrset.hashCode(); | public synchronized int hashCode() { return set.hashCode(); } |
return set.isEmpty(); | return attrset.isEmpty(); | public synchronized boolean isEmpty() { return set.isEmpty(); } |
return set.remove(category); | return attrset.remove(category); | public synchronized boolean remove(Class category) { return set.remove(category); } |
return set.size(); | return attrset.size(); | public synchronized int size() { return set.size(); } |
return set.toArray(); | return attrset.toArray(); | public synchronized Attribute[] toArray() { return set.toArray(); } |
this.set = attributeSet; | this.attrset = attributeSet; | public UnmodifiableAttributeSet(AttributeSet attributeSet) { if (attributeSet == null) throw new NullPointerException("attributeSet may not be null"); this.set = attributeSet; } |
return set.containsKey(category); | return attrset.containsKey(category); | public boolean containsKey(Class category) { return set.containsKey(category); } |
return set.containsValue(attribute); | return attrset.containsValue(attribute); | public boolean containsValue(Attribute attribute) { return set.containsValue(attribute); } |
return set.equals(obj); | return attrset.equals(obj); | public boolean equals(Object obj) { return set.equals(obj); } |
return set.get(interfaceName); | return attrset.get(interfaceName); | public Attribute get(Class interfaceName) { return set.get(interfaceName); } |
return set.hashCode(); | return attrset.hashCode(); | public int hashCode() { return set.hashCode(); } |
return set.isEmpty(); | return attrset.isEmpty(); | public boolean isEmpty() { return set.isEmpty(); } |
return set.size(); | return attrset.size(); | public int size() { return set.size(); } |
return set.toArray(); | return attrset.toArray(); | public Attribute[] toArray() { return set.toArray(); } |
String name = getColumnName(column.getModelIndex()); | String name = dataModel.getColumnName(column.getModelIndex()); | public void addColumn(TableColumn column) { if (column.getHeaderValue() == null) { String name = getColumnName(column.getModelIndex()); column.setHeaderValue(name); } columnModel.addColumn(column); } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.