GithubHelp home page GithubHelp logo

java-measurement-utils-jsr363's Introduction

Pervasive Code's Java Measurement Utilities for JSR 363

This library includes classes for using the JSR 363 Units of Measurement API with measurements of amount of data and rate of data.

The JSR 363 API specification provides for a type-safe Java representation of quantities with units.

This library depends on the Units of Measurement GitHub project and its Units of Measurement Systems and JSR 363 Implementation for Java SE 8.

This library provides bytes-per-second and bits-per-second unit types, and code to format quantities using these types in familiar formats, such as "300 GB" (SI prefixes) or "1.4 KiB" (IEC binary prefixes).

Overview of included classes

Javadocs are available on javadoc.io:

Javadocs

See the separate OVERVIEW.md file for a description of what interfaces and classes are included. (Overview content is taken from class Javadoc comments, so there's no need to read both.)

How to use it in your code

See the Example Code section in OVERVIEW.md for details.

Including it in your project

Use groupId com.pervasivecode, name measurement-utils-jsr363, version 1.0 in your build tool of choice.

Gradle Example

If you are using Gradle 4.x, put this in your build.properties file:

// in your build.gradle's repositories {} block:
    mavenCentral();

// in your build.gradle's dependencies {} block:
    implementation 'com.pervasivecode:measurement-utils-jsr363:1.0'

    // or, if you prefer the separated group/name/version syntax:
    implementation group: 'com.pervasivecode', name: 'measurement-utils-jsr363', version: '1.0'

Contributing

See DEVELOPERS.md and GRADLE_INTRO.md if you want to build and hack on the code yourself.

Copyright and License

Copyright © 2018 Jamie Flournoy.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

java-measurement-utils-jsr363's People

Contributors

jamieflournoy avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.