Changeset 30568 in osm for applications/editors/josm/plugins/opendata/includes/org/j7zip
- Timestamp:
- 2014-08-06T19:33:57+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/opendata/includes/org/j7zip/SevenZip/Archive
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/includes/org/j7zip/SevenZip/Archive/Common/BindInfo.java
r29679 r30568 5 5 6 6 public class BindInfo { 7 public RecordVector<CoderStreamsInfo> Coders = new RecordVector< CoderStreamsInfo>();8 public RecordVector<BindPair> BindPairs = new RecordVector< BindPair>();7 public RecordVector<CoderStreamsInfo> Coders = new RecordVector<>(); 8 public RecordVector<BindPair> BindPairs = new RecordVector<>(); 9 9 public IntVector InStreams = new IntVector(); 10 10 public IntVector OutStreams = new IntVector(); -
applications/editors/josm/plugins/opendata/includes/org/j7zip/SevenZip/Archive/Common/CoderMixer2ST.java
r29681 r30568 20 20 21 21 BindInfo _bindInfo = new BindInfo(); 22 ObjectVector<STCoderInfo> _coders = new ObjectVector< STCoderInfo>();22 ObjectVector<STCoderInfo> _coders = new ObjectVector<>(); 23 23 24 24 public CoderMixer2ST() { … … 202 202 CoderInfo mainCoder = _coders.get(_mainCoderIndex); 203 203 204 ObjectVector< java.io.InputStream > seqInStreams = new ObjectVector< java.io.InputStream>(); // CObjectVector< CMyComPtr<ISequentialInStream> >205 ObjectVector< java.io.OutputStream > seqOutStreams = new ObjectVector< java.io.OutputStream>(); // CObjectVector< CMyComPtr<ISequentialOutStream> >204 ObjectVector< java.io.InputStream > seqInStreams = new ObjectVector< >(); // CObjectVector< CMyComPtr<ISequentialInStream> > 205 ObjectVector< java.io.OutputStream > seqOutStreams = new ObjectVector< >(); // CObjectVector< CMyComPtr<ISequentialOutStream> > 206 206 int startInIndex = _bindInfo.GetCoderInStreamIndex(_mainCoderIndex); 207 207 int startOutIndex = _bindInfo.GetCoderOutStreamIndex(_mainCoderIndex); … … 220 220 seqOutStreams.add(seqOutStream); 221 221 } 222 RecordVector< java.io.InputStream > seqInStreamsSpec = new RecordVector< java.io.InputStream>();223 RecordVector< java.io.OutputStream > seqOutStreamsSpec = new RecordVector< java.io.OutputStream>();222 RecordVector< java.io.InputStream > seqInStreamsSpec = new RecordVector< >(); 223 RecordVector< java.io.OutputStream > seqOutStreamsSpec = new RecordVector< >(); 224 224 for (i = 0; i < mainCoder.NumInStreams; i++) 225 225 seqInStreamsSpec.add(seqInStreams.get(i)); -
applications/editors/josm/plugins/opendata/includes/org/j7zip/SevenZip/Archive/Common/FilterCoder.java
r29681 r30568 4 4 import java.io.IOException; 5 5 6 import org.j7zip.SevenZip.HRESULT;7 6 import org.j7zip.SevenZip.ICompressCoder; 8 7 import org.j7zip.SevenZip.ICompressSetOutStream; -
applications/editors/josm/plugins/opendata/includes/org/j7zip/SevenZip/Archive/SevenZip/ArchiveDatabase.java
r29679 r30568 10 10 public BoolVector PackCRCsDefined = new BoolVector(); 11 11 public IntVector PackCRCs = new IntVector(); 12 public ObjectVector<Folder> Folders = new ObjectVector< Folder>();12 public ObjectVector<Folder> Folders = new ObjectVector<>(); 13 13 public IntVector NumUnPackStreamsVector = new IntVector(); 14 public ObjectVector<FileItem> Files = new ObjectVector< FileItem>();14 public ObjectVector<FileItem> Files = new ObjectVector<>(); 15 15 16 16 void Clear() { -
applications/editors/josm/plugins/opendata/includes/org/j7zip/SevenZip/Archive/SevenZip/BindInfoEx.java
r29679 r30568 7 7 class BindInfoEx extends BindInfo { 8 8 9 RecordVector<MethodID> CoderMethodIDs = new RecordVector< MethodID>();9 RecordVector<MethodID> CoderMethodIDs = new RecordVector<>(); 10 10 11 11 public void Clear() { -
applications/editors/josm/plugins/opendata/includes/org/j7zip/SevenZip/Archive/SevenZip/CoderInfo.java
r29679 r30568 7 7 int NumInStreams; 8 8 int NumOutStreams; 9 public ObjectVector<AltCoderInfo> AltCoders = new org.j7zip.Common.ObjectVector< AltCoderInfo>();9 public ObjectVector<AltCoderInfo> AltCoders = new org.j7zip.Common.ObjectVector<>(); 10 10 11 11 boolean IsSimpleCoder() { return (NumInStreams == 1) && (NumOutStreams == 1); } -
applications/editors/josm/plugins/opendata/includes/org/j7zip/SevenZip/Archive/SevenZip/Decoder.java
r29681 r30568 45 45 46 46 _mixerCoder = null; 47 _decoders = new ObjectVector< Object>();47 _decoders = new ObjectVector<>(); 48 48 49 49 // #ifndef EXCLUDE_COM -- LoadMethodMap(); … … 117 117 118 118 119 ObjectVector<java.io.InputStream> inStreams = new ObjectVector< java.io.InputStream>(); // CObjectVector< CMyComPtr<ISequentialInStream> >119 ObjectVector<java.io.InputStream> inStreams = new ObjectVector<>(); // CObjectVector< CMyComPtr<ISequentialInStream> > 120 120 121 121 LockedInStream lockedInStream = new LockedInStream(); … … 357 357 if (numCoders == 0) 358 358 return 0; 359 RecordVector<java.io.InputStream> inStreamPointers = new RecordVector< java.io.InputStream>(); // CRecordVector<ISequentialInStream *>359 RecordVector<java.io.InputStream> inStreamPointers = new RecordVector<>(); // CRecordVector<ISequentialInStream *> 360 360 inStreamPointers.Reserve(inStreams.size()); 361 361 for (i = 0; i < inStreams.size(); i++) 362 362 inStreamPointers.add(inStreams.get(i)); 363 363 364 RecordVector<java.io.OutputStream> outStreamPointer = new RecordVector< java.io.OutputStream>();364 RecordVector<java.io.OutputStream> outStreamPointer = new RecordVector<>(); 365 365 outStreamPointer.add(outStream); 366 366 return _mixerCoder.Code( -
applications/editors/josm/plugins/opendata/includes/org/j7zip/SevenZip/Archive/SevenZip/Folder.java
r29679 r30568 11 11 12 12 class Folder { 13 public RecordVector<CoderInfo> Coders = new RecordVector< CoderInfo>();14 RecordVector<BindPair> BindPairs = new RecordVector< BindPair>();13 public RecordVector<CoderInfo> Coders = new RecordVector<>(); 14 RecordVector<BindPair> BindPairs = new RecordVector<>(); 15 15 IntVector PackStreams = new IntVector(); 16 16 LongVector UnPackSizes = new LongVector(); -
applications/editors/josm/plugins/opendata/includes/org/j7zip/SevenZip/Archive/SevenZip/Handler.java
r29681 r30568 84 84 return HRESULT.S_OK; 85 85 86 ObjectVector<ExtractFolderInfo> extractFolderInfoVector = new ObjectVector< ExtractFolderInfo>();86 ObjectVector<ExtractFolderInfo> extractFolderInfoVector = new ObjectVector<>(); 87 87 for(int ii = 0; ii < numItems; ii++) { 88 88 int ref2Index = allFilesMode ? ii : indices[ii]; -
applications/editors/josm/plugins/opendata/includes/org/j7zip/SevenZip/Archive/SevenZip/InArchive.java
r29681 r30568 32 32 33 33 public InArchive() { 34 _inByteVector = new ObjectVector< InByte2>();34 _inByteVector = new ObjectVector<>(); 35 35 _inByteBack = new InByte2(); 36 36 } … … 710 710 IntVector packCRCs = new IntVector(); // CRecordVector<UInt32> packCRCs; 711 711 712 ObjectVector<Folder> folders = new ObjectVector< Folder>();712 ObjectVector<Folder> folders = new ObjectVector<>(); 713 713 714 714 IntVector numUnPackStreamsInFolders = new IntVector(); … … 823 823 streamSwitch.Set(this, buffer2); 824 824 825 ObjectVector<ByteBuffer> dataVector = new ObjectVector< ByteBuffer>(); // CObjectVector<CByteBuffer> dataVector;825 ObjectVector<ByteBuffer> dataVector = new ObjectVector<>(); // CObjectVector<CByteBuffer> dataVector; 826 826 827 827 for (;;) { … … 863 863 } 864 864 865 ObjectVector<ByteBuffer> dataVector = new ObjectVector< ByteBuffer>();865 ObjectVector<ByteBuffer> dataVector = new ObjectVector<>(); 866 866 867 867 if (type == NID.kAdditionalStreamsInfo) {
Note:
See TracChangeset
for help on using the changeset viewer.