Examples of Character

Unicode Character Representations

The char data type (and therefore the value that a Character object encapsulates) are based on the original Unicode specification, which defined characters as fixed-width 16-bit entities. The Unicode standard has since been changed to allow for characters whose representation requires more than 16 bits. The range of legal code points is now U+0000 to U+10FFFF, known as Unicode scalar value. (Refer to the definition of the U+n notation in the Unicode standard.)

The set of characters from U+0000 to U+FFFF is sometimes referred to as the Basic Multilingual Plane (BMP). Characters whose code points are greater than U+FFFF are called supplementary characters. The Java 2 platform uses the UTF-16 representation in char arrays and in the String and StringBuffer classes. In this representation, supplementary characters are represented as a pair of char values, the first from the high-surrogates range, (\uD800-\uDBFF), the second from the low-surrogates range (\uDC00-\uDFFF).

A char value, therefore, represents Basic Multilingual Plane (BMP) code points, including the surrogate code points, or code units of the UTF-16 encoding. An int value represents all Unicode code points, including supplementary code points. The lower (least significant) 21 bits of int are used to represent Unicode code points and the upper (most significant) 11 bits must be zero. Unless otherwise specified, the behavior with respect to supplementary characters and surrogate char values is as follows:

In the Java SE API documentation, Unicode code point is used for character values in the range between U+0000 and U+10FFFF, and Unicode code unit is used for 16-bit char values that are code units of the UTF-16 encoding. For more information on Unicode terminology, refer to the Unicode Glossary. @author Lee Boynton @author Guy Steele @author Akira Tanaka @since 1.0

  • javaEffect.characters.Character
    This class is a model to create a character with a race. @author Jack OUTRAN & Thibaut LOCQUET @version 0.1
  • lv.odylab.evemanage.domain.eve.Character
  • model.Character
  • net.cis.common.model.system.Character
    @author SchaeckerM Beinhaltet alle Daten eines Charakters.
  • org.apache.fop.area.inline.Character
    Single character inline area. This inline area holds a single character. @deprecated A TextArea with a single WordArea as its child should be used instead.
  • org.apache.fop.fo.flow.Character
    this class represents the flow object 'fo:character'. Its use is defined by the spec: "The fo:character flow object represents a character that is mapped to a glyph for presentation. It is an atomic unit to the formatter. When the result tree is interpreted as a tree of formatting objects, a character in the result tree is treated as if it were an empty element of type fo:character with a character attribute equal to the Unicode representation of the character. The semantics of an "auto" value for character properties, which is typically their initial value, are based on the Unicode codepoint. Overrides may be specified in an implementation-specific manner." (6.6.3)
  • org.drools.games.adventures.model.Character
  • org.foray.fotree.fo.obj.Character
    A "character" object in XSL-FO.
  • tyrelion.character.Character
    @author imladriel

  • Examples of lv.odylab.evemanage.domain.eve.Character

        }

        @Test
        public void testLaunchForDetach() {
            when(googleAppEngineServices.getQueue("default")).thenReturn(queue);
            Character character = new Character();
            character.setCharacterID(1L);
            character.setName("characterName");
            List<Blueprint> blueprints = new ArrayList<Blueprint>();
            Blueprint blueprint1 = new Blueprint();
            blueprint1.setId(2L);
            Blueprint blueprint2 = new Blueprint();
            blueprint2.setId(3L);
    View Full Code Here

    Examples of lv.odylab.evemanage.domain.eve.Character

        }

        @Test
        public void testLaunchForUpdate() {
            when(googleAppEngineServices.getQueue("default")).thenReturn(queue);
            Character character = new Character();
            character.setCharacterID(1L);
            character.setName("characterName");
            character.setCorporationID(2L);
            character.setCorporationName("corporationName");
            character.setCorporationTicker("corporationTicker");
            character.setAllianceID(3L);
            character.setAllianceName("allianceName");
            List<Blueprint> blueprints = new ArrayList<Blueprint>();
            Blueprint blueprint1 = new Blueprint();
            blueprint1.setId(4L);
            Blueprint blueprint2 = new Blueprint();
            blueprint2.setId(5L);
    View Full Code Here

    Examples of lv.odylab.evemanage.domain.eve.Character

        }

        @Test
        public void testLaunchForUpdate_NoCorporation() {
            when(googleAppEngineServices.getQueue("default")).thenReturn(queue);
            Character character = new Character();
            character.setCharacterID(1L);
            character.setName("characterName");
            List<Blueprint> blueprints = new ArrayList<Blueprint>();
            Blueprint blueprint1 = new Blueprint();
            blueprint1.setId(4L);
            Blueprint blueprint2 = new Blueprint();
            blueprint2.setId(5L);
    View Full Code Here

    Examples of lv.odylab.evemanage.domain.eve.Character

        }

        @Test
        public void testLaunchForUpdate_NoAlliance() {
            when(googleAppEngineServices.getQueue("default")).thenReturn(queue);
            Character character = new Character();
            character.setCharacterID(1L);
            character.setName("characterName");
            character.setCorporationID(2L);
            character.setCorporationName("corporationName");
            character.setCorporationTicker("corporationTicker");
            List<Blueprint> blueprints = new ArrayList<Blueprint>();
            Blueprint blueprint1 = new Blueprint();
            blueprint1.setId(4L);
            Blueprint blueprint2 = new Blueprint();
            blueprint2.setId(5L);
    View Full Code Here

    Examples of model.Character

     
      @Override
      public void actionPerformed(ActionEvent e) {
        //Should display all item to screen.
        //Player will click item from screen and then return the number of item.
        Character ally = map.getSelectedAlly();
        Character tradeToAlly = map.getTradeOrHealAlly();
        Trade trading = new Trade();
        trading.execute(ally, tradeToAlly);
      }
    View Full Code Here

    Examples of net.cis.common.model.system.Character

        }
      }

      public void delete(String command) {
        if (command.equalsIgnoreCase("ok")) {
          Character character2Delete = characterListBox.getFocusItem();
          characterListBox.removeItem(character2Delete);
          // TODO: und aus Datenbank entfernen
        }
        screen.findElementByName("panel.messagebox").hideWithoutEffect();
      }
    View Full Code Here

    Examples of org.apache.fop.area.inline.Character

            private class CharMaker extends AbstractMaker {

                public void endElement() {
                    String txt = content.toString();
                    Character ch = new Character(txt.charAt(0));
                    transferForeignObjects(lastAttributes, ch);
                    setAreaAttributes(lastAttributes, ch);
                    setTraits(lastAttributes, ch, SUBSET_COMMON);
                    setTraits(lastAttributes, ch, SUBSET_BOX);
                    setTraits(lastAttributes, ch, SUBSET_COLOR);
                    setTraits(lastAttributes, ch, SUBSET_FONT);
                    ch.setOffset(getAttributeAsInteger(lastAttributes, "offset", 0));
                    ch.setBaselineOffset(getAttributeAsInteger(lastAttributes, "baseline", 0));
                    Area parent = (Area)areaStack.peek();
                    parent.addChildArea(ch);
                }           
    View Full Code Here

    Examples of org.apache.fop.fo.flow.Character

            }
        }

        public static class CharacterLayoutManagerMaker extends Maker {
            public void make(FONode node, List lms) {
                Character foCharacter = (Character) node;
                if (foCharacter.getCharacter() != CharUtilities.CODE_EOT) {
                    lms.add(new CharacterLayoutManager(foCharacter));
                }
            }
    View Full Code Here

    Examples of org.apache.fop.fo.flow.Character

                    FOText text = (FOText) foNode;
                    text(text, text.ca, text.startIndex, text.endIndex);
                }
            } else if (foNode instanceof Character) {
                if (bStart) {
                    Character c = (Character) foNode;
                    character(c);
                }
            } else if (foNode instanceof PageNumber) {
                if (bStart) {
                    startPageNumber( (PageNumber) foNode);
    View Full Code Here

    Examples of org.drools.games.adventures.model.Character

            characterSelectCombo.setSelectedItem( characterMap.get("hero"));

            characterSelectCombo.addActionListener( new ActionListener() {
                public void actionPerformed(ActionEvent e) {

                    Character c = (Character) characterSelectCombo.getSelectedObjects()[0];
                    org.kie.api.runtime.rule.FactHandle fh = gameEngine.getKieSession().getFactHandle(session);
                    session.setCharacter(c);
                    gameEngine.getKieSession().update(fh, session);

                    cmd = new ArrayList();
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.