private void assertCharacterValue(AttributeValue attr, char value) { Assert.IsInstanceOfType(attr.getValue(), typeof(PrimitiveObjectBlock)); PrimitiveObjectBlock pob = (PrimitiveObjectBlock)attr.getValue(); Assert.IsInstanceOfType(pob.getSimpleValue(), typeof(CharacterValue)); CharacterValue actual = (CharacterValue)pob.getSimpleValue(); Character expected = new Character(value); Assert.AreEqual(actual.getValue(), expected); }
/// <summary> /// Returns a shared instance of a KeyStroke, given a Character object and a /// set of modifiers. /// </summary> public KeyStroke getKeyStroke(Character @keyChar, int @modifiers) { return default(KeyStroke); }
static AboutResources_de() { ListResourceBundle.__\u003Cclinit\u003E(); object[][] objArray1 = new object[26][]; int index1 = 0; object[] objArray2 = new object[2]; int index2 = 0; string str1 = "about-frame.tab.about"; objArray2[index2] = (object) str1; int index3 = 1; string str2 = "Über"; objArray2[index3] = (object) str2; objArray1[index1] = objArray2; int index4 = 1; object[] objArray3 = new object[2]; int index5 = 0; string str3 = "about-frame.tab.system"; objArray3[index5] = (object) str3; int index6 = 1; string str4 = "System"; objArray3[index6] = (object) str4; objArray1[index4] = objArray3; int index7 = 2; object[] objArray4 = new object[2]; int index8 = 0; string str5 = "about-frame.tab.contributors"; objArray4[index8] = (object) str5; int index9 = 1; string str6 = "Entwickler"; objArray4[index9] = (object) str6; objArray1[index7] = objArray4; int index10 = 3; object[] objArray5 = new object[2]; int index11 = 0; string str7 = "about-frame.tab.licence"; objArray5[index11] = (object) str7; int index12 = 1; string str8 = "Lizenz"; objArray5[index12] = (object) str8; objArray1[index10] = objArray5; int index13 = 4; object[] objArray6 = new object[2]; int index14 = 0; string str9 = "about-frame.tab.libraries"; objArray6[index14] = (object) str9; int index15 = 1; string str10 = "Bibliotheken"; objArray6[index15] = (object) str10; objArray1[index13] = objArray6; int index16 = 5; object[] objArray7 = new object[2]; int index17 = 0; string str11 = "contributors-table.column.name"; objArray7[index17] = (object) str11; int index18 = 1; string str12 = "Name:"; objArray7[index18] = (object) str12; objArray1[index16] = objArray7; int index19 = 6; object[] objArray8 = new object[2]; int index20 = 0; string str13 = "contributors-table.column.contact"; objArray8[index20] = (object) str13; int index21 = 1; string str14 = "Kontakt:"; objArray8[index21] = (object) str14; objArray1[index19] = objArray8; int index22 = 7; object[] objArray9 = new object[2]; int index23 = 0; string str15 = "libraries-table.column.name"; objArray9[index23] = (object) str15; int index24 = 1; string str16 = "Name:"; objArray9[index24] = (object) str16; objArray1[index22] = objArray9; int index25 = 8; object[] objArray10 = new object[2]; int index26 = 0; string str17 = "libraries-table.column.version"; objArray10[index26] = (object) str17; int index27 = 1; string str18 = "Version:"; objArray10[index27] = (object) str18; objArray1[index25] = objArray10; int index28 = 9; object[] objArray11 = new object[2]; int index29 = 0; string str19 = "libraries-table.column.licence"; objArray11[index29] = (object) str19; int index30 = 1; string str20 = "Lizenz:"; objArray11[index30] = (object) str20; objArray1[index28] = objArray11; int index31 = 10; object[] objArray12 = new object[2]; int index32 = 0; string str21 = "libraries-table.column.info"; objArray12[index32] = (object) str21; int index33 = 1; string str22 = "Zus. Information:"; objArray12[index33] = (object) str22; objArray1[index31] = objArray12; int index34 = 11; object[] objArray13 = new object[2]; int index35 = 0; string str23 = "system-frame.title"; objArray13[index35] = (object) str23; int index36 = 1; string str24 = "Systemeigenschaften"; objArray13[index36] = (object) str24; objArray1[index34] = objArray13; int index37 = 12; object[] objArray14 = new object[2]; int index38 = 0; string str25 = "system-frame.button.close"; objArray14[index38] = (object) str25; int index39 = 1; string str26 = "Schließen"; objArray14[index39] = (object) str26; objArray1[index37] = objArray14; int index40 = 13; object[] objArray15 = new object[2]; int index41 = 0; string str27 = "system-frame.button.close.mnemonic"; objArray15[index41] = (object) str27; int index42 = 1; Character character1 = new Character('C'); objArray15[index42] = (object) character1; objArray1[index40] = objArray15; int index43 = 14; object[] objArray16 = new object[2]; int index44 = 0; string str28 = "system-frame.menu.file"; objArray16[index44] = (object) str28; int index45 = 1; string str29 = "Datei"; objArray16[index45] = (object) str29; objArray1[index43] = objArray16; int index46 = 15; object[] objArray17 = new object[2]; int index47 = 0; string str30 = "system-frame.menu.file.mnemonic"; objArray17[index47] = (object) str30; int index48 = 1; Character character2 = new Character('D'); objArray17[index48] = (object) character2; objArray1[index46] = objArray17; int index49 = 16; object[] objArray18 = new object[2]; int index50 = 0; string str31 = "system-frame.menu.file.close"; objArray18[index50] = (object) str31; int index51 = 1; string str32 = "Beenden"; objArray18[index51] = (object) str32; objArray1[index49] = objArray18; int index52 = 17; object[] objArray19 = new object[2]; int index53 = 0; string str33 = "system-frame.menu.file.close.mnemonic"; objArray19[index53] = (object) str33; int index54 = 1; Character character3 = new Character('B'); objArray19[index54] = (object) character3; objArray1[index52] = objArray19; int index55 = 18; object[] objArray20 = new object[2]; int index56 = 0; string str34 = "system-frame.menu.edit"; objArray20[index56] = (object) str34; int index57 = 1; string str35 = "Bearbeiten"; objArray20[index57] = (object) str35; objArray1[index55] = objArray20; int index58 = 19; object[] objArray21 = new object[2]; int index59 = 0; string str36 = "system-frame.menu.edit.mnemonic"; objArray21[index59] = (object) str36; int index60 = 1; Character character4 = new Character('B'); objArray21[index60] = (object) character4; objArray1[index58] = objArray21; int index61 = 20; object[] objArray22 = new object[2]; int index62 = 0; string str37 = "system-frame.menu.edit.copy"; objArray22[index62] = (object) str37; int index63 = 1; string str38 = "Kopieren"; objArray22[index63] = (object) str38; objArray1[index61] = objArray22; int index64 = 21; object[] objArray23 = new object[2]; int index65 = 0; string str39 = "system-frame.menu.edit.copy.mnemonic"; objArray23[index65] = (object) str39; int index66 = 1; Character character5 = new Character('K'); objArray23[index66] = (object) character5; objArray1[index64] = objArray23; int index67 = 22; object[] objArray24 = new object[2]; int index68 = 0; string str40 = "system-properties-table.column.name"; objArray24[index68] = (object) str40; int index69 = 1; string str41 = "Eigenschaft:"; objArray24[index69] = (object) str41; objArray1[index67] = objArray24; int index70 = 23; object[] objArray25 = new object[2]; int index71 = 0; string str42 = "system-properties-table.column.value"; objArray25[index71] = (object) str42; int index72 = 1; string str43 = "Wert:"; objArray25[index72] = (object) str43; objArray1[index70] = objArray25; int index73 = 24; object[] objArray26 = new object[2]; int index74 = 0; string str44 = "system-properties-panel.popup-menu.copy"; objArray26[index74] = (object) str44; int index75 = 1; string str45 = "Kopieren"; objArray26[index75] = (object) str45; objArray1[index73] = objArray26; int index76 = 25; object[] objArray27 = new object[2]; int index77 = 0; string str46 = "system-properties-panel.popup-menu.copy.accelerator"; objArray27[index77] = (object) str46; int index78 = 1; KeyStroke keyStroke = KeyStroke.getKeyStroke(67, 2); objArray27[index78] = (object) keyStroke; objArray1[index76] = objArray27; AboutResources_de.CONTENTS = objArray1; }
public static void set(object arrayObj, int index, object value) { if (arrayObj == null) { throw new java.lang.NullPointerException(); } Type type = arrayObj.GetType(); if (ReflectUtil.IsVector(type) && ClassLoaderWrapper.GetWrapperFromType(type.GetElementType()).IsPrimitive) { java.lang.Boolean booleanValue = value as java.lang.Boolean; if (booleanValue != null) { setBoolean(arrayObj, index, booleanValue.booleanValue()); return; } java.lang.Byte byteValue = value as java.lang.Byte; if (byteValue != null) { setByte(arrayObj, index, byteValue.byteValue()); return; } java.lang.Character charValue = value as java.lang.Character; if (charValue != null) { setChar(arrayObj, index, charValue.charValue()); return; } java.lang.Short shortValue = value as java.lang.Short; if (shortValue != null) { setShort(arrayObj, index, shortValue.shortValue()); return; } java.lang.Integer intValue = value as java.lang.Integer; if (intValue != null) { setInt(arrayObj, index, intValue.intValue()); return; } java.lang.Float floatValue = value as java.lang.Float; if (floatValue != null) { setFloat(arrayObj, index, floatValue.floatValue()); return; } java.lang.Long longValue = value as java.lang.Long; if (longValue != null) { setLong(arrayObj, index, longValue.longValue()); return; } java.lang.Double doubleValue = value as java.lang.Double; if (doubleValue != null) { setDouble(arrayObj, index, doubleValue.doubleValue()); return; } } try { CheckArray(arrayObj).SetValue(value, index); } catch (InvalidCastException) { throw new java.lang.IllegalArgumentException("argument type mismatch"); } catch (IndexOutOfRangeException) { throw new java.lang.ArrayIndexOutOfBoundsException(); } }
/// <summary> /// Compares two <code>Character</code> objects numerically. /// </summary> public int compareTo(Character @anotherCharacter) { return default(int); }
internal Script(Character.UnicodeScript script) : base((ch) => { return script == Character.UnicodeScript.of(ch); }) { this.script = script; }
internal Block(Character.UnicodeBlock block) : base((ch) => { return block == Character.UnicodeBlock.of(ch); }) { this.block = block; }
static AboutResources_fr() { ListResourceBundle.__\u003Cclinit\u003E(); object[][] objArray1 = new object[25][]; int index1 = 0; object[] objArray2 = new object[2]; int index2 = 0; string str1 = "about-frame.tab.about"; objArray2[index2] = (object) str1; int index3 = 1; string str2 = "A propos de"; objArray2[index3] = (object) str2; objArray1[index1] = objArray2; int index4 = 1; object[] objArray3 = new object[2]; int index5 = 0; string str3 = "about-frame.tab.system"; objArray3[index5] = (object) str3; int index6 = 1; string str4 = "Système"; objArray3[index6] = (object) str4; objArray1[index4] = objArray3; int index7 = 2; object[] objArray4 = new object[2]; int index8 = 0; string str5 = "about-frame.tab.contributors"; objArray4[index8] = (object) str5; int index9 = 1; string str6 = "Développeurs"; objArray4[index9] = (object) str6; objArray1[index7] = objArray4; int index10 = 3; object[] objArray5 = new object[2]; int index11 = 0; string str7 = "about-frame.tab.licence"; objArray5[index11] = (object) str7; int index12 = 1; string str8 = "Licence"; objArray5[index12] = (object) str8; objArray1[index10] = objArray5; int index13 = 4; object[] objArray6 = new object[2]; int index14 = 0; string str9 = "about-frame.tab.libraries"; objArray6[index14] = (object) str9; int index15 = 1; string str10 = "Bibliothèque"; objArray6[index15] = (object) str10; objArray1[index13] = objArray6; int index16 = 5; object[] objArray7 = new object[2]; int index17 = 0; string str11 = "contributors-table.column.name"; objArray7[index17] = (object) str11; int index18 = 1; string str12 = "Nom:"; objArray7[index18] = (object) str12; objArray1[index16] = objArray7; int index19 = 6; object[] objArray8 = new object[2]; int index20 = 0; string str13 = "contributors-table.column.contact"; objArray8[index20] = (object) str13; int index21 = 1; string str14 = "Contact:"; objArray8[index21] = (object) str14; objArray1[index19] = objArray8; int index22 = 7; object[] objArray9 = new object[2]; int index23 = 0; string str15 = "libraries-table.column.name"; objArray9[index23] = (object) str15; int index24 = 1; string str16 = "Nom:"; objArray9[index24] = (object) str16; objArray1[index22] = objArray9; int index25 = 8; object[] objArray10 = new object[2]; int index26 = 0; string str17 = "libraries-table.column.version"; objArray10[index26] = (object) str17; int index27 = 1; string str18 = "Version:"; objArray10[index27] = (object) str18; objArray1[index25] = objArray10; int index28 = 9; object[] objArray11 = new object[2]; int index29 = 0; string str19 = "libraries-table.column.licence"; objArray11[index29] = (object) str19; int index30 = 1; string str20 = "Licence:"; objArray11[index30] = (object) str20; objArray1[index28] = objArray11; int index31 = 10; object[] objArray12 = new object[2]; int index32 = 0; string str21 = "libraries-table.column.info"; objArray12[index32] = (object) str21; int index33 = 1; string str22 = "Autre Renseignement:"; objArray12[index33] = (object) str22; objArray1[index31] = objArray12; int index34 = 11; object[] objArray13 = new object[2]; int index35 = 0; string str23 = "system-frame.title"; objArray13[index35] = (object) str23; int index36 = 1; string str24 = "Propriétés du Système"; objArray13[index36] = (object) str24; objArray1[index34] = objArray13; int index37 = 12; object[] objArray14 = new object[2]; int index38 = 0; string str25 = "system-frame.button.close"; objArray14[index38] = (object) str25; int index39 = 1; string str26 = "Fermer"; objArray14[index39] = (object) str26; objArray1[index37] = objArray14; int index40 = 13; object[] objArray15 = new object[2]; int index41 = 0; string str27 = "system-frame.menu.file"; objArray15[index41] = (object) str27; int index42 = 1; string str28 = "Fichier"; objArray15[index42] = (object) str28; objArray1[index40] = objArray15; int index43 = 14; object[] objArray16 = new object[2]; int index44 = 0; string str29 = "system-frame.menu.file.mnemonic"; objArray16[index44] = (object) str29; int index45 = 1; Character character1 = new Character('F'); objArray16[index45] = (object) character1; objArray1[index43] = objArray16; int index46 = 15; object[] objArray17 = new object[2]; int index47 = 0; string str30 = "system-frame.menu.file.close"; objArray17[index47] = (object) str30; int index48 = 1; string str31 = "Fermer"; objArray17[index48] = (object) str31; objArray1[index46] = objArray17; int index49 = 16; object[] objArray18 = new object[2]; int index50 = 0; string str32 = "system-frame.menu.file.close.mnemonic"; objArray18[index50] = (object) str32; int index51 = 1; Character character2 = new Character('C'); objArray18[index51] = (object) character2; objArray1[index49] = objArray18; int index52 = 17; object[] objArray19 = new object[2]; int index53 = 0; string str33 = "system-frame.menu.edit"; objArray19[index53] = (object) str33; int index54 = 1; string str34 = "Edition"; objArray19[index54] = (object) str34; objArray1[index52] = objArray19; int index55 = 18; object[] objArray20 = new object[2]; int index56 = 0; string str35 = "system-frame.menu.edit.mnemonic"; objArray20[index56] = (object) str35; int index57 = 1; Character character3 = new Character('E'); objArray20[index57] = (object) character3; objArray1[index55] = objArray20; int index58 = 19; object[] objArray21 = new object[2]; int index59 = 0; string str36 = "system-frame.menu.edit.copy"; objArray21[index59] = (object) str36; int index60 = 1; string str37 = "Copier"; objArray21[index60] = (object) str37; objArray1[index58] = objArray21; int index61 = 20; object[] objArray22 = new object[2]; int index62 = 0; string str38 = "system-frame.menu.edit.copy.mnemonic"; objArray22[index62] = (object) str38; int index63 = 1; Character character4 = new Character('C'); objArray22[index63] = (object) character4; objArray1[index61] = objArray22; int index64 = 21; object[] objArray23 = new object[2]; int index65 = 0; string str39 = "system-properties-table.column.name"; objArray23[index65] = (object) str39; int index66 = 1; string str40 = "Nom de la Propriété:"; objArray23[index66] = (object) str40; objArray1[index64] = objArray23; int index67 = 22; object[] objArray24 = new object[2]; int index68 = 0; string str41 = "system-properties-table.column.value"; objArray24[index68] = (object) str41; int index69 = 1; string str42 = "Valeur:"; objArray24[index69] = (object) str42; objArray1[index67] = objArray24; int index70 = 23; object[] objArray25 = new object[2]; int index71 = 0; string str43 = "system-properties-panel.popup-menu.copy"; objArray25[index71] = (object) str43; int index72 = 1; string str44 = "Copier"; objArray25[index72] = (object) str44; objArray1[index70] = objArray25; int index73 = 24; object[] objArray26 = new object[2]; int index74 = 0; string str45 = "system-properties-panel.popup-menu.copy.accelerator"; objArray26[index74] = (object) str45; int index75 = 1; KeyStroke keyStroke = KeyStroke.getKeyStroke(67, 2); objArray26[index75] = (object) keyStroke; objArray1[index73] = objArray26; AboutResources_fr.CONTENTS = objArray1; }