Package fr.formiko.formiko
Class GGraine
java.lang.Object
fr.formiko.usual.structures.listes.Liste<Graine>
fr.formiko.formiko.GGraine
- All Implemented Interfaces:
Serializable
,Iterable<Graine>
,Collection<Graine>
,List<Graine>
public class GGraine
extends fr.formiko.usual.structures.listes.Liste<Graine>
implements Serializable
List of seeds.
lastEditedVersion 2.23
- Author:
- Hydrolien
- See Also:
-
Field Summary
Fields inherited from class fr.formiko.usual.structures.listes.Liste
head, tail
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmake a copy.Return the seed that have the most givenFood.Return the first oppen seed.getGrainePlusDeGivenFood
(int hardnessMax) Return the seed that have the most givenFood & with hardness > hardnessMax.Return the seed that have the most givenFood & with hardness > ant max hardness.private static GGraine
Return a list with all this class functions.void
tour()
Apply tour() over every seed.Methods inherited from class fr.formiko.usual.structures.listes.Liste
add, add, add, addAll, addAll, addHead, addList, addSorted, addTail, clear, contains, containsAll, equals, filter, get, getFirst, getHead, getItem, getLast, getMost, getTail, indexOf, isEmpty, iterator, lastIndexOf, length, listIterator, listIterator, pop, push, push, remove, remove, removeAll, removeDuplicateItem, removeItem, retainAll, set, setHead, setTail, size, sort, subList, toArray, toArray, toGString, toString, toStringLong, updateTail
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
hashCode, replaceAll, spliterator
-
Constructor Details
-
GGraine
public GGraine()Main constructor.
-
-
Method Details
-
getBetterSeed
Return the seed that have the most givenFood. lastEditedVersion 2.23 -
getGrainePlusDeGivenFood
Return the seed that have the most givenFood & with hardness > hardnessMax. lastEditedVersion 2.23 -
getGrainePlusDeGivenFood
Return the seed that have the most givenFood & with hardness > ant max hardness. lastEditedVersion 2.23 -
getGraineOuverte
Return the first oppen seed. lastEditedVersion 2.23 -
toGg
Return a list with all this class functions. -
copierGGraine
make a copy. lastEditedVersion 2.23 -
tour
public void tour()Apply tour() over every seed. lastEditedVersion 2.23
-