Search.setIndex({"docnames": ["Java4Python/backmatter", "Java4Python/commonmistakes", "Java4Python/conditionals", "Java4Python/definingclasses", "Java4Python/firstjavaprogram", "Java4Python/introduction", "Java4Python/javadatatypes", "Java4Python/loopsanditeration", "Java4Python/moredocumentation", "Java4Python/namingconventions", "Java4Python/preface", "Java4Python/toctree", "Java4Python/whylearnjava", "index"], "filenames": ["Java4Python/backmatter.rst", "Java4Python/commonmistakes.rst", "Java4Python/conditionals.rst", "Java4Python/definingclasses.rst", "Java4Python/firstjavaprogram.rst", "Java4Python/introduction.rst", "Java4Python/javadatatypes.rst", "Java4Python/loopsanditeration.rst", "Java4Python/moredocumentation.rst", "Java4Python/namingconventions.rst", "Java4Python/preface.rst", "Java4Python/toctree.rst", "Java4Python/whylearnjava.rst", "index.rst"], "titles": ["Colophon", "Common Mistakes", "Conditionals", "Defining Classes in Java", "Lets look at a Java Program", "Introduction", "Java Data Types", "Loops and Iteration", "Java Documentation", "Naming Conventions", "Preface", "Java for Python Programmers", "Why Learn another programming Language?", "Welcome to Java for Python Programmers"], "terms": {"i": [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12], "start": [0, 3, 4, 5, 6, 7, 9, 10, 12], "write": [0, 2, 4, 6, 7, 11, 12], "thi": [0, 2, 3, 4, 5, 6, 7, 8, 10, 12], "articl": [0, 10], "2006": 0, "us": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "python": [0, 2, 3, 4, 5, 6, 7, 10, 12], "": [0, 1, 3, 4, 6, 7, 10, 12], "restructur": 0, "text": [0, 6], "In": [0, 2, 3, 4, 6, 7, 8, 10, 12], "2007": 0, "switch": [0, 11], "markdown": 0, "sinc": [0, 2, 3, 4, 6], "everyth": [0, 4, 6], "els": [0, 3, 4, 11], "wa": [0, 2, 6], "particular": [0, 3], "variant": 0, "excel": 0, "pandoc": 0, "program": [0, 2, 3, 5, 6, 10, 11, 13], "doe": [0, 2, 3, 4, 6, 10], "an": [0, 2, 3, 4, 6, 7, 9, 10, 11, 12], "job": [0, 4, 6, 8], "convert": [0, 3, 6], "html": 0, "latex": 0, "pdf": 0, "other": [0, 3, 4, 6, 12], "format": [0, 3, 8], "The": [0, 2, 4, 6, 7, 8], "sourc": [0, 4, 6, 8], "avail": [0, 6, 8, 10], "here": [0, 1, 2, 3, 6, 8], "final": [0, 3, 4, 6], "document": [0, 3, 6, 11, 13], "becam": [0, 6], "so": [0, 3, 4, 6, 7, 12], "big": [0, 3, 4, 6], "prepar": [0, 12], "version": [0, 3, 4, 5, 6], "htlatex": 0, "gener": [0, 3, 5, 6, 8, 12], "onlin": [0, 8], "If": [0, 2, 3, 4, 6, 7, 8, 10, 12], "you": [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12], "got": 0, "far": 0, "would": [0, 2, 3, 4, 6, 7, 10], "also": [0, 2, 3, 4, 6, 7], "like": [0, 2, 3, 4, 5, 6, 12], "space": [0, 3], "two": [0, 1, 3, 4, 6, 8, 10], "book": [0, 3, 5, 6, 10], "At": 0, "luther": [0, 10], "colleg": 0, "we": [0, 2, 3, 4, 5, 6, 7, 10, 12], "cs1": 0, "cs2": 0, "when": [0, 1, 3, 4, 6, 12], "decid": [0, 3, 6, 12], "make": [0, 3, 4, 6, 10, 12], "introduc": [0, 6], "c": [0, 3, 6, 7, 11], "want": [0, 3, 4, 6, 7], "provid": [0, 3, 6, 7, 8], "our": [0, 3, 4, 5, 6], "student": [0, 3, 10], "semest": [0, 10, 12], "reason": [0, 3, 6, 12], "after": 0, "one": [0, 3, 4, 6, 7, 10, 12], "ar": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12], "just": [0, 3, 4, 5, 6, 7, 12], "get": [0, 2, 3, 4, 5, 6, 7, 8, 12], "comfort": 0, "languag": [0, 3, 4, 5, 6, 10, 11, 13], "sens": [0, 12], "push": 0, "them": [0, 3, 4, 6, 12], "brand": 0, "new": [0, 3, 4, 5, 6, 7, 11, 12], "thei": [0, 3, 6], "some": [0, 3, 4, 6, 7, 8, 9, 12], "second": [0, 2, 3, 4, 6, 12], "realli": [0, 1, 3, 6, 7], "great": [0, 6], "teach": [0, 10], "data": [0, 1, 3, 5, 11, 13], "structur": [0, 6], "algorithm": 0, "evid": 0, "clear": [0, 3, 4, 12], "awai": [0, 2, 4], "all": [0, 2, 3, 4, 6, 7, 8, 9, 12], "syntact": 0, "clutter": 0, "david": 0, "ranum": 0, "wrote": [0, 4], "call": [0, 1, 3, 4, 6, 7, 12], "problem": [0, 1, 3, 6], "solv": [0, 3], "finish": 0, "own": [0, 3, 4, 10, 12], "well": 0, "fall": [0, 8], "2008": [0, 10], "class": [0, 4, 5, 6, 8, 9, 10, 11, 12, 13], "from": [0, 2, 3, 4, 6, 8, 12], "jone": 0, "bartlett": 0, "publish": [0, 10], "tent": 0, "titl": 0, "context": 0, "pleas": [0, 5, 10], "feel": [0, 10], "free": [0, 10], "contact": 0, "me": 0, "more": [0, 3, 4, 6, 12], "inform": [0, 3, 8, 12], "histo": [1, 6], "java": [1, 2, 5, 7, 9, 10], "21": [1, 7], "cannot": [1, 3, 6], "find": [1, 3, 4, 6, 10], "symbol": [1, 6], "count": [1, 6, 7], "locat": [1, 4, 6], "arraylist": [1, 6, 7], "integ": [1, 2, 3, 4, 6, 7], "10": [1, 3, 6, 7], "9": [1, 2, 6], "scanner": [1, 9], "null": 1, "exampl": [1, 2, 3, 4, 6, 7, 8, 9, 10, 12], "error": [1, 3, 4, 6, 12], "messag": [1, 6], "occur": [1, 6], "notic": [1, 3, 4, 6], "pretti": 1, "unhelp": 1, "think": [1, 3, 4, 6, 7, 10, 12], "try": [1, 3, 4, 6, 12], "method": [1, 4, 6, 8, 9, 11, 12], "first": [1, 2, 3, 4, 6, 12], "constructor": [1, 6, 8, 11], "14": [1, 6, 12], "io": 1, "file": [1, 4, 6], "test": [1, 2, 3, 6], "dat": [1, 6], "19": [1, 4], "expect": [1, 12], "system": [1, 4, 6, 7, 9], "exit": [1, 4, 6], "0": [1, 2, 3, 6, 7, 10], "note": [1, 5, 6], "uncheck": [1, 6], "unsaf": [1, 6], "oper": [1, 3, 6, 11, 12], "recompil": [1, 6], "xlint": [1, 6], "detail": [1, 6, 8], "statement": [2, 3, 4, 6], "veri": [2, 3, 4, 5, 6, 7, 9, 12], "similar": [2, 4, 6, 7], "have": [2, 3, 4, 5, 6, 7, 10, 12], "three": [2, 6, 7], "pattern": [2, 6], "statement1": [2, 7], "statement2": [2, 7], "same": [2, 3, 4, 6, 7, 8, 12], "simpli": [2, 3, 4, 6], "written": [2, 4, 7, 10], "onc": [2, 3, 4, 5, 6], "again": [2, 6], "can": [2, 3, 4, 6, 7, 12], "see": [2, 3, 4, 5, 6, 8, 10, 12], "curli": [2, 4, 7], "brace": [2, 4, 7], "defin": [2, 4, 6, 11, 13], "block": [2, 4, 6], "rather": [2, 3, 6, 7], "than": [2, 3, 6, 7, 12], "indent": [2, 4], "parenthesi": [2, 6, 7], "around": [2, 4], "requir": [2, 3, 4, 6], "becaus": [2, 3, 4, 6, 7], "technic": [2, 6], "function": [2, 3, 4, 6, 7, 12], "evalu": [2, 4, 6, 7], "true": [2, 3, 6], "fals": [2, 3, 6], "nest": 2, "both": [2, 3, 4, 5, 6, 7], "coupl": [2, 3, 4, 7], "wai": [2, 3, 4, 6, 7, 8, 10], "even": [2, 3, 4, 6, 12], "closer": [2, 4], "take": [2, 3, 4], "advantag": [2, 12], "rule": [2, 4, 6], "singl": [2, 3, 4], "need": [2, 3, 4, 6, 12], "enclos": 2, "onli": [2, 3, 4, 6], "each": [2, 3, 6, 7, 12], "follow": [2, 3, 4, 6, 7], "support": [2, 3, 6, 7, 12], "act": 2, "someth": [2, 3, 4, 6], "under": [2, 10], "certain": [2, 3, 6, 12], "To": [2, 3, 4, 6, 7], "grade": 2, "often": 2, "recommend": [2, 4], "do": [2, 3, 4, 6, 7, 8, 10, 12], "power": [2, 3, 5, 12], "model": [2, 12], "variabl": [2, 4, 7, 8, 9, 11, 12], "compar": [2, 3], "equal": [2, 3, 6], "enumer": 2, "constant": [2, 9], "easi": [2, 4, 6, 12], "forget": [2, 6, 11, 12], "put": [2, 3, 6], "break": 2, "left": [2, 4, 6], "out": [2, 4, 6, 7], "next": [2, 3, 4, 5, 6], "altern": [2, 3], "automat": [2, 3, 12], "execut": [2, 4, 6, 7], "For": [2, 3, 4, 6, 7, 9, 12], "95": 2, "omit": [2, 4], "case": [2, 3, 4, 6, 9], "print": [2, 3, 4, 6, 7], "A": [2, 3, 4, 6, 8, 12], "b": [2, 3], "comparison": [2, 3], "compound": 2, "express": [2, 6], "truevalu": 2, "falsevalu": 2, "part": [2, 3, 4, 6, 10], "assign": [2, 3, 4, 6, 7], "2": [2, 3, 6, 7], "3": [2, 6, 7, 10], "x": [2, 3, 6, 12], "1": [2, 3, 4, 6, 7, 12], "previou": [2, 6], "check": [2, 3], "valu": [2, 3, 4, 6, 7], "Of": [2, 3], "cours": [2, 3, 6, 10, 12], "could": [2, 3, 4, 6, 12], "been": [2, 3], "accomplish": [2, 3], "regular": 2, "sometim": [2, 12], "conveni": 2, "too": [2, 4, 6, 7], "much": [2, 3, 4, 6], "resist": 2, "alreadi": [3, 5, 6, 7], "seen": [3, 6, 7], "how": [3, 4, 5, 6, 12], "It": [3, 6, 12], "unavoid": 3, "simplest": 3, "section": [3, 4, 6, 7], "look": [3, 5, 6, 8, 11, 13], "creat": [3, 4, 6, 11, 12], "type": [3, 4, 5, 11, 13], "let": [3, 6, 11, 13], "extend": 3, "set": [3, 6, 12], "numer": [3, 11], "given": 3, "denomin": 3, "should": [3, 4, 6], "simplifi": 3, "ad": 3, "subtract": 3, "multipli": 3, "divid": 3, "togeth": [3, 6], "list": [3, 4, 7, 8, 11], "sortabl": 3, "default": 3, "sort": 3, "mostli": 3, "complet": [3, 4], "refer": [3, 6, 7, 10, 12], "throughout": 3, "instanc": [3, 4, 8, 9], "add": [3, 4, 7], "ani": [3, 4, 6, 7, 8, 10], "time": [3, 4, 6, 7, 12], "objectrefer": 3, "variablenam": 3, "wherea": [3, 12], "must": [3, 4, 6, 12], "declar": [3, 4, 11], "up": [3, 6], "front": 3, "come": [3, 6], "begin": [3, 5, 6, 7, 12], "definit": [3, 4, 11], "end": [3, 4, 6, 7], "cai": [3, 10], "horstman": [3, 10], "author": 3, "core": [3, 4, 6, 10], "befor": [3, 4, 6], "code": [3, 4, 6, 8, 12], "With": [3, 4], "mind": 3, "public": [3, 4], "privat": [3, 4], "mean": [3, 4, 6, 12], "compil": [3, 4, 6, 12], "anoth": [3, 6, 11, 13], "tri": [3, 6], "f": 3, "y": [3, 6], "direct": 3, "access": [3, 6], "allow": [3, 6], "therefor": 3, "legitim": 3, "abl": 3, "getter": 3, "common": [3, 4, 5, 6, 10, 11, 12, 13], "practic": [3, 4, 6, 12], "setter": 3, "getnumer": 3, "return": [3, 4, 6], "void": [3, 4], "setnumer": 3, "getdenomin": 3, "setdenomin": 3, "identifi": [3, 4, 6], "your": [3, 4, 6, 10, 11], "thing": [3, 4, 6, 12], "consid": [3, 4, 12], "name": [3, 4, 6, 8, 11, 13], "without": [3, 6, 8, 12], "ha": [3, 4, 6, 9, 12], "paramet": [3, 4, 6], "top": 3, "bottom": 3, "num": 3, "den": 3, "There": [3, 4, 6, 12], "import": [3, 4, 11, 12], "self": [3, 4], "prefix": 3, "work": [3, 5, 6, 10, 12], "dereferenc": 3, "current": [3, 6], "special": [3, 4], "typic": [3, 4, 6, 8, 12], "differenti": 3, "between": [3, 4, 6, 10], "local": 3, "now": [3, 4, 6], "major": 3, "differ": [3, 4, 6, 7, 10, 12], "addit": [3, 6, 7, 10], "effect": 3, "redefin": 3, "standard": [3, 4, 12], "behav": [3, 6], "__add__": 3, "__lt__": 3, "chang": [3, 6, 10, 12], "behavior": [3, 12], "respect": 3, "littl": [3, 4, 6], "point": [3, 4, 5, 6, 7], "terminologi": [3, 6], "def": [3, 4], "outsid": 3, "insid": [3, 4, 6, 7], "those": [3, 10, 12], "background": [3, 4], "might": [3, 6, 12], "otherfrac": 3, "newnum": 3, "newden": 3, "gcd": 3, "mai": [3, 4, 6, 10, 12], "its": [3, 6, 7, 8], "result": [3, 6], "necessari": [3, 6], "ambigu": 3, "about": [3, 4, 6, 8, 10, 12], "equival": [3, 4, 6, 12], "place": [3, 12], "opposit": 3, "procedur": 3, "ensur": [3, 7], "approach": 3, "comput": [3, 4, 10, 12], "greatest": 3, "divisor": 3, "line": [3, 4, 6], "6": [3, 6], "match": [3, 6], "specifi": 3, "8": [3, 6, 7], "specif": [3, 6], "project": [3, 10, 12], "said": [3, 6], "isinst": 3, "runtim": 3, "recal": [3, 7], "int": [3, 6, 7], "indic": [3, 4, 6], "inde": [3, 4], "tofract": 3, "fulfil": 3, "u": [3, 4, 5, 6], "pass": [3, 4, 6], "legal": [3, 4], "idea": 3, "rais": 3, "known": [3, 6], "includ": [3, 4, 6, 12], "enough": [3, 6], "which": [3, 4, 6, 12], "receiv": 3, "construct": [3, 5, 6, 8], "task": 3, "eleg": 3, "util": [3, 6], "ahead": 3, "decis": 3, "run": [3, 4, 5, 6], "what": [3, 4, 5, 6, 8, 10, 12], "happen": [3, 6], "ran": 3, "abov": [3, 6], "probabl": [3, 4, 6], "output": [3, 4], "satisfi": 3, "chanc": [3, 4], "6ff3c5b5": 3, "yet": 3, "friendli": [3, 8], "string": [3, 4, 7, 11, 12], "represent": 3, "whenev": [3, 6], "println": [3, 4, 6, 7], "control": [3, 7], "__str__": 3, "tostr": 3, "everi": [3, 4], "clone": 3, "getclass": 3, "hashcod": 3, "notifi": 3, "notifyal": 3, "wait": 3, "interest": [3, 12], "most": [3, 5, 6, 12], "mani": [3, 4, 6, 10, 12], "programm": [3, 6, 7, 8, 10], "live": 3, "happi": [3, 4], "product": 3, "know": [3, 4, 6, 8, 10, 12], "howev": [3, 4, 6, 12], "nicer": 3, "simpl": [3, 4, 5, 6, 11], "below": [3, 6], "exactli": [3, 6, 8], "occupi": 3, "exact": [3, 6], "memori": [3, 6, 12], "rememb": [3, 4, 12], "directli": [3, 4, 6, 8], "object1": 3, "object2": 3, "NOT": 3, "boolean": [3, 6, 11], "num1": 3, "num2": 3, "One": [3, 4, 6], "notion": 3, "less": 3, "greater": 3, "ll": [3, 6], "shortli": [3, 4], "doubl": [3, 6], "modif": [3, 10], "plug": [3, 11], "hierarchi": [3, 8], "sibl": 3, "parent": [3, 6, 8], "number": [3, 4, 6], "sever": [3, 4, 6, 12], "children": 3, "placehold": 3, "trace": 3, "back": [3, 4, 6], "strong": 3, "natur": 3, "child": 3, "keyword": [3, 11], "tell": [3, 4, 6], "alwai": [3, 6, 9, 12], "go": [3, 4, 6, 12], "longvalu": 3, "intvalu": 3, "floatvalu": 3, "doublevalu": 3, "isn": 3, "t": [3, 4, 6, 7, 8], "convers": 3, "divis": 3, "float": [3, 6], "long": [3, 6], "By": 3, "user": [3, 5, 6, 8], "accept": [3, 4], "subclass": 3, "relationship": 3, "kind": [3, 4, 6, 11, 12], "sure": [3, 6], "suppos": [3, 6], "give": [3, 6, 7, 12], "still": [3, 6, 10], "turn": [3, 4], "attent": 3, "collect": [3, 5, 6, 12], "__cmp__": 3, "But": [3, 12], "thought": 3, "superclass": 3, "actual": [3, 6], "although": [3, 12], "possibl": [3, 6, 12], "layer": 3, "complic": [3, 4, 12], "dramat": 3, "gpa": 3, "person": 3, "answer": [3, 6], "mechan": [3, 6], "combin": [3, 6], "contract": 3, "roll": 3, "sai": [3, 4, 6], "claim": 3, "sound": 3, "bit": [3, 4, 6, 7], "never": 3, "compareto": 3, "excerpt": 3, "offici": 3, "o": 3, "order": [3, 4, 6, 10], "neg": 3, "zero": 3, "posit": [3, 6], "implementor": 3, "sgn": 3, "impli": 3, "throw": 3, "except": [3, 6, 7], "iff": 3, "modifi": [3, 10], "keep": [3, 4, 6], "track": 3, "had": [3, 6, 10], "global": 3, "counter": [3, 6], "ugli": [3, 6], "solut": 3, "right": [3, 4], "discuss": [3, 6], "main": [3, 4, 5, 6], "calcul": 3, "gdc": 3, "furthermor": 3, "purpos": [3, 6, 10], "m": 3, "n": 3, "while": [3, 6, 7, 8], "oldm": 3, "oldn": 3, "featur": [3, 5, 12], "honor": 4, "tradit": 4, "scienc": [4, 10, 12], "hello": [4, 6, 7, 9], "world": [4, 6, 7], "logic": [4, 6], "reli": 4, "understand": [4, 6, 12], "syntax": [4, 6, 7, 12], "command": [4, 6], "few": 4, "lot": [4, 12], "stuff": 4, "edg": 4, "harder": [4, 6], "worri": 4, "skill": 4, "scientist": 4, "learn": [4, 10, 11, 13], "ignor": 4, "carefulli": 4, "soon": 4, "element": [4, 6], "fade": 4, "becom": [4, 6], "help": [4, 10], "convent": [4, 11, 13], "question": [4, 6], "interpret": [4, 6], "were": [4, 6], "quit": [4, 6], "step": [4, 7], "process": [4, 6], "save": 4, "javac": [4, 6], "l": [4, 7], "rw": 4, "r": 4, "bmiller": [4, 10], "391": 4, "jul": 4, "17": 4, "47": 4, "117": 4, "46": 4, "byte": 4, "binari": [4, 6], "won": 4, "examin": [4, 10], "editor": 4, "hopefulli": 4, "didn": 4, "mistak": [4, 6, 11, 13], "did": 4, "consult": 4, "hint": [4, 6], "wonder": [4, 6], "good": [4, 8, 10, 12], "extra": 4, "benefit": [4, 6], "earli": 4, "detect": 4, "faster": 4, "virtual": 4, "machin": 4, "jvm": 4, "nativ": [4, 12], "translat": 4, "typo": 4, "ever": [4, 6], "illustr": [4, 6], "static": [4, 6, 11], "arg": 4, "appli": 4, "On": [4, 6], "As": [4, 6, 12], "resid": 4, "unlik": [4, 6], "where": [4, 6, 7, 8, 12], "bunch": 4, "pair": [4, 6], "my": [4, 10], "done": [4, 6, 12], "enforc": 4, "signific": 4, "identif": 4, "fact": [4, 6, 7, 10], "treat": 4, "dig": 4, "deep": 4, "deepli": 4, "reveal": 4, "better": [4, 12], "understood": 4, "through": [4, 6], "patient": 4, "word": [4, 6], "anyon": 4, "level": [4, 6], "secur": 4, "protect": [4, 12], "object": [4, 6, 11, 12], "parameter1": 4, "modul": [4, 6, 13], "don": [4, 6, 8], "math": [4, 6, 9], "contain": [4, 6, 8, 11], "sin": 4, "co": 4, "etc": [4, 12], "90": 4, "60": 4, "roughli": 4, "analog": [4, 7], "proper": 4, "letter": [4, 9], "_": 4, "arrai": [4, 7, 11], "moment": 4, "being": [4, 6, 12], "somewher": 4, "flag": [4, 6], "That": [4, 6], "materi": 4, "digest": 4, "press": 4, "familiar": [4, 5, 6], "dot": 4, "notat": [4, 6], "within": 4, "stream": [4, 6], "newlin": 4, "charact": [4, 6, 7], "anywher": 4, "signifi": 4, "spread": 4, "across": 4, "reach": 4, "encount": 4, "semicolon": [4, 11], "whitespac": [4, 6], "meaning": 4, "contrast": 4, "encourag": [4, 8, 10], "last": [4, 6, 7], "close": [4, 6, 8], "outer": 4, "inner": 4, "staticmethod": 4, "decor": 4, "impact": [4, 12], "session": 4, "assum": [5, 6], "journei": 5, "loop": [5, 6, 11, 12, 13], "read": [5, 6, 8], "input": 5, "condit": [5, 6, 7, 11, 12, 13], "basic": [5, 6], "behind": [5, 6], "move": 5, "uniqu": [5, 12], "interfac": [5, 8, 11], "graphic": 5, "progress": 5, "continu": [5, 6], "updat": 5, "post": 5, "primit": [6, 7], "non": 6, "fast": 6, "difficult": [6, 12], "eventu": 6, "objectifi": 6, "char": [6, 7], "older": 6, "respons": 6, "forth": 6, "box": 6, "revers": 6, "unbox": 6, "5": [6, 7], "smart": 6, "autobox": 6, "fahrenheit": 6, "temperatur": 6, "celsiu": 6, "enter": 6, "prompt": 6, "javascript": 6, "pop": 6, "artifact": 6, "digit": 6, "textbook": 6, "concept": 6, "subject": 6, "exist": 6, "full": [6, 11], "directori": 6, "ship": 6, "classpath": 6, "environ": 6, "jar": 6, "xxx": 6, "scene": 6, "hierarch": 6, "packag": 6, "talk": 6, "later": [6, 12], "loader": 6, "load": 6, "shorten": 6, "experi": 6, "yourself": [6, 10], "remov": 6, "rest": 6, "dynam": [6, 12], "figur": 6, "associ": 6, "determin": 6, "made": 6, "7": 6, "fahr": 6, "cel": 6, "xyz": 6, "forgot": 6, "instead": 6, "blank": 6, "tempconv": 6, "13": [6, 7], "32": 6, "side": 6, "sign": 6, "usual": 6, "initi": 6, "over": [6, 7, 12], "network": 6, "rel": 6, "ask": 6, "why": [6, 11, 13], "alon": 6, "depth": 6, "adapt": 6, "low": 6, "easier": [6, 7, 12], "11": 6, "implic": 6, "strongli": 6, "nextdoubl": 6, "guarante": 6, "statment": 6, "wrong": 6, "tabl": 6, "show": 6, "commonli": 6, "chapter": 6, "descript": 6, "hasnext": 6, "present": 6, "hasnextint": 6, "hasnextfloat": 6, "hasnextdoubl": 6, "nextint": [6, 9], "nextfloat": 6, "immut": 6, "manipul": 6, "obviou": 6, "index": [6, 13], "slice": 6, "pull": 6, "substr": 6, "overload": [6, 12], "map": 6, "counterpart": 6, "shown": 6, "str": 6, "charat": 6, "3rd": 6, "4": [6, 12], "2nd": 6, "4th": 6, "len": 6, "length": 6, "indexof": 6, "occurr": 6, "split": 6, "concat": 6, "concaten": 6, "strip": 6, "trim": 6, "produc": 6, "histogram": 6, "frequenc": 6, "review": 6, "open": 6, "third": [6, 12], "increment": 6, "iter": [6, 11, 13], "total": 6, "store": 6, "repeatedli": 6, "until": 6, "form": 6, "rang": [6, 7], "member": [6, 11], "further": 6, "suggest": 6, "idx": 6, "twist": 6, "anyth": 6, "leav": 6, "off": 6, "warn": 6, "resort": 6, "cast": 6, "20": 6, "mainli": 6, "forc": [6, 12], "reckon": 6, "attempt": [6, 10], "catch": 6, "riski": 6, "gracefulli": 6, "recov": 6, "e": [6, 12], "thrown": 6, "16": 6, "ioexcept": 6, "multipl": 6, "lazi": 6, "old": 6, "terribl": 6, "inadvert": 6, "intend": 6, "bug": 6, "22": 6, "size": 6, "strictli": 6, "speak": 6, "grow": 6, "shrink": 6, "23": 6, "25": 6, "serv": [6, 7], "hold": 6, "strang": 6, "claus": [6, 7], "shorthand": 6, "decrement": 6, "rewrit": 6, "101": 6, "100": [6, 7], "zip": 6, "separ": 6, "27": 6, "30": 6, "ident": 6, "bodi": 6, "29": 6, "squar": 6, "bracket": 6, "retriev": 6, "sequenc": [6, 7], "33": 6, "bound": 6, "outset": 6, "internet": 6, "short": [6, 10], "Then": 6, "kei": 6, "implement": [6, 8, 10, 11], "treemap": 6, "hashmap": 6, "guess": 6, "balanc": 6, "tree": 6, "hash": 6, "stai": 6, "improv": 6, "punctuat": 6, "easiest": 7, "conjunct": 7, "wide": 7, "varieti": 7, "option": 7, "stop": 7, "explicit": 7, "backward": 7, "tupl": 7, "variat": 7, "fib": 7, "stretch": 7, "imagin": 7, "area": 7, "tochararrai": 7, "seldom": 7, "least": 7, "prefer": 7, "situat": 7, "avoid": 7, "prior": 7, "librari": [8, 12], "resourc": [8, 10], "javadoc": 8, "javadoconlin": 8, "websit": 8, "nice": [8, 12], "searchabl": 8, "search": [8, 13], "classnam": 8, "javaapi": 8, "browsabl": 8, "page": [8, 13], "decend": 8, "summari": 8, "handi": 9, "upper": 9, "lower": 9, "camelcas": 9, "repres": [9, 12], "multiword": 9, "maxint": 9, "welcom": 10, "ebook": 10, "ongo": 10, "who": 10, "audienc": 10, "build": 10, "philosophi": 10, "along": 10, "strength": [10, 12], "weak": 10, "replac": 10, "volum": 10, "fit": 10, "creativ": 10, "licens": 10, "appreci": 10, "love": 10, "brad": 10, "miller": 10, "edu": 10, "januari": 10, "attribut": 10, "unit": 10, "state": 10, "http": 10, "creativecommon": 10, "org": 10, "prefac": [11, 13], "introduct": [11, 13], "dictionari": 11, "elif": 11, "indefinit": 11, "inherit": 11, "fraction": 11, "Not": 11, "colophon": [11, 13], "shameless": 11, "spars": 12, "underli": 12, "consist": 12, "fairli": 12, "formal": 12, "These": 12, "speed": 12, "perform": 12, "maintain": 12, "turtl": 12, "invok": 12, "upfront": 12, "whole": 12, "script": 12, "categori": 12, "rubi": 12, "perl": 12, "industri": 12, "peopl": 12, "care": 12, "rust": 12, "ada": 12, "field": 12, "advanc": 12, "And": 12, "larger": 12, "sophist": 12, "extern": 12, "depend": 12, "000": 12, "edit": 12, "scratch": 12, "surfac": 12, "devot": 12, "cover": 12, "incorpor": 12, "garbag": 12, "degre": 12, "manual": 12, "manag": 12, "challeng": 12, "certainli": 12, "worth": 12, "ve": 12, "footnot": 12, "slower": 12, "achiev": 12, "cython": 12, "high": 12, "g": 12, "numpi": 12, "scikit": 12, "criteria": 12, "content": 13}, "objects": {}, "objtypes": {}, "objnames": {}, "titleterms": {"colophon": 0, "shameless": 0, "plug": 0, "common": 1, "mistak": 1, "forget": 1, "declar": [1, 6], "your": 1, "variabl": [1, 3, 6], "Not": 1, "import": [1, 6], "class": [1, 3], "us": 1, "new": 1, "keyword": 1, "creat": 1, "an": 1, "object": [1, 3], "semicolon": 1, "kind": 1, "contain": 1, "condit": 2, "simpl": 2, "els": 2, "elif": 2, "switch": 2, "boolean": 2, "oper": 2, "defin": 3, "java": [3, 4, 6, 8, 11, 12, 13], "write": 3, "constructor": 3, "method": 3, "signatur": 3, "overload": 3, "inherit": 3, "The": 3, "abstract": 3, "interfac": 3, "static": 3, "member": 3, "full": 3, "implement": 3, "fraction": 3, "let": 4, "look": 4, "program": [4, 12], "introduct": 5, "data": 6, "type": 6, "numer": 6, "input": 6, "output": 6, "scanner": 6, "string": 6, "list": 6, "arrai": 6, "dictionari": 6, "loop": 7, "iter": 7, "definit": 7, "indefinit": 7, "document": 8, "name": 9, "convent": 9, "prefac": 10, "python": [11, 13], "programm": [11, 13], "why": 12, "learn": 12, "anoth": 12, "languag": 12, "c": 12, "welcom": 13, "indic": 13, "tabl": 13}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 8, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 57}, "alltitles": {"Colophon": [[0, "colophon"]], "Shameless Plug": [[0, "shameless-plug"]], "Common Mistakes": [[1, "common-mistakes"]], "Forgetting to declare your variables": [[1, "forgetting-to-declare-your-variables"]], "Not importing a class": [[1, "not-importing-a-class"]], "Forgetting to use the new keyword to create an object": [[1, "forgetting-to-use-the-new-keyword-to-create-an-object"]], "Forgetting a Semicolon": [[1, "forgetting-a-semicolon"]], "Forgetting to declare the kind of object in a container": [[1, "forgetting-to-declare-the-kind-of-object-in-a-container"]], "Conditionals": [[2, "conditionals"]], "Simple if": [[2, "simple-if"]], "if else": [[2, "if-else"]], "elif": [[2, "elif"]], "switch": [[2, "switch"]], "Boolean Operators": [[2, "boolean-operators"]], "Defining Classes in Java": [[3, "defining-classes-in-java"]], "Writing a constructor": [[3, "writing-a-constructor"]], "Methods": [[3, "methods"]], "Method Signatures and Overloading": [[3, "method-signatures-and-overloading"]], "Inheritance": [[3, "inheritance"]], "The Object Class": [[3, "the-object-class"]], "Abstract Classes and Methods": [[3, "abstract-classes-and-methods"]], "Interfaces": [[3, "interfaces"]], "Static member variables": [[3, "static-member-variables"]], "Static Methods": [[3, "static-methods"]], "Full Implementation of the Fraction Class": [[3, "full-implementation-of-the-fraction-class"]], "Lets look at a Java Program": [[4, "lets-look-at-a-java-program"]], "Introduction": [[5, "introduction"]], "Java Data Types": [[6, "java-data-types"]], "Numeric": [[6, "numeric"]], "Import": [[6, "import"]], "Declaring Variables": [[6, "declaring-variables"]], "Input / Output / Scanner": [[6, "input-output-scanner"]], "String": [[6, "string"]], "List": [[6, "list"]], "Arrays": [[6, "arrays"]], "Dictionary": [[6, "dictionary"]], "Loops and Iteration": [[7, "loops-and-iteration"]], "Definite Loop": [[7, "definite-loop"]], "Indefinite Loops": [[7, "indefinite-loops"]], "Java Documentation": [[8, "java-documentation"]], "Naming Conventions": [[9, "naming-conventions"]], "Preface": [[10, "preface"]], "Java for Python Programmers": [[11, "java-for-python-programmers"], [11, null]], "Why Learn another programming Language?": [[12, "why-learn-another-programming-language"]], "Why Learn Java? Why not C or C++?": [[12, "why-learn-java-why-not-c-or-c"]], "Welcome to Java for Python Programmers": [[13, "welcome-to-java-for-python-programmers"]], "Indices and tables": [[13, "indices-and-tables"]]}, "indexentries": {}})