@Test public void get() { LongOption option = new LongOption(); option.modify(100); assertThat(option.get(), is(100L)); assertThat(option.isNull(), is(false)); }
public long get() { if (nullValue) { throw new NullPointerException(); } return value; }
LongOption extends ValueOption<LongOption> { public long get() { if (nullValue) { throw new NullPointerException(); } return value; } }
LongOption extends ValueOption<LongOption> { public long get() { if (nullValue) { throw new NullPointerException(); } return value; } LongOption();  LongOption(long value); }
LongOption extends ValueOption<LongOption> { public long get() { if (nullValue) { throw new NullPointerException(); } return value; } LongOption();  LongOption(long value); long get(); long or(long alternate); void add(long delta); void add(LongOption other); @Deprecated LongOption modify(long newValue); @Override @Deprecated void copyFrom(LongOption optionOrNull); @Override int hashCode(); @Override boolean equals(Object obj); boolean has(long other); @Override int compareTo(WritableRawComparable o); @Override String toString(); @Override void write(DataOutput out); @SuppressWarnings("deprecation") @Override void readFields(DataInput in); @SuppressWarnings("deprecation") @Override int restore(byte[] bytes, int offset, int limit); @Override int getSizeInBytes(byte[] buf, int offset); @Override int compareInBytes(byte[] b1, int o1, byte[] b2, int o2); static int getBytesLength(byte[] bytes, int offset, int length); static int compareBytes(
            byte[] b1, int s1, int l1,
            byte[] b2, int s2, int l2); }
LongOption extends ValueOption<LongOption> { public long get() { if (nullValue) { throw new NullPointerException(); } return value; } LongOption();  LongOption(long value); long get(); long or(long alternate); void add(long delta); void add(LongOption other); @Deprecated LongOption modify(long newValue); @Override @Deprecated void copyFrom(LongOption optionOrNull); @Override int hashCode(); @Override boolean equals(Object obj); boolean has(long other); @Override int compareTo(WritableRawComparable o); @Override String toString(); @Override void write(DataOutput out); @SuppressWarnings("deprecation") @Override void readFields(DataInput in); @SuppressWarnings("deprecation") @Override int restore(byte[] bytes, int offset, int limit); @Override int getSizeInBytes(byte[] buf, int offset); @Override int compareInBytes(byte[] b1, int o1, byte[] b2, int o2); static int getBytesLength(byte[] bytes, int offset, int length); static int compareBytes(
            byte[] b1, int s1, int l1,
            byte[] b2, int s2, int l2);  }