bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public abstract int selectionForKey(char value0, ComboBoxModel value1);
public abstract int selectionForKey(char value0, ComboBoxModel value1);
15,931
public void addActionListener(ActionListener value0) { // TODO } // addActionListener()
public void addActionListener(ActionListener value0) { // TODO } // addActionListener()
15,932
public void removeActionListener(ActionListener value0) { // TODO } // removeActionListener()
public void removeActionListener(ActionListener value0) { // TODO } // removeActionListener()
15,933
public int getColumnIndexAtX(int xPosition);
public int getColumnIndexAtX(int xPosition);
15,934
public Enumeration getColumns();
public Enumeration getColumns();
15,935
public int getSelectedColumnCount();
public int getSelectedColumnCount();
15,936
public int[] getSelectedColumns();
public int[] getSelectedColumns();
15,937
public void setSelectionModel(ListSelectionModel model);
public void setSelectionModel(ListSelectionModel model);
15,938
public void characters(char[] c, int off, int len) throws SAXException { if (interrupted) { return; } ctx.appendChild(createText(c, off, len)); }
public void characters(char[] c, int off, int len) throws SAXException { if (interrupted || len < 1) { return; } ctx.appendChild(createText(c, off, len)); }
15,939
public void comment(char[] c, int off, int len) throws SAXException { if (interrupted) { return; } if (!inDTD) { Node comment = createComment(c, off, len); ctx.appendChild(comment); } }
public void comment(char[] c, int off, int len) throws SAXException { if (interrupted) { return; } if (!inDTD) { Node comment = createComment(c, off, len); ctx.appendChild(comment); } }
15,940
public void comment(char[] c, int off, int len) throws SAXException { if (interrupted) { return; } if (!inDTD) { Node comment = createComment(c, off, len); ctx.appendChild(comment); } }
public void comment(char[] c, int off, int len) throws SAXException { if (interrupted) { return; if (!inDTD) { Node comment = createComment(c, off, len); ctx.appendChild(comment); }
15,941
public void processingInstruction(String target, String data) throws SAXException { if (interrupted) { return; } if (!inDTD) { Node pi = createProcessingInstruction(target, data); ctx.appendChild(pi); } }
public void processingInstruction(String target, String data) throws SAXException { if (interrupted) { return; } if (!inDTD) { Node pi = createProcessingInstruction(target, data); ctx.appendChild(pi); } }
15,942
public void processingInstruction(String target, String data) throws SAXException { if (interrupted) { return; } if (!inDTD) { Node pi = createProcessingInstruction(target, data); ctx.appendChild(pi); } }
public void processingInstruction(String target, String data) throws SAXException { if (interrupted) { return; if (!inDTD) { Node pi = createProcessingInstruction(target, data); ctx.appendChild(pi); }
15,943
private static synchronized Calendar getCalendar() { if (cal == null) cal = Calendar.getInstance(); return cal; }
private static synchronized Calendar getCalendar() { if (cal == null) cal = Calendar.getInstance(); return cal; }
15,945
public String getComment() { return comment; }
public String getComment() { return comment; }
15,946
public long getCrc() { return (known & KNOWN_CRC) != 0 ? crc & 0xffffffffL : -1L; }
public long getCrc() { return (known & KNOWN_CRC) != 0 ? crc & 0xffffffffL : -1L; }
15,947
final int getDOSTime() { if ((known & KNOWN_TIME) == 0) return 0; else return dostime; }
final int getDOSTime() { if ((known & KNOWN_TIME) == 0) return 0; else return dostime; }
15,948
public byte[] getExtra() { return extra; }
public byte[] getExtra() { return extra; }
15,949
public long getSize() { return (known & KNOWN_SIZE) != 0 ? size & 0xffffffffL : -1L; }
public long getSize() { return (known & KNOWN_SIZE) != 0 ? size & 0xffffffffL : -1L; }
15,950
public long getTime() { if ((known & KNOWN_TIME) == 0) return -1; int sec = 2 * (dostime & 0x1f); int min = (dostime >> 5) & 0x3f; int hrs = (dostime >> 11) & 0x1f; int day = (dostime >> 16) & 0x1f; int mon = ((dostime >> 21) & 0xf) - 1; int year = ((dostime >> 25) & 0x7f) + 1980; /* since 1900 */ try { ca...
public long getTime() { if ((known & KNOWN_TIME) == 0) return -1; int sec = 2 * (dostime & 0x1f); int min = (dostime >> 5) & 0x3f; int hrs = (dostime >> 11) & 0x1f; int day = (dostime >> 16) & 0x1f; int mon = ((dostime >> 21) & 0xf) - 1; int year = ((dostime >> 25) & 0x7f) + 1980; /* since 1900 */ try { ca...
15,951
public long getTime() { if ((known & KNOWN_TIME) == 0) return -1; int sec = 2 * (dostime & 0x1f); int min = (dostime >> 5) & 0x3f; int hrs = (dostime >> 11) & 0x1f; int day = (dostime >> 16) & 0x1f; int mon = ((dostime >> 21) & 0xf) - 1; int year = ((dostime >> 25) & 0x7f) + 1980; /* since 1900 */ try { ca...
public long getTime() { if ((known & KNOWN_TIME) == 0) return -1; int sec = 2 * (dostime & 0x1f); int min = (dostime >> 5) & 0x3f; int hrs = (dostime >> 11) & 0x1f; int day = (dostime >> 16) & 0x1f; int mon = ((dostime >> 21) & 0xf) - 1; int year = ((dostime >> 25) & 0x7f) + 1980; /* since 1900 */ try { ca...
15,952
public long getTime() { if ((known & KNOWN_TIME) == 0) return -1; int sec = 2 * (dostime & 0x1f); int min = (dostime >> 5) & 0x3f; int hrs = (dostime >> 11) & 0x1f; int day = (dostime >> 16) & 0x1f; int mon = ((dostime >> 21) & 0xf) - 1; int year = ((dostime >> 25) & 0x7f) + 1980; /* since 1900 */ try { ca...
public long getTime() { if ((known & KNOWN_TIME) == 0) return -1; int sec = 2 * (dostime & 0x1f); int min = (dostime >> 5) & 0x3f; int hrs = (dostime >> 11) & 0x1f; int day = (dostime >> 16) & 0x1f; int mon = ((dostime >> 21) & 0xf) - 1; int year = ((dostime >> 25) & 0x7f) + 1980; /* since 1900 */ try { ca...
15,953
public long getTime() { if ((known & KNOWN_TIME) == 0) return -1; int sec = 2 * (dostime & 0x1f); int min = (dostime >> 5) & 0x3f; int hrs = (dostime >> 11) & 0x1f; int day = (dostime >> 16) & 0x1f; int mon = ((dostime >> 21) & 0xf) - 1; int year = ((dostime >> 25) & 0x7f) + 1980; /* since 1900 */ try { ca...
public long getTime() { if ((known & KNOWN_TIME) == 0) return -1; int sec = 2 * (dostime & 0x1f); int min = (dostime >> 5) & 0x3f; int hrs = (dostime >> 11) & 0x1f; int day = (dostime >> 16) & 0x1f; int mon = ((dostime >> 21) & 0xf) - 1; int year = ((dostime >> 25) & 0x7f) + 1980; /* since 1900 */ try { ca...
15,954
public int hashCode() { return name.hashCode(); }
public int hashCode() { return name.hashCode(); }
15,955
public boolean isDirectory() { int nlen = name.length(); return nlen > 0 && name.charAt(nlen - 1) == '/'; }
public boolean isDirectory() { int nlen = name.length(); return nlen > 0 && name.charAt(nlen - 1) == '/'; }
15,956
public void setTime(long time) { Calendar cal = getCalendar(); synchronized (cal) { cal.setTime(new Date(time * 1000L)); dostime = (cal.get(Calendar.YEAR) - 1980 & 0x7f) << 25 | (cal.get(Calendar.MONTH) + 1) << 21 | (cal.get(Calendar.DAY_OF_MONTH)) << 16 | (cal.get(Calendar.HOUR_OF_DAY)) << 11...
public void setTime(long time) { Calendar cal = getCalendar(); synchronized (cal) { cal.setTime(new Date(time * 1000L)); dostime = (cal.get(Calendar.YEAR) - 1980 & 0x7f) << 25 | (cal.get(Calendar.MONTH) + 1) << 21 | (cal.get(Calendar.DAY_OF_MONTH)) << 16 | (cal.get(Calendar.HOUR_OF_DAY)) << 11...
15,957
public void setTime(long time) { Calendar cal = getCalendar(); synchronized (cal) { cal.setTime(new Date(time * 1000L)); dostime = (cal.get(Calendar.YEAR) - 1980 & 0x7f) << 25 | (cal.get(Calendar.MONTH) + 1) << 21 | (cal.get(Calendar.DAY_OF_MONTH)) << 16 | (cal.get(Calendar.HOUR_OF_DAY)) << 11...
public void setTime(long time) { Calendar cal = getCalendar(); synchronized (cal) { cal.setTime(new Date(time * 1000L)); dostime = (cal.get(Calendar.YEAR) - 1980 & 0x7f) << 25 | (cal.get(Calendar.MONTH) + 1) << 21 | (cal.get(Calendar.DAY_OF_MONTH)) << 16 | (cal.get(Calendar.HOUR_OF_DAY)) << 11...
15,958
public void setTime(long time) { Calendar cal = getCalendar(); synchronized (cal) { cal.setTime(new Date(time * 1000L)); dostime = (cal.get(Calendar.YEAR) - 1980 & 0x7f) << 25 | (cal.get(Calendar.MONTH) + 1) << 21 | (cal.get(Calendar.DAY_OF_MONTH)) << 16 | (cal.get(Calendar.HOUR_OF_DAY)) << 11...
public void setTime(long time) { Calendar cal = getCalendar(); synchronized (cal) { cal.setTime(new Date(time * 1000L)); dostime = (cal.get(Calendar.YEAR) - 1980 & 0x7f) << 25 | (cal.get(Calendar.MONTH) + 1) << 21 | (cal.get(Calendar.DAY_OF_MONTH)) << 16 | (cal.get(Calendar.HOUR_OF_DAY)) << 11...
15,959
public String toString() { return name; }
public String toString() { return name; }
15,960
protected void restorePalette(VgaIO io) { if (palette != null) { final int size = Math.min(256, palette.getMapSize()); final byte[] r = new byte[size]; final byte[] g = new byte[size]; final byte[] b = new byte[size]; palette.getReds(r); palette.getGreens(g); palette.getBlues(b); //log.debug("Restore-...
protected void restorePalette(VgaIO io) { if (palette != null) { final int size = Math.min(256, palette.getMapSize()); final byte[] r = new byte[size]; final byte[] g = new byte[size]; final byte[] b = new byte[size]; palette.getReds(r); palette.getGreens(g); palette.getBlues(b); //log.debug("Restore-...
15,962
protected void savePalette(VgaIO io) { final int size = getPaletteSize(io); final byte[] r = new byte[size]; final byte[] g = new byte[size]; final byte[] b = new byte[size]; for (int i = size - 1; i >= 0; i--) { getPaletteEntry(io, i, r, g, b); } //log.debug("Save-Size:" + size + ", R=" + NumberUtils.hex(r))...
protected void savePalette(VgaIO io) { final int size = getPaletteSize(io); final byte[] r = new byte[size]; final byte[] g = new byte[size]; final byte[] b = new byte[size]; for (int i = size - 1; i >= 0; i--) { getPaletteEntry(io, i, r, g, b); } //log.debug("Save-Size:" + size + ", R=" + NumberUtils.hex(r))...
15,964
private void moveDividerTo(int locationIndex) { Insets insets = splitPane.getInsets(); switch (locationIndex) { case 1: splitPane.setDividerLocation(splitPane.getLastDividerLocation()); break; case 0: int top = (orientation == JSplitPane.HORIZONTAL_SPLIT) ? insets.left ...
void moveDividerTo(int locationIndex) { Insets insets = splitPane.getInsets(); switch (locationIndex) { case 1: splitPane.setDividerLocation(splitPane.getLastDividerLocation()); break; case 0: int top = (orientation == JSplitPane.HORIZONTAL_SPLIT) ? insets.left ...
15,965
public IndexedPropertyDescriptor(String name, Method getMethod, Method setMethod, Method getIndex, Method setIndex) throws IntrospectionException { super(name); if(getMethod != null && getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } if(getMethod != nul...
public IndexedPropertyDescriptor(String name, Method getMethod, Method setMethod, Method getIndex, Method setIndex) throws IntrospectionException { super(name); if(getMethod != null && getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } if(getMethod != nul...
15,966
public IndexedPropertyDescriptor(String name, Method getMethod, Method setMethod, Method getIndex, Method setIndex) throws IntrospectionException { super(name); if(getMethod != null && getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } if(getMethod != nul...
public IndexedPropertyDescriptor(String name, Method getMethod, Method setMethod, Method getIndex, Method setIndex) throws IntrospectionException { super(name); if(getMethod != null && getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } if(getMethod != nul...
15,967
public IndexedPropertyDescriptor(String name, Method getMethod, Method setMethod, Method getIndex, Method setIndex) throws IntrospectionException { super(name); if(getMethod != null && getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } if(getMethod != nul...
public IndexedPropertyDescriptor(String name, Method getMethod, Method setMethod, Method getIndex, Method setIndex) throws IntrospectionException { super(name); if(getMethod != null && getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } if(getMethod != nul...
15,968
public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { this(); // bind/listen socket bind(new InetSocketAddress(bindAddr, port), backlog); }
public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { this(); // bind/listen socket bind(new InetSocketAddress(bindAddr, port), backlog); }
15,969
public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { this(); // bind/listen socket bind(new InetSocketAddress(bindAddr, port), backlog); }
public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { if (impl == null) throw new NullPointerException("impl may not be null"); // bind/listen socket bind(new InetSocketAddress(bindAddr, port), backlog); }
15,970
public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { this(); // bind/listen socket bind(new InetSocketAddress(bindAddr, port), backlog); }
public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { this(); // bind/listen socket this.impl = impl; this.impl.create(true); }
15,971
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I...
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I...
15,972
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I...
private void parse(InputStream encoded) throws Exception DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) throw new IOExcep...
15,973
public final void update(byte[]data) throws SignatureException { if (state != UNINITIALIZED) engineUpdate(data, 0, data.length); else throw new SignatureException(); }
public final void update(byte b) throws SignatureException { if (state != UNINITIALIZED) engineUpdate(data, 0, data.length); else throw new SignatureException(); }
15,974
public final void update(byte[]data) throws SignatureException { if (state != UNINITIALIZED) engineUpdate(data, 0, data.length); else throw new SignatureException(); }
public final void update(byte[]data) throws SignatureException { if (state != UNINITIALIZED) engineUpdate(b); else throw new SignatureException(); }
15,975
public Set getCriticalExtensionOIDs();
public Set getCriticalExtensionOIDs();
15,976
public byte[] getExtensionValue(String oid);
public byte[] getExtensionValue(String oid);
15,977
public X500Principal(byte[] encoded) { try { name = new X500DistinguishedName(encoded); } catch (IOException ioe) { throw new IllegalArgumentException(ioe.toString()); } }
public X500Principal(String name) { try { name = new X500DistinguishedName(encoded); } catch (IOException ioe) { throw new IllegalArgumentException(ioe.toString()); } }
15,978
public X500Principal(byte[] encoded) { try { name = new X500DistinguishedName(encoded); } catch (IOException ioe) { throw new IllegalArgumentException(ioe.toString()); } }
public X500Principal(byte[] encoded) { try { name = new X500DistinguishedName(encoded); } catch (IOException ioe) { throw new IllegalArgumentException(ioe.toString()); } }
15,979
public Set getNonCriticalExtensionOIDs();
public Set getNonCriticalExtensionOIDs();
15,980
public boolean hasUnsupportedCriticalExtension();
public boolean hasUnsupportedCriticalExtension();
15,981
public static KeyFactory getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) {} throw new NoSuchAlgorit...
public static KeyFactory getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException e) { } throw new NoSuchAlgorithmEx...
15,982
public static AlgorithmParameters getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) {} throw new NoSu...
public static AlgorithmParameters getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException e) { } throw new NoSuchAl...
15,983
CollationElement(String char_seq, int primary, short secondary, short tertiary){ this.char_seq = char_seq; this.primary = primary; this.secondary = secondary; this.tertiary = tertiary;}
CollationElement(String char_seq, int primary, short secondary, short tertiary){ this.char_seq = char_seq; this.primary = primary; this.secondary = secondary; this.tertiary = tertiary;}
15,984
CollationElement(String char_seq, int primary, short secondary, short tertiary){ this.char_seq = char_seq; this.primary = primary; this.secondary = secondary; this.tertiary = tertiary;}
CollationElement(String char_seq, int primary, short secondary, short tertiary){ this.char_seq = char_seq; this.primary = primary; this.secondary = secondary; this.tertiary = tertiary;}
15,985
RuleBasedCollator(String rules) throws ParseException{ this.rules = rules; if (rules.equals("")) throw new IllegalArgumentException("Empty rule set"); Vector v = new Vector(); boolean ignore_chars = true; int primary_seq = 0; short secondary_seq = 0; short tertiary_seq = 0; StringBuffer sb = new StringBuffer...
RuleBasedCollator(String rules) throws ParseException{ this.rules = rules; if (rules.equals("")) throw new IllegalArgumentException("Empty rule set"); Vector v = new Vector(); boolean ignore_chars = true; int primary_seq = 0; short secondary_seq = 0; short tertiary_seq = 0; StringBuffer sb = new StringBuffer...
15,986
RuleBasedCollator(String rules) throws ParseException{ this.rules = rules; if (rules.equals("")) throw new IllegalArgumentException("Empty rule set"); Vector v = new Vector(); boolean ignore_chars = true; int primary_seq = 0; short secondary_seq = 0; short tertiary_seq = 0; StringBuffer sb = new StringBuffer...
RuleBasedCollator(String rules) throws ParseException{ this.rules = rules; if (rules.equals("")) throw new IllegalArgumentException("Empty rule set"); Vector v = new Vector(); boolean ignore_chars = true; int primary_seq = 0; short secondary_seq = 0; short tertiary_seq = 0; StringBuffer sb = new StringBuffer...
15,987
clone(){ return super.clone();}
clone(){ return super.clone();}
15,988
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
15,989
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
15,990
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
15,991
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
15,992
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
15,993
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
15,994
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
15,995
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
15,996
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
15,997
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
15,998
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
15,999
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
16,000
equals(Object obj){ if (obj == this) return(true); else return(false);}
equals(Object obj){ if (obj == this) return(true); else return(false);}
16,001
getCollationElementIterator(String str){ return(new CollationElementIterator(this, str));}
getCollationElementIterator(String str){ return(new CollationElementIterator(this, str));}
16,002
getCollationKey(String str){ CollationElementIterator cei = getCollationElementIterator(str); Vector vect = new Vector(25); int ord = cei.next(); while (ord != CollationElementIterator.NULLORDER) { switch (getStrength()) { case PRIMARY: ord = CollationElementIterator.primaryOrder...
getCollationKey(String str){ CollationElementIterator cei = getCollationElementIterator(str); Vector vect = new Vector(25); int ord = cei.next(); while (ord != CollationElementIterator.NULLORDER) { switch (getStrength()) { case PRIMARY: ord = CollationElementIterator.primaryOrder...
16,003
getCollationKey(String str){ CollationElementIterator cei = getCollationElementIterator(str); Vector vect = new Vector(25); int ord = cei.next(); while (ord != CollationElementIterator.NULLORDER) { switch (getStrength()) { case PRIMARY: ord = CollationElementIterator.primaryOrder...
getCollationKey(String str){ CollationElementIterator cei = getCollationElementIterator(str); Vector vect = new Vector(25); int ord = cei.next(); while (ord != CollationElementIterator.NULLORDER) { switch (getStrength()) { case PRIMARY: ord = CollationElementIterator.primaryOrder...
16,004
getCollationKey(String str){ CollationElementIterator cei = getCollationElementIterator(str); Vector vect = new Vector(25); int ord = cei.next(); while (ord != CollationElementIterator.NULLORDER) { switch (getStrength()) { case PRIMARY: ord = CollationElementIterator.primaryOrder...
getCollationKey(String str){ CollationElementIterator cei = getCollationElementIterator(str); Vector vect = new Vector(25); int ord = cei.next(); while (ord != CollationElementIterator.NULLORDER) { switch (getStrength()) { case PRIMARY: ord = CollationElementIterator.primaryOrder...
16,005
getCollationKey(String str){ CollationElementIterator cei = getCollationElementIterator(str); Vector vect = new Vector(25); int ord = cei.next(); while (ord != CollationElementIterator.NULLORDER) { switch (getStrength()) { case PRIMARY: ord = CollationElementIterator.primaryOrder...
getCollationKey(String str){ CollationElementIterator cei = getCollationElementIterator(str); Vector vect = new Vector(25); int ord = cei.next(); while (ord != CollationElementIterator.NULLORDER) { switch (getStrength()) { case PRIMARY: ord = CollationElementIterator.primaryOrder...
16,006
getCollationKey(String str){ CollationElementIterator cei = getCollationElementIterator(str); Vector vect = new Vector(25); int ord = cei.next(); while (ord != CollationElementIterator.NULLORDER) { switch (getStrength()) { case PRIMARY: ord = CollationElementIterator.primaryOrder...
getCollationKey(String str){ CollationElementIterator cei = getCollationElementIterator(str); Vector vect = new Vector(25); int ord = cei.next(); while (ord != CollationElementIterator.NULLORDER) { switch (getStrength()) { case PRIMARY: ord = CollationElementIterator.primaryOrder...
16,007
getRules(){ return(rules);}
getRules(){ return(rules);}
16,008
hashCode(){ return(System.identityHashCode(this));}
hashCode(){ return(System.identityHashCode(this));}
16,009
public static final int primaryOrder (int order){ // From the JDK 1.2 spec. return order >>> 16;}
public static final int primaryOrder (int order){ // From the JDK 1.2 spec. return order >>> 16;}
16,010
public static final int primaryOrder (int order){ // From the JDK 1.2 spec. return order >>> 16;}
public static final int primaryOrder (int order){ // From the JDK 1.2 spec. return order >>> 16;}
16,011
public static final short secondaryOrder (int order){ // From the JDK 1.2 spec. return (short) ((order >>> 8) & 255);}
public static final short secondaryOrder (int order){ // From the JDK 1.2 spec. return (short) ((order >>> 8) & 255);}
16,012
public static final short secondaryOrder (int order){ // From the JDK 1.2 spec. return (short) ((order >>> 8) & 255);}
public static final short secondaryOrder (int order){ // From the JDK 1.2 spec. return (short) ((order >>> 8) & 255);}
16,013
public static final short tertiaryOrder (int order){ // From the JDK 1.2 spec. return (short) (order & 255);}
public static final short tertiaryOrder (int order){ // From the JDK 1.2 spec. return (short) (order & 255);}
16,014
public static final short tertiaryOrder (int order){ // From the JDK 1.2 spec. return (short) (order & 255);}
public static final short tertiaryOrder (int order){ // From the JDK 1.2 spec. return (short) (order & 255);}
16,015
CollationElementIterator(RuleBasedCollator rbc, String str){ this.rbc = rbc; this.str = str;}
CollationElementIterator(RuleBasedCollator rbc, String str){ this.rbc = rbc; this.str = str;}
16,016
next(){ ++pos; if (pos >= str.length()) return(NULLORDER); String s = str.charAt(pos) + ""; return(rbc.getCollationElementValue(s));}
next(){ ++pos; if (pos >= str.length()) return(NULLORDER); String s = str.charAt(pos) + ""; return(rbc.getCollationElementValue(s));}
16,017
next(){ ++pos; if (pos >= str.length()) return(NULLORDER); String s = str.charAt(pos) + ""; return(rbc.getCollationElementValue(s));}
next(){ ++pos; if (pos >= str.length()) return(NULLORDER); String s = str.charAt(pos) + ""; return(rbc.getCollationElementValue(s));}
16,018
reset(){ pos = 0;}
reset(){ pos = 0;}
16,019
CollationKey(Collator collator, String str, byte[] key){ this.collator = collator; this.str = str; this.key = key;}
CollationKey(Collator collator, String str, byte[] key){ this.collator = collator; this.str = str; this.key = key;}
16,020
CollationKey(Collator collator, String str, byte[] key){ this.collator = collator; this.str = str; this.key = key;}
CollationKey(Collator collator, String str, byte[] key){ this.collator = collator; this.originalText = originalText; this.key = key;}
16,021
CollationKey(Collator collator, String str, byte[] key){ this.collator = collator; this.str = str; this.key = key;}
CollationKey(Collator collator, String str, byte[] key){ this.collator = collator; this.str = str; this.key = key;}
16,022
ActionMap createActionMap() { Action[] actions = textComponent.getActions(); ActionMap am = new ActionMapUIResource(); for (int i = 0; i < actions.length; ++i) { String name = (String) actions[i].getValue(Action.NAME); if (name != null) am.put(name, actions[i]); } return ...
private ActionMap createActionMap() { Action[] actions = textComponent.getActions(); ActionMap am = new ActionMapUIResource(); for (int i = 0; i < actions.length; ++i) { String name = (String) actions[i].getValue(Action.NAME); if (name != null) am.put(name, actions[i]); } ...
16,023
ActionMap createActionMap() { Action[] actions = textComponent.getActions(); ActionMap am = new ActionMapUIResource(); for (int i = 0; i < actions.length; ++i) { String name = (String) actions[i].getValue(Action.NAME); if (name != null) am.put(name, actions[i]); } return ...
ActionMap createActionMap() { Action[] actions = textComponent.getActions(); ActionMap am = new ActionMapUIResource(); for (int i = 0; i < actions.length; ++i) { String name = (String) actions[i].getValue(Action.NAME); if (name != null) am.put(name, actions[i]); } return ...
16,024
ActionMap createActionMap() { Action[] actions = textComponent.getActions(); ActionMap am = new ActionMapUIResource(); for (int i = 0; i < actions.length; ++i) { String name = (String) actions[i].getValue(Action.NAME); if (name != null) am.put(name, actions[i]); } return ...
ActionMap createActionMap() { Action[] actions = textComponent.getActions(); ActionMap am = new ActionMapUIResource(); for (int i = 0; i < actions.length; ++i) { String name = (String) actions[i].getValue(Action.NAME); if (name != null) am.put(name, actions[i]); } return ...
16,025
InputMap getInputMap(int condition) { String prefix = getPropertyPrefix(); switch (condition) { case JComponent.WHEN_IN_FOCUSED_WINDOW: // FIXME: is this the right string? nobody seems to use it. return (InputMap) UIManager.get(prefix + ".windowInputMap"); case JComponent.WHEN_ANC...
private InputMap getInputMap() { String prefix = getPropertyPrefix(); switch (condition) { case JComponent.WHEN_IN_FOCUSED_WINDOW: // FIXME: is this the right string? nobody seems to use it. return (InputMap) UIManager.get(prefix + ".windowInputMap"); case JComponent.WHEN_ANCESTOR...
16,027
InputMap getInputMap(int condition) { String prefix = getPropertyPrefix(); switch (condition) { case JComponent.WHEN_IN_FOCUSED_WINDOW: // FIXME: is this the right string? nobody seems to use it. return (InputMap) UIManager.get(prefix + ".windowInputMap"); case JComponent.WHEN_ANC...
InputMap getInputMap(int condition) { String prefix = getPropertyPrefix(); switch (condition) { case JComponent.WHEN_IN_FOCUSED_WINDOW: // FIXME: is this the right string? nobody seems to use it. return (InputMap) UIManager.get(prefix + ".windowInputMap"); case JComponent.WHEN_ANC...
16,028
protected void installKeyboardActions() { // This is only there for backwards compatibility. textComponent.setKeymap(createKeymap()); // load any bindings for the newer InputMap / ActionMap interface SwingUtilities.replaceUIInputMap(textComponent, JComponent.WHEN_FOCUSED, ...
protected void installKeyboardActions() { // This is only there for backwards compatibility. textComponent.setKeymap(createKeymap()); // load any bindings for the newer InputMap / ActionMap interface SwingUtilities.replaceUIInputMap(textComponent, JComponent.WHEN_FOCUSED, ...
16,029
public void repaint(Rectangle r) { repaint((long) 0, (int) r.getX(), (int) r.getY(), (int) r.getWidth(), (int) r.getHeight()); }
public void repaint(Rectangle r) { repaint((long) 0, (int) r.getX(), (int) r.getY(), (int) r.getWidth(), (int) r.getHeight()); }
16,030
public void repaint(Rectangle r) { repaint((long) 0, (int) r.getX(), (int) r.getY(), (int) r.getWidth(), (int) r.getHeight()); }
public void repaint(Rectangle r) { repaint((long) 0, (int) r.getX(), (int) r.getY(), (int) r.getWidth(), (int) r.getHeight()); }
16,031
public void execute( CommandLine cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { final Runtime rt = Runtime.getRuntime(); out.println("Memory size: " + rt.totalMemory()); out.println("Free memory: " + rt.freeMemory()); out.println("Starting gc..."); long start = System.curr...
public void execute( CommandLine cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { final Runtime rt = Runtime.getRuntime(); out.println("Memory size: " + rt.totalMemory()); out.println("Free memory: " + rt.freeMemory()); out.println("Starting gc..."); long start = System.curr...
16,032
public void execute( CommandLine cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { final Runtime rt = Runtime.getRuntime(); out.println("Memory size: " + rt.totalMemory()); out.println("Free memory: " + rt.freeMemory()); out.println("Starting gc..."); long start = System.curr...
public void execute( CommandLine cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { final Runtime rt = Runtime.getRuntime(); out.println("Memory size: " + rt.totalMemory()); out.println("Free memory: " + rt.freeMemory()); out.println("Starting gc..."); long start = System.curr...
16,033
protected AccessibleAbstractButton(AbstractButton component) { super(component); // TODO } // AccessibleAbstractButton()
protected AccessibleAbstractButton(AbstractButton component) { super(component); // TODO } // AccessibleAbstractButton()
16,034