@Test public void testFactoryMethod() { assertEquals(Collections.emptyList(), BdfList.of()); assertEquals(Arrays.asList(1, 2, NULL_VALUE), BdfList.of(1, 2, NULL_VALUE)); }
public static BdfList of(Object... items) { return new BdfList(Arrays.asList(items)); }
BdfList extends ArrayList<Object> { public static BdfList of(Object... items) { return new BdfList(Arrays.asList(items)); } }
BdfList extends ArrayList<Object> { public static BdfList of(Object... items) { return new BdfList(Arrays.asList(items)); } BdfList();  BdfList(List<Object> items); }
BdfList extends ArrayList<Object> { public static BdfList of(Object... items) { return new BdfList(Arrays.asList(items)); } BdfList();  BdfList(List<Object> items); static BdfList of(Object... items); Boolean getBoolean(int index); @Nullable Boolean getOptionalBoolean(int index); Boolean getBoolean(int index, Boolean defaultValue); Long getLong(int index); @Nullable Long getOptionalLong(int index); Long getLong(int index, Long defaultValue); Double getDouble(int index); @Nullable Double getOptionalDouble(int index); Double getDouble(int index, Double defaultValue); String getString(int index); @Nullable String getOptionalString(int index); String getString(int index, String defaultValue); byte[] getRaw(int index); @Nullable byte[] getOptionalRaw(int index); byte[] getRaw(int index, byte[] defaultValue); BdfList getList(int index); @Nullable BdfList getOptionalList(int index); BdfList getList(int index, BdfList defaultValue); BdfDictionary getDictionary(int index); @Nullable BdfDictionary getOptionalDictionary(int index); BdfDictionary getDictionary(int index, BdfDictionary defaultValue); }
BdfList extends ArrayList<Object> { public static BdfList of(Object... items) { return new BdfList(Arrays.asList(items)); } BdfList();  BdfList(List<Object> items); static BdfList of(Object... items); Boolean getBoolean(int index); @Nullable Boolean getOptionalBoolean(int index); Boolean getBoolean(int index, Boolean defaultValue); Long getLong(int index); @Nullable Long getOptionalLong(int index); Long getLong(int index, Long defaultValue); Double getDouble(int index); @Nullable Double getOptionalDouble(int index); Double getDouble(int index, Double defaultValue); String getString(int index); @Nullable String getOptionalString(int index); String getString(int index, String defaultValue); byte[] getRaw(int index); @Nullable byte[] getOptionalRaw(int index); byte[] getRaw(int index, byte[] defaultValue); BdfList getList(int index); @Nullable BdfList getOptionalList(int index); BdfList getList(int index, BdfList defaultValue); BdfDictionary getDictionary(int index); @Nullable BdfDictionary getOptionalDictionary(int index); BdfDictionary getDictionary(int index, BdfDictionary defaultValue);  }