←back to thread

141 points winkywooster | 1 comments | | HN request time: 0.21s | source
Show context
mrkeen ◴[] No.40221006[source]
> Another example is Specter. Specter is a generically useful library for querying and manipulating data structures

> https://github.com/redplanetlabs/specter/tree/master/src

> MutableCell.Java. 8 years ago

  package com.rpl.specter;

  public class MutableCell {
    private Object o;

    public MutableCell(Object o) {
      this.o = o;
    }

    public Object get() {
      return o;
    }

    public void set(Object o) {
      this.o = o;
    }
  }
Behold the power!
replies(2): >>40221045 #>>40221142 #
1. ◴[] No.40221045[source]