or: Why Alg lgebraic May Be Better Than Pre/Post Intro Focus on - - PowerPoint PPT Presentation

or why alg lgebraic may be better
SMART_READER_LITE
LIVE PREVIEW

or: Why Alg lgebraic May Be Better Than Pre/Post Intro Focus on - - PowerPoint PPT Presentation

Specification of of Generic APIs Is, or: Why Alg lgebraic May Be Better Than Pre/Post Intro Focus on abstract APIs, rather than dealing directly with concrete data structures. Semantics are more easily specied by relating the


slide-1
SLIDE 1

Specification of

  • f Generic APIs

Is,

  • r: Why Alg

lgebraic May Be Better Than Pre/Post

slide-2
SLIDE 2

Intro

  • Focus on abstract APIs, rather than dealing directly with concrete data

structures.

  • Semantics are more easily specied by relating the operations to each
  • ther.
  • The behavior of hashCode is specied entirely by its relationship to

equals

  • Signature
  • Models
  • Axioms
slide-3
SLIDE 3

API specifications

slide-4
SLIDE 4

General requirement API

slide-5
SLIDE 5

API enrichment

slide-6
SLIDE 6

Pre/post specification

slide-7
SLIDE 7

API specifications subsume Pre/Post specifications