reworked container access (never throw, multi-field access, return values, operator), added package storage

This commit is contained in:
gnembon committed 2019-10-13 02:54:18 -03:00
1 parent 8b531834d0
commit 701a717135
12 files changed
+369 -114

No files matched your search

+1 -7
View File
@@ -116,7 +116,7 @@ public abstract class Value implements Comparable<Value>, Cloneable
return getString().compareTo(o.getString());
}
@Override // for hashmap key access
@Override // for hashmap key access, and == operator
public boolean equals(final Object o)
{
if (o instanceof Value)
@@ -124,12 +124,6 @@ public abstract class Value implements Comparable<Value>, Cloneable
return false;
}
// for general use
public boolean equals(final Value o)
{
return this.compareTo(o)==0;
}
public void assertAssignable()
{
if (boundVariable == null || boundVariable.startsWith("_"))