Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public class BidirectionalMap<K, V> extends ObservableMap<K, V> {
* @param wrappedMap backing store for the map data, used to implement all map
* operations
*/
@Deprecated
public BidirectionalMap(IObservableMap<K, V> wrappedMap) {
super(wrappedMap.getRealm(), wrappedMap);
wrappedMap.addMapChangeListener(mapListener);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ public void handleSetChange(SetChangeEvent event) {
* @param input input set with keys from the map
* @param map the map to map
*/
@Deprecated
public MappedSet(IObservableSet input, IObservableMap map) {
super(input.getRealm(), Collections.EMPTY_SET, Object.class);
setWrappedSet(valueCounts.keySet());
Expand All @@ -126,6 +127,7 @@ public MappedSet(IObservableSet input, IObservableMap map) {
* @param mapValue map value to add
* @return true if the given mapValue was an addition
*/
@Deprecated
protected boolean handleAddition(Object mapValue) {
Integer count = (Integer) valueCounts.get(mapValue);
if (count == null) {
Expand All @@ -140,6 +142,7 @@ protected boolean handleAddition(Object mapValue) {
* @param mapValue map value to remove
* @return true if the given mapValue has been removed
*/
@Deprecated
protected boolean handleRemoval(Object mapValue) {
Integer count = (Integer) valueCounts.get(mapValue);
if (count.intValue() <= 1) {
Expand All @@ -150,6 +153,7 @@ protected boolean handleRemoval(Object mapValue) {
return false;
}

@Deprecated
@Override
public synchronized void dispose() {
wrappedMap.removeMapChangeListener(mapChangeListener);
Expand Down
Loading