Skip to content
This repository was archived by the owner on Mar 2, 2024. It is now read-only.

Commit ab40d75

Browse files
Maintenance update (v1.2.1)
1 parent d48d1d4 commit ab40d75

71 files changed

Lines changed: 4211 additions & 416 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.esdoc.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

.vscode/launch.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ YACA contains at the moment **List<T>**, **Dictionary<K,V>** and **S
1818
* Multiple check functions like contains, containsKey, containsValues or containsKeyAsList
1919
* Multiple copy functions like copyToArray or getRange
2020
* forEach method provided (returns KeyValuePair for Dictionaries)
21-
* Build-in break and (optional) continue calls within forEach loops as control elements
21+
* Built-in break and (optional) continue calls within forEach loops as control elements
2222
* Native sorting of the types number, string, boolean and Date (in List class)
2323
* Possibility of the implementation of a compareTo function in classes for sorting purpose (interface IComparer)
24-
* Possibility to sort SortedDictionary by key or value, according to the default behavior, a defined compariosn method or an implementation of a compareTo function
24+
* Possibility to sort SortedDictionary by key or value, according to the default behavior, a defined comparison method or an implementation of a compareTo function
2525
* Provided static compareTo functions for the types number, string, boolean and Date (module Comparer)
2626

2727
See the **[Change Log](https://github.com/rabanti-github/yaca/blob/master/changelog.md)** for recent updates.
@@ -202,7 +202,7 @@ A sorted dictionary has the same behavior properties and functions like a standa
202202

203203
### Supported functions
204204

205-
<b>All functions of Dictionary &lt;K,V&gt;</b>
205+
<b>All functions of Dictionary &lt;K,V&gt;</b>, and additionally...
206206

207207
* getByIndex
208208
* getByIndices

changelog.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# CHANGE LOG
22

3+
***v1.2.1***
4+
5+
---
6+
Date: 2018-06-24
7+
8+
Release type: Minor release / Maintenance / Non-critical
9+
10+
* Pushed DevDependencies to the most recent versions
11+
* Fixed deprecation issue regarding prepublish
12+
313
***v1.2.0***
414

515
---

dist/index.js

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/Comparer.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/Dictionary.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -292,44 +292,44 @@ export declare class Dictionary<K, V> implements Iterator<V> {
292292
* @param value Value to add
293293
* @throws Throws an error if no key or value was defined
294294
*/
295-
private addInternal(key, value);
295+
private addInternal;
296296
/**
297297
* Internal method to copy dictionary according to a a list of hashcodes
298298
* @param keys hashcodes of the items to copy
299299
* @returns A new Dictionary with the copied tuples
300300
*/
301-
private copyToInternal(keys);
301+
private copyToInternal;
302302
/**
303303
* Internal function to get the state of a forEach flow control action (break or continue)
304304
* @returns Returns 1 at a break condition and 2 at a continue condition (0 is default)
305305
*/
306-
private getForEachControlCondition();
306+
private getForEachControlCondition;
307307
/**
308308
* Method to calculate the hash code of the key (default: toString)
309309
* @param key Key to process
310310
* @returns The hash code internally used as key. Default is the toString function of the passed key
311311
*/
312-
private getHashCode(key);
312+
private getHashCode;
313313
/**
314314
* Internal function to get keys by values as list
315315
* @param values values to look fot keys
316316
* @param all if true, all entries will be queried. Otherwise, the method returns after the first hit
317317
* @returns A list of all determined keys
318318
*/
319-
private getKeysByValuesAsListInternal(values, all);
319+
private getKeysByValuesAsListInternal;
320320
/**
321321
* Internal method to get key value pairs as object with two properties 'key' and 'value'
322322
* @returns Object array with key value pairs
323323
*/
324-
private getKeyValuePairsInternal();
324+
private getKeyValuePairsInternal;
325325
/**
326326
* Internal method to refresh the key index of the dictionary
327327
*/
328-
private refreshKeyIndex();
328+
private refreshKeyIndex;
329329
/**
330330
* Internal method to remove an entry
331331
* @param key Key to remove (with value)
332332
* @returns True if the item could be removed
333333
*/
334-
private removeInternal(key);
334+
private removeInternal;
335335
}

dist/src/Dictionary.js

Lines changed: 13 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)