@Test public void defaults() throws IOException { GetWorkerOptions options = GetWorkerOptions.defaults().setBlockInfo(new BlockInfo()); assertEquals(null, options.getBlockWorkerInfos()); assertEquals(0, options.getBlockInfo().getBlockId()); assertEquals(0, options.getBlockInfo().getLength()); }
public static GetWorkerOptions defaults() { return new GetWorkerOptions(); }
GetWorkerOptions { public static GetWorkerOptions defaults() { return new GetWorkerOptions(); } }
GetWorkerOptions { public static GetWorkerOptions defaults() { return new GetWorkerOptions(); } private  GetWorkerOptions(); }
GetWorkerOptions { public static GetWorkerOptions defaults() { return new GetWorkerOptions(); } private  GetWorkerOptions(); static GetWorkerOptions defaults(); BlockInfo getBlockInfo(); Iterable<BlockWorkerInfo> getBlockWorkerInfos(); GetWorkerOptions setBlockInfo(BlockInfo blockInfo); GetWorkerOptions setBlockWorkerInfos(
      List<BlockWorkerInfo> blockWorkerInfos); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
GetWorkerOptions { public static GetWorkerOptions defaults() { return new GetWorkerOptions(); } private  GetWorkerOptions(); static GetWorkerOptions defaults(); BlockInfo getBlockInfo(); Iterable<BlockWorkerInfo> getBlockWorkerInfos(); GetWorkerOptions setBlockInfo(BlockInfo blockInfo); GetWorkerOptions setBlockWorkerInfos(
      List<BlockWorkerInfo> blockWorkerInfos); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }