-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#28 Adapt Chronograph for Passage Operator
Introduce Data interface Rename DataRegistry to PlainData Signed-off-by: Alexander Fedorov <[email protected]>
- Loading branch information
1 parent
b444e77
commit 861159b
Showing
2 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
bundles/org.eclipse.chronograph.api/src/org/eclipse/chronograph/internal/api/Data.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2020 ArSysOp | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* https://www.eclipse.org/legal/epl-2.0/. | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* ArSysOp - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.chronograph.internal.api; | ||
|
||
import java.util.List; | ||
import java.util.function.Predicate; | ||
|
||
/** | ||
* | ||
* Encapsulates the storage of objects to be displayed | ||
* | ||
*/ | ||
public interface Data { | ||
|
||
/** | ||
* | ||
* @param predicate the predicate to filter the bricks | ||
* @return | ||
*/ | ||
List<Brick> query(Predicate<Brick> predicate); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters