Git Product home page Git Product logo

jcollectionutil's Introduction

JCollectionUtil

Data structures missing from the Java APIs. Includes:

  • Array views - wrappers which expose an array (or pair of arrays in the case of ArrayMapView) as a List implementation, see:
    • ArrayMapView and constructor class ArrayMapViewHandle
    • ArrayView and constructor class ArrayViewHandle
  • Bag - unordered list with O(1) index removal performance, see:
    • Bag
    • MultiBag - treat a single internal array as multiple sub-lists
  • BiTypeList - a list containing two data element types with strongly typed access to elements in the list
  • Pair collections - non-unique maps, with list, sorted list, and bag implementations, see:
    • PairBag
    • PairList
    • SortedPairList
  • Circular buffers - see:
    • CircularArray
    • CircularByteArray
  • ByteBufferArray - Combines the ability to resize a ByteArrayOutputStream with the indexed position access of a ByteBuffer and the read/write methods of a DataOutput stream
  • SimpleByteBuffer - A container for a data array, offset, and length, with methods for adjusting the offset and length. The call must manually handle the data.
  • FrequencyMap - for tracking and incrementing/decrementing occurrences of distinct key values
  • PropertyMap - for easily loading and saving Java '.properties' files and automatically parsing boolean, int, float, hexadecimal int, String, Color, File, and Path properties.

Take a look at the unit tests in twg2.collections.util.tests package for examples of how the APIs can be used.

jcollectionutil's People

Contributors

teamworkguy2 avatar

Watchers

 avatar  avatar  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.