33import java .io .IOException ;
44import java .net .Inet4Address ;
55import java .net .InetAddress ;
6- import java .nio .ByteBuffer ;
76import java .util .Arrays ;
87import java .util .Iterator ;
98import java .util .Stack ;
@@ -22,19 +21,6 @@ public final class Networks<T> implements Iterator<DatabaseRecord<T>> {
2221 private final Buffer buffer ; /* Stores the buffer for Next() calls */
2322 private final Class <T > typeParameterClass ;
2423
25- /**
26- * Constructs a Networks instance.
27- *
28- * @param reader The reader object.
29- * @param includeAliasedNetworks The boolean to include aliased networks.
30- * @param typeParameterClass The type of data returned by the iterator.
31- * @throws ClosedDatabaseException Exception for a closed database.
32- */
33- Networks (Reader reader , boolean includeAliasedNetworks , Class <T > typeParameterClass )
34- throws ClosedDatabaseException {
35- this (reader , includeAliasedNetworks , new NetworkNode [0 ], typeParameterClass );
36- }
37-
3824 /**
3925 * Constructs a Networks instance.
4026 *
@@ -60,16 +46,6 @@ public final class Networks<T> implements Iterator<DatabaseRecord<T>> {
6046 }
6147 }
6248
63- /**
64- * Constructs a Networks instance with includeAliasedNetworks set to false by default.
65- *
66- * @param reader The reader object.
67- * @param typeParameterClass The type of data returned by the iterator.
68- */
69- Networks (Reader reader , Class <T > typeParameterClass ) throws ClosedDatabaseException {
70- this (reader , false , typeParameterClass );
71- }
72-
7349 /**
7450 * Returns the next DataRecord.
7551 *
0 commit comments