Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
23 | 3 | 1 | 0.987 | class_member_declarations[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 23 | 398 | src/NHibernate/Collection/PersistentList.cs |
2 | 23 | 384 | src/NHibernate/Collection/PersistentMap.cs |
3 | 23 | 581 | src/NHibernate/Collection/PersistentSet.cs |
| ||||
public int Count { get { return ReadSize() ? CachedSize: list.Count; } } public object SyncRoot { get { return this ; } } public bool IsSynchronized { get { return false; } } #endregion #region IEnumerable Members public IEnumerator GetEnumerator() { Read(); return list.GetEnumerator(); } |
| ||||
public int Count { get { return ReadSize() ? CachedSize: map.Count; } } public object SyncRoot { get { return this ; } } public bool IsSynchronized { get { return false; } } #endregion #region IEnumerable Members public IEnumerator GetEnumerator() { Read(); return map.GetEnumerator(); } |
| ||||
public int Count { get { return ReadSize() ? CachedSize: set.Count; } } public object SyncRoot { get { return this ; } } public bool IsSynchronized { get { return false; } } #endregion #region IEnumerable Members public IEnumerator GetEnumerator() { Read(); return set.GetEnumerator(); } |
| |||
public int Count { get { return ReadSize() ? CachedSize: [[#variable5088afc0]].Count; } } public object SyncRoot { get { return this ; } } public bool IsSynchronized { get { return false; } } #endregion #region IEnumerable Members public IEnumerator GetEnumerator() { Read(); return [[#variable5088afc0]].GetEnumerator(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5088afc0]] | set |
1 | 2 | [[#5088afc0]] | map |
1 | 3 | [[#5088afc0]] | list |