Spec-Zone .ru
спецификации, руководства, описания, API
|
K
- key typeV
- value typepublic abstract static class MapChangeListener.Change<K,V>
extends java.lang.Object
Constructor and Description |
---|
MapChangeListener.Change(ObservableMap<K,V> map)
Constructs a change associated with a map.
|
Modifier and Type | Method and Description |
---|---|
abstract K |
getKey()
A key associated with the change.
|
ObservableMap<K,V> |
getMap()
An observable map that is associated with the change.
|
abstract V |
getValueAdded()
Get the new value of the key.
|
abstract V |
getValueRemoved()
Get the old value of the key.
|
abstract boolean |
wasAdded()
If this change is a result of add operation.
|
abstract boolean |
wasRemoved()
If this change is a result of removal operation.
|
public MapChangeListener.Change(ObservableMap<K,V> map)
map
- the source of the changepublic ObservableMap<K,V> getMap()
public abstract boolean wasAdded()
public abstract boolean wasRemoved()
public abstract K getKey()
public abstract V getValueAdded()
public abstract V getValueRemoved()
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to