Package javajs.util


package javajs.util
  • Class
    Description
    A 4 element axis angle represented by single precision floating point x,y,z,angle components.
    A method to allow a JavaScript Ajax
    A method to allow a JavaScript AJAX adapter to deliver web content to JSmol.
    For handling URL file IO via AJAX in JavaScript version
    ArrayDataReader subclasses BufferedReader and overrides its read, readLine, mark, and reset methods so that JmolAdapter works with String[] arrays without any further adaptation.
     
     
     
    byte converter
     
    a fast 32-bit BitSet optimized for Java2Script -- about 25 times faster than java.util.BitSet
    A CIF 1.0 tokenizer class for dealing with quoted strings in CIF files.
     
    ColorUtility
    Just a simple abstract class to join a String reader and a String[] reader under the same BufferedReader umbrella.
    A class to insert a JavaScript debug statement for Firefox or Chrome debugger
    created to remove ambiguities and make a simpler DecimalFormat
    Eigenvalues and eigenvectors of a real matrix.
     
    a very simple JSON parser for JSON objects that are compatible with JavaScript A gross simplification of https://github.com/douglascrockford/JSON-java A SUBSET of JSON with similarly to window.JSON.parse(): In JavaScript returns "null" for a null value, not null -- requires quoted strings for keys and values -- does not allow /xxx/ objects
     
    A simple class to read a designated number of bytes from a file and then return them line by line, skipping lines that start with #, and including the \n or \r characters at line ends.
    VectorDataReader subclasses BufferedReader and overrides its read, readLine, mark, and reset methods so that JmolAdapter works with Vector arrays without any further adaptation.
    Lst<V>
    created to remove ambiguities in add and remove
    A single precision floating point 3 by 3 matrix.
    A base class for both M3 and M4 to conserve code size.
    A single precision floating point 4 by 4 matrix.
    streamlined and refined for Jmol by Bob Hanson from http://math.nist.gov/javanumerics/jama/ Jama = Java Matrix class.
     
    A simple MessagePack reader.
    A generic output method.
    A 3 element point that is represented by single precision floating point x,y,z coordinates.
    A 3 element point that is represented by signed integer x,y,z coordinates.
    A 4 element point that is represented by single precision floating point x,y,z,w coordinates.
    a combination of Parsing and Text-related utility classes
     
    A general helper class for a variety of stream and reader functionality including: stream and byte magic-number decoding for PNG, PNGJ, ZIP, and GZIP streams various stream/reader methods, including UTF-encoded stream reading reflection-protected access to a CIF parser and ZIP tools
     
    Interesting thing here is that JavaScript is 3x faster than Java in handling strings.
     
    A generic 3 element tuple that is represented by single precision floating point x,y and z coordinates.
    A generic 3 element tuple that is represented by double precision floating point x,y and z coordinates.
    A 3-element tuple represented by signed integer x,y,z coordinates.
    A generic 4 element tuple that is represented by single precision floating point x,y,z and w coordinates.
    A 3-element vector that is represented by single precision floating point x,y,z coordinates.
    A 3 element vector that is represented by double precision floating point x,y,z coordinates.
    A very simplistic XML generator
     
    Note the JSmol/HTML5 must use its own version of java.util.zip.ZipOutputStream.