Skip to content

Commit

Permalink
Add 1D primitives.
Browse files Browse the repository at this point in the history
close #48

Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Oct 26, 2017
1 parent 8aa5ecb commit 72fdcf8
Show file tree
Hide file tree
Showing 74 changed files with 8,894 additions and 3,553 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ public Attribute setAttribute(String name, AttributeValue value) throws Attribut
return attr;
}

@SuppressWarnings("unlikely-arg-type")
@Override
public Attribute setAttribute(String name, boolean value) {
assert name != null;
Expand All @@ -359,6 +360,7 @@ public Attribute setAttribute(String name, boolean value) {
return attr;
}

@SuppressWarnings("unlikely-arg-type")
@Override
public Attribute setAttribute(String name, int value) {
assert name != null;
Expand All @@ -382,6 +384,7 @@ public Attribute setAttribute(String name, int value) {
return attr;
}

@SuppressWarnings("unlikely-arg-type")
@Override
public Attribute setAttribute(String name, long value) {
assert name != null;
Expand All @@ -405,6 +408,7 @@ public Attribute setAttribute(String name, long value) {
return attr;
}

@SuppressWarnings("unlikely-arg-type")
@Override
public Attribute setAttribute(String name, float value) {
assert name != null;
Expand Down Expand Up @@ -435,6 +439,7 @@ public Attribute setAttribute(String name, float value) {
return attr;
}

@SuppressWarnings("unlikely-arg-type")
@Override
public Attribute setAttribute(String name, double value) {
assert name != null;
Expand All @@ -458,6 +463,7 @@ public Attribute setAttribute(String name, double value) {
return attr;
}

@SuppressWarnings("unlikely-arg-type")
@Override
public Attribute setAttribute(String name, String value) {
assert name != null;
Expand All @@ -482,6 +488,7 @@ public Attribute setAttribute(String name, String value) {
return attr;
}

@SuppressWarnings("unlikely-arg-type")
@Override
public Attribute setAttribute(String name, UUID value) {
assert name != null;
Expand All @@ -506,6 +513,7 @@ public Attribute setAttribute(String name, UUID value) {
return attr;
}

@SuppressWarnings("unlikely-arg-type")
@Override
public Attribute setAttribute(String name, URL value) {
assert name != null;
Expand All @@ -529,6 +537,7 @@ public Attribute setAttribute(String name, URL value) {
return attr;
}

@SuppressWarnings("unlikely-arg-type")
@Override
public Attribute setAttribute(String name, URI value) {
assert name != null;
Expand All @@ -552,6 +561,7 @@ public Attribute setAttribute(String name, URI value) {
return attr;
}

@SuppressWarnings("unlikely-arg-type")
@Override
public Attribute setAttribute(String name, Date value) {
assert name != null;
Expand Down Expand Up @@ -597,6 +607,7 @@ public Attribute setAttribute(Attribute value) throws AttributeException {
return value;
}

@SuppressWarnings("unlikely-arg-type")
@Override
public Attribute setAttribute(String name, InetAddress value) {
assert name != null;
Expand Down Expand Up @@ -625,6 +636,7 @@ public Attribute setAttribute(String name, InetSocketAddress value) {
return setAttribute(name, (value == null) ? null : value.getAddress());
}

@SuppressWarnings("unlikely-arg-type")
@Override
public Attribute setAttribute(String name, Enum<?> value) {
assert name != null;
Expand All @@ -648,6 +660,7 @@ public Attribute setAttribute(String name, Enum<?> value) {
return attr;
}

@SuppressWarnings("unlikely-arg-type")
@Override
public Attribute setAttribute(String name, Class<?> value) {
assert name != null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ public final class MathFXAttributeNames {
*/
public static final String SECOND_AXIS_EXTENT = "secondAxisExtent"; //$NON-NLS-1$

/** {@code segment}.
*/
public static final String SEGMENT = "segment"; //$NON-NLS-1$

/** {@code types}.
*/
public static final String TYPES = "types"; //$NON-NLS-1$
Expand Down
Loading

0 comments on commit 72fdcf8

Please sign in to comment.