@Test public void testReset() { final Flags flags = new Flags(8); assertThat(flags.reset(), is(flags)); assertThat(flags.get(), is(0)); }
public Flags reset() { this.flags = 0; return this; }
Flags { public Flags reset() { this.flags = 0; return this; } }
Flags { public Flags reset() { this.flags = 0; return this; } Flags();  Flags(@IntRange(from = 0, to = Integer.MAX_VALUE) final int flags); }
Flags { public Flags reset() { this.flags = 0; return this; } Flags();  Flags(@IntRange(from = 0, to = Integer.MAX_VALUE) final int flags); Flags add(@IntRange(from = 1, to = Integer.MAX_VALUE) final int flag); Flags remove(@IntRange(from = 1, to = Integer.MAX_VALUE) final int flag); boolean has(@IntRange(from = 1, to = Integer.MAX_VALUE) final int flag); @IntRange(from = 0, to = Integer.MAX_VALUE) int get(); Flags reset(); }
Flags { public Flags reset() { this.flags = 0; return this; } Flags();  Flags(@IntRange(from = 0, to = Integer.MAX_VALUE) final int flags); Flags add(@IntRange(from = 1, to = Integer.MAX_VALUE) final int flag); Flags remove(@IntRange(from = 1, to = Integer.MAX_VALUE) final int flag); boolean has(@IntRange(from = 1, to = Integer.MAX_VALUE) final int flag); @IntRange(from = 0, to = Integer.MAX_VALUE) int get(); Flags reset();  }