Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
PeerfactSim.KOM
Commits
eec8b45b
Commit
eec8b45b
authored
Sep 18, 2017
by
Tobias Meuser
Browse files
Adjusted method to fixed methods in interface
parent
5a51bd62
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/vehicular/caching/invalidation/DefaultCacheInvalidationStrategy.java
View file @
eec8b45b
...
...
@@ -21,13 +21,12 @@
package
de.tud.kom.p2psim.impl.vehicular.caching.invalidation
;
import
de.tudarmstadt.maki.simonstrator.api.component.vehicular.caching.invalidation.CacheInvalidationStrategy
;
import
de.tudarmstadt.maki.simonstrator.api.component.vehicular.information.
Vehicular
PointInformation
;
import
de.tudarmstadt.maki.simonstrator.api.component.vehicular.information.PointInformation
;
public
class
DefaultCacheInvalidationStrategy
implements
CacheInvalidationStrategy
{
@Override
public
boolean
checkInformation
(
VehicularPointInformation
pCachedInformation
)
{
public
boolean
checkInformation
(
PointInformation
pCachedInformation
)
{
return
false
;
}
...
...
src/de/tud/kom/p2psim/impl/vehicular/caching/replacement/DefaultCacheReplacementStrategy.java
View file @
eec8b45b
...
...
@@ -21,15 +21,15 @@
package
de.tud.kom.p2psim.impl.vehicular.caching.replacement
;
import
de.tudarmstadt.maki.simonstrator.api.component.vehicular.caching.replacement.CacheReplacementStrategy
;
import
de.tudarmstadt.maki.simonstrator.api.component.vehicular.information.
Vehicular
PointInformation
;
import
de.tudarmstadt.maki.simonstrator.api.component.vehicular.information.PointInformation
;
public
class
DefaultCacheReplacementStrategy
implements
CacheReplacementStrategy
{
@Override
public
boolean
replaceInformation
(
VehicularPointInformation
pCachedInformation
,
VehicularPointInformation
pSensedInformation
)
{
return
pCachedInformation
.
equals
(
pSensedInformation
);
public
boolean
replaceInformation
(
PointInformation
pCachedInformation
,
PointInformation
pSensedInformation
)
{
return
true
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment