GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • LiquidJava Docs
  • Getting Started
  • Setup
  • Overview
  • Annotations
  • @Refinement
  • @RefinementAlias
  • @StateRefinement
  • @ExternalRefinementsFor
  • @Ghost
  • @RefinementPredicate
  • Verification Features
  • Method Calls and Returns
  • Conditionals

This view

  • Original page
  • New address

GeezerVison is showing liquid-java.github.io — Examples

Examples

In this section you can explore various example usages of LiquidJava, with focused code snippets to illustrate specific features and use cases.

Counter

A simple refinement example for ensuring a counter never decrements below zero.

Pagination

Plain refinements with aliases for page numbers, page sizes, and computed offsets.

Media Player

A typestate protocol for a simple media player.

Email

A typestate protocol for an Email builder API.

Order

A typestate protocol for a simple order processing system.

Downloader

A typestate protocol for a downloader object.

Connection

A typestate protocol with a value-dependent conditional transition.

ArrayList

An external refinement for ArrayList that prevents out-of-bounds access.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.