• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

link-intersystems / lis-commons / #228

03 Sep 2023 10:11AM UTC coverage: 89.823% (-0.2%) from 89.982%
#228

Pull #4

renelink
Added java.xml lib to coveralls plugin.
Pull Request #4: Feature/java 11 migration

31 of 31 new or added lines in 5 files covered. (100.0%)

7379 of 8215 relevant lines covered (89.82%)

0.9 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/lis-commons-graph/src/main/java/com/link_intersystems/graph/Node.java
1
/**
2
 * Copyright 2011 Link Intersystems GmbH <rene.link@link-intersystems.com>
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 *     http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16
package com.link_intersystems.graph;
17

18
import java.util.Collection;
19

20
/**
21
 * Represents a node in a graph. Every node has an attached user object that
22
 * carries the information necessary for your concrete use case.
23
 * 
24
 * @author René Link <a
25
 *         href="mailto:rene.link@link-intersystems.com">[rene.link@link-
26
 *         intersystems.com]</a>
27
 * @since 1.0.0;
28
 */
29
public interface Node {
30

31
        /**
32
         * @return the nodes that this node references.
33
         * @since 1.0.0;
34
         */
35
        public Collection<Node> getReferences();
36

37
        /**
38
         * @return the user object that carries the information necessary for your
39
         *         concrete use case.
40
         * @since 1.0.0;
41
         */
42
        public Object getUserObject();
43

44
        /**
45
         * Adds the given node as a reference of this node.
46
         * 
47
         * @param node
48
         *            node to add as a reference for this node.
49
         * @since 1.0.0;
50
         */
51
        public void addReference(Node node);
52

53
        default public Object getUniquenessObject(){
54
                return getUserObject();
×
55
        }
56

57
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc